Grafana Installation\OracleLinux
From r00tedvw.com wiki
(Difference between revisions)
(Created page with "==Overview== Grafana Installation on Oracle Linux 6.8 ==Network Config== If you installed the basic package, most likely the NIC is not configured for DHCP. try:<br> <nowiki...") |
|||
Line 31: | Line 31: | ||
Change it so it automatically starts and connects on boot | Change it so it automatically starts and connects on boot | ||
<nowiki>ONBOOT=yes</nowiki> | <nowiki>ONBOOT=yes</nowiki> | ||
+ | |||
+ | ==Sudoers Config== | ||
+ | Personally I prefer to use a group for sudoer management. | ||
+ | <nowiki># groupadd sudo</nowiki> | ||
+ | Now we can add the group to the sudoers file | ||
+ | <nowiki># visudo | ||
+ | Add the following under the entry for root | ||
+ | |||
+ | ## Allows members of the 'sudo' group to run all commands anywhere | ||
+ | %sudo ALL=(ALL) ALL</nowiki> |
Revision as of 11:29, 21 September 2016
Contents |
Overview
Grafana Installation on Oracle Linux 6.8
Network Config
If you installed the basic package, most likely the NIC is not configured for DHCP. try:
User ~ $ system-config-network
Once DHCP is configured, the next step is to restart the NIC.
User ~ $ ifdown eth0 User ~ $ ifup eth0 Determining IP information for eth0... done. User ~ $ifconfig eth0
Make sure your hostname is defined in /etc/sysconfig/network
HOSTNAME=server.fqdn.com
Also for the network config, put your FQDN in the hosts file @ /etc/hosts
127.0.0.1 server.fqdn.com ::1 server.fqdn.com
connect on boot
By default the network interface comes turned off on boot.
~$ sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:0c:29:4f:09:c8 TYPE=Ethernet UUID=5eed1f7e-74da-4841-b03b-3d4cc0812ade ONBOOT=no NM_CONTROLLED=yes BOOTPROTO=dhcp USERCTL=no PEERDNS=yes IPV6INIT=no
Change it so it automatically starts and connects on boot
ONBOOT=yes
Sudoers Config
Personally I prefer to use a group for sudoer management.
# groupadd sudo
Now we can add the group to the sudoers file
# visudo Add the following under the entry for root ## Allows members of the 'sudo' group to run all commands anywhere %sudo ALL=(ALL) ALL