mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
Updated Installing Tracks 2.2.2 on CentOS 6.5 Minimal x86_64 (markdown)
parent
eaa8e5bd6c
commit
71b0b22f58
1 changed files with 199 additions and 183 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
Installing Tracks 2.2.2 on CentOS 6.5 Minimal x86_64
|
# Installing Tracks 2.2.2 on CentOS 6.5 Minimal x86_64
|
||||||
|
|
||||||
Build Overview
|
Build Overview
|
||||||
|
|
||||||
1. Base Operating System
|
1. Base Operating System
|
||||||
|
|
||||||
|
|
||||||
1. Base Operating System
|
## Base Operating System
|
||||||
|
|
||||||
Base CentOS Installation Task Overview
|
Base CentOS Installation Task Overview
|
||||||
* Obtain media
|
* Obtain media
|
||||||
|
|
@ -17,26 +17,26 @@ Base CentOS Installation Task Overview
|
||||||
* Virtual machine?
|
* Virtual machine?
|
||||||
* Update
|
* Update
|
||||||
|
|
||||||
Obtain Media
|
### Obtain Media
|
||||||
If you are new to Linux or new to CentOS minimal installations, I would advise reviewing all the information at the URL below. Otherwise, scroll down and select the download URL under section 2. We will be using x86_64 version, also, known as 64 bit. The 32 bit version *should* work as well.
|
If you are new to Linux or new to CentOS minimal installations, I would advise reviewing all the information at the URL below. Otherwise, scroll down and select the download URL under section 2. We will be using x86_64 version, also, known as 64 bit. The 32 bit version *should* work as well.
|
||||||
http://wiki.centos.org/Manuals/ReleaseNotes/CentOSMinimalCD6.5
|
http://wiki.centos.org/Manuals/ReleaseNotes/CentOSMinimalCD6.5
|
||||||
|
|
||||||
Installation
|
### Installation
|
||||||
Boot from media and, generally, accept the defaults. You have an opportunity to provide time zone, a host name, configure network interfaces, provide DNS IPs, and domain search. If configured at this point, the installation script automatically configures the resulting installation using these settings. It is a time saver, however, I am going to assume either these setting have not been set or changes will be needed.
|
Boot from media and, generally, accept the defaults. You have an opportunity to provide time zone, a host name, configure network interfaces, provide DNS IPs, and domain search. If configured at this point, the installation script automatically configures the resulting installation using these settings. It is a time saver, however, I am going to assume either these setting have not been set or changes will be needed.
|
||||||
|
|
||||||
You may skip to the section titled "Verify Operation" if you complete all the settings using the installation GUI.
|
You may skip to the section titled "Verify Operation" if you complete all the settings using the installation GUI.
|
||||||
|
|
||||||
Basic Configuration
|
### Basic Configuration
|
||||||
Network Interface Settings
|
Network Interface Settings
|
||||||
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-networkscripts-interfaces.html
|
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-networkscripts-interfaces.html
|
||||||
|
|
||||||
The default interface settings will be as follows with the exception that your HWADDR and UUID will differ:
|
The default interface settings will be as follows with the exception that your HWADDR and UUID will differ:
|
||||||
|
```
|
||||||
|
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
|
||||||
|
|
||||||
`[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0`
|
DEVICE=eth0
|
||||||
|
HWADDR=00:0C:29:C5:0D:BD
|
||||||
`DEVICE=eth0`
|
TYPE=Ethernet
|
||||||
`HWADDR=00:0C:29:C5:0D:BD`
|
|
||||||
`TYPE=Ethernet`
|
|
||||||
UUID=0250e398-8918-4e9d-afd7-7ae04258810f
|
UUID=0250e398-8918-4e9d-afd7-7ae04258810f
|
||||||
ONBOOT=no
|
ONBOOT=no
|
||||||
NM_CONTROLLED=yes
|
NM_CONTROLLED=yes
|
||||||
|
|
@ -51,216 +51,232 @@ lo Link encap:Local Loopback
|
||||||
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||||
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||||
collisions:0 txqueuelen:0
|
collisions:0 txqueuelen:0
|
||||||
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)`
|
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||||
|
```
|
||||||
|
|
||||||
If you desire to use DHCP, update ifcfg-eth0 using ONBOOT value from no to yes, save, then restart network services.
|
If you desire to use DHCP, update ifcfg-eth0 using ONBOOT value from no to yes, save, then restart network services.
|
||||||
`[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0`
|
```
|
||||||
|
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
|
||||||
|
|
||||||
`DEVICE=eth0`
|
DEVICE=eth0
|
||||||
`HWADDR=00:0C:29:C5:0D:BD`
|
HWADDR=00:0C:29:C5:0D:BD
|
||||||
`TYPE=Ethernet`
|
TYPE=Ethernet
|
||||||
`UUID=0250e398-8918-4e9d-afd7-7ae04258810f`
|
UUID=0250e398-8918-4e9d-afd7-7ae04258810f
|
||||||
`ONBOOT=yes`
|
ONBOOT=yes
|
||||||
`NM_CONTROLLED=yes`
|
NM_CONTROLLED=yes
|
||||||
`BOOTPROTO=dhcp`
|
BOOTPROTO=dhcp
|
||||||
|
|
||||||
`[root@localhost ~]# service network restart`
|
[root@localhost ~]# service network restart
|
||||||
`Shutting down loopback interface: [ OK ]`
|
Shutting down loopback interface: [ OK ]
|
||||||
`Bringing up loopback interface: [ OK ]`
|
Bringing up loopback interface: [ OK ]
|
||||||
`Bringing up interface eth0:`
|
Bringing up interface eth0:
|
||||||
`Determining IP information for eth0... done.`
|
Determining IP information for eth0... done.
|
||||||
`[ OK ]`
|
[ OK ]
|
||||||
|
|
||||||
`[root@localhost ~]# ifconfig`
|
[root@localhost ~]# ifconfig
|
||||||
`eth0 Link encap:Ethernet HWaddr 00:0C:29:C5:0D:BD`
|
eth0 Link encap:Ethernet HWaddr 00:0C:29:C5:0D:BD
|
||||||
`inet addr:192.168.113.130 Bcast:192.168.113.255 Mask:255.255.255.0`
|
inet addr:192.168.113.130 Bcast:192.168.113.255 Mask:255.255.255.0
|
||||||
`inet6 addr: fe80::20c:29ff:fec5:dbd/64 Scope:Link`
|
inet6 addr: fe80::20c:29ff:fec5:dbd/64 Scope:Link
|
||||||
`UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1`
|
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||||
`RX packets:67 errors:0 dropped:0 overruns:0 frame:0`
|
RX packets:67 errors:0 dropped:0 overruns:0 frame:0
|
||||||
`TX packets:60 errors:0 dropped:0 overruns:0 carrier:0`
|
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
|
||||||
`collisions:0 txqueuelen:1000`
|
collisions:0 txqueuelen:1000
|
||||||
`RX bytes:7680 (7.5 KiB) TX bytes:8493 (8.2 KiB)`
|
RX bytes:7680 (7.5 KiB) TX bytes:8493 (8.2 KiB)
|
||||||
|
|
||||||
`lo Link encap:Local Loopback`
|
|
||||||
`inet addr:127.0.0.1 Mask:255.0.0.0`
|
|
||||||
`inet6 addr: ::1/128 Scope:Host`
|
|
||||||
`UP LOOPBACK RUNNING MTU:16436 Metric:1`
|
|
||||||
`RX packets:0 errors:0 dropped:0 overruns:0 frame:0`
|
|
||||||
`TX packets:0 errors:0 dropped:0 overruns:0 carrier:0`
|
|
||||||
`collisions:0 txqueuelen:0`
|
|
||||||
`RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)`
|
|
||||||
|
|
||||||
|
lo Link encap:Local Loopback
|
||||||
|
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||||
|
inet6 addr: ::1/128 Scope:Host
|
||||||
|
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||||
|
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||||
|
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||||
|
collisions:0 txqueuelen:0
|
||||||
|
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||||
|
```
|
||||||
|
|
||||||
If you are going to use a static IP address, then update ifcfg-eth0 options with values for your network. Note the NM-CONROLLED can be safely ignored ore removed for on CentOS minimal installations, NM or Network Manager is not installed.
|
If you are going to use a static IP address, then update ifcfg-eth0 options with values for your network. Note the NM-CONROLLED can be safely ignored ore removed for on CentOS minimal installations, NM or Network Manager is not installed.
|
||||||
`[root@localhost ~]# cd /etc/sysconfig/network-scripts`
|
```
|
||||||
`[root@localhost network-scripts]# vi ifcfg-eth0`
|
[root@localhost ~]# cd /etc/sysconfig/network-scripts
|
||||||
|
[root@localhost network-scripts]# vi ifcfg-eth0
|
||||||
|
|
||||||
`DEVICE=eth0`
|
DEVICE=eth0
|
||||||
`HWADDR=00:0C:29:C5:0D:BD`
|
HWADDR=00:0C:29:C5:0D:BD
|
||||||
`TYPE=Ethernet`
|
TYPE=Ethernet
|
||||||
`UUID=0250e398-8918-4e9d-afd7-7ae04258810f`
|
UUID=0250e398-8918-4e9d-afd7-7ae04258810f
|
||||||
`ONBOOT=yes`
|
ONBOOT=yes
|
||||||
`NM_CONTROLLED=no`
|
NM_CONTROLLED=no
|
||||||
`BOOTPROTO=none`
|
BOOTPROTO=none
|
||||||
`IPADDR=192.168.113.150`
|
IPADDR=192.168.113.150
|
||||||
`NETMASK=255.255.255.0`
|
NETMASK=255.255.255.0
|
||||||
|
|
||||||
`[root@localhost network-scripts]# service network restart`
|
[root@localhost network-scripts]# service network restart
|
||||||
`Shutting down interface eth0: [ OK ]`
|
Shutting down interface eth0: [ OK ]
|
||||||
`Shutting down loopback interface: [ OK ]`
|
Shutting down loopback interface: [ OK ]
|
||||||
`Bringing up loopback interface: [ OK ]`
|
Bringing up loopback interface: [ OK ]
|
||||||
`Bringing up interface eth0: Determining if ip address 192.168.113.150 is already in use for device eth0...`
|
Bringing up interface eth0: Determining if ip address 192.168.113.150 is already in use for device eth0...
|
||||||
`[ OK ]`
|
[ OK ]
|
||||||
`[root@localhost network-scripts]# ifconfig`
|
[root@localhost network-scripts]# ifconfig
|
||||||
`eth0 Link encap:Ethernet HWaddr 00:0C:29:C5:0D:BD`
|
eth0 Link encap:Ethernet HWaddr 00:0C:29:C5:0D:BD
|
||||||
`inet addr:192.168.113.150 Bcast:192.168.113.255 Mask:255.255.255.0`
|
inet addr:192.168.113.150 Bcast:192.168.113.255 Mask:255.255.255.0
|
||||||
`inet6 addr: fe80::20c:29ff:fec5:dbd/64 Scope:Link`
|
inet6 addr: fe80::20c:29ff:fec5:dbd/64 Scope:Link
|
||||||
`UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1`
|
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
|
||||||
`RX packets:455 errors:0 dropped:0 overruns:0 frame:0`
|
RX packets:455 errors:0 dropped:0 overruns:0 frame:0
|
||||||
`TX packets:293 errors:0 dropped:0 overruns:0 carrier:0`
|
TX packets:293 errors:0 dropped:0 overruns:0 carrier:0
|
||||||
`collisions:0 txqueuelen:1000`
|
collisions:0 txqueuelen:1000
|
||||||
`RX bytes:45176 (44.1 KiB) TX bytes:42738 (41.7 KiB)`
|
RX bytes:45176 (44.1 KiB) TX bytes:42738 (41.7 KiB)
|
||||||
|
|
||||||
`lo Link encap:Local Loopback`
|
lo Link encap:Local Loopback
|
||||||
`inet addr:127.0.0.1 Mask:255.0.0.0`
|
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||||
`inet6 addr: ::1/128 Scope:Host`
|
inet6 addr: ::1/128 Scope:Host
|
||||||
`UP LOOPBACK RUNNING MTU:16436 Metric:1`
|
UP LOOPBACK RUNNING MTU:16436 Metric:1
|
||||||
`RX packets:0 errors:0 dropped:0 overruns:0 frame:0`
|
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
|
||||||
`TX packets:0 errors:0 dropped:0 overruns:0 carrier:0`
|
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
|
||||||
`collisions:0 txqueuelen:0`
|
collisions:0 txqueuelen:0
|
||||||
`RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)`
|
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Network Settings
|
||||||
Network Settings
|
|
||||||
Reference: http://www.centos.org/docs/5/html/5.2/Deployment_Guide/s2-sysconfig-network.html
|
Reference: http://www.centos.org/docs/5/html/5.2/Deployment_Guide/s2-sysconfig-network.html
|
||||||
|
|
||||||
Default settings after installation are as follows:
|
Default settings after installation are as follows:
|
||||||
`[root@localhost ~]# cat /etc/sysconfig/network`
|
```
|
||||||
`NETWORKING=yes`
|
[root@localhost ~]# cat /etc/sysconfig/network
|
||||||
`HOSTNAME=localhost.localdomain`
|
NETWORKING=yes
|
||||||
|
HOSTNAME=localhost.localdomain
|
||||||
`[root@www ~]# hostname`
|
|
||||||
`localhost.localdomain`
|
|
||||||
`[root@localhost ~]# route`
|
|
||||||
`Kernel IP routing table`
|
|
||||||
`Destination Gateway Genmask Flags Metric Ref Use Iface`
|
|
||||||
`192.168.113.0 * 255.255.255.0 U 0 0 0 eth0`
|
|
||||||
`link-local * 255.255.0.0 U 1002 0 0 eth0`
|
|
||||||
|
|
||||||
|
[root@www ~]# hostname
|
||||||
|
localhost.localdomain
|
||||||
|
[root@localhost ~]# route
|
||||||
|
Kernel IP routing table
|
||||||
|
Destination Gateway Genmask Flags Metric Ref Use Iface
|
||||||
|
192.168.113.0 * 255.255.255.0 U 0 0 0 eth0
|
||||||
|
link-local * 255.255.0.0 U 1002 0 0 eth0
|
||||||
|
```
|
||||||
|
|
||||||
Update the "network" file with both the network and fully qualified domain name (FQDN). This will result with a default layer 3 or routing gateway. Note a log off and on or reboot is needed to see 'hostname' updated.
|
Update the "network" file with both the network and fully qualified domain name (FQDN). This will result with a default layer 3 or routing gateway. Note a log off and on or reboot is needed to see 'hostname' updated.
|
||||||
`[root@localhost ~]# vi /etc/sysconfig/network`
|
```
|
||||||
|
[root@localhost ~]# vi /etc/sysconfig/network
|
||||||
|
|
||||||
`NETWORKING=yes`
|
NETWORKING=yes
|
||||||
`HOSTNAME=www.mydomain.com`
|
HOSTNAME=www.mydomain.com
|
||||||
`GATEWAY=192.168.113.254`
|
GATEWAY=192.168.113.254
|
||||||
|
|
||||||
`[root@localhost ~]# service network restart`
|
[root@localhost ~]# service network restart
|
||||||
`Shutting down interface eth0: [ OK ]`
|
Shutting down interface eth0: [ OK ]
|
||||||
`Shutting down loopback interface: [ OK ]`
|
Shutting down loopback interface: [ OK ]
|
||||||
`Bringing up loopback interface: [ OK ]`
|
Bringing up loopback interface: [ OK ]
|
||||||
`Bringing up interface eth0: Determining if ip address 192.168.113.150 is already in use for device eth0...`
|
Bringing up interface eth0: Determining if ip address 192.168.113.150 is already in use for device eth0...
|
||||||
`[ OK ]`
|
[ OK ]
|
||||||
|
|
||||||
`[root@www ~]# hostname`
|
[root@www ~]# hostname
|
||||||
`www.mydomain.com`
|
www.mydomain.com
|
||||||
`[root@localhost ~]# route`
|
[root@localhost ~]# route
|
||||||
`Kernel IP routing table`
|
Kernel IP routing table
|
||||||
`Destination Gateway Genmask Flags Metric Ref Use Iface`
|
Destination Gateway Genmask Flags Metric Ref Use Iface
|
||||||
`192.168.113.0 * 255.255.255.0 U 0 0 0 eth0`
|
192.168.113.0 * 255.255.255.0 U 0 0 0 eth0
|
||||||
`link-local * 255.255.0.0 U 1002 0 0 eth0`
|
link-local * 255.255.0.0 U 1002 0 0 eth0
|
||||||
`default 192.168.113.254 0.0.0.0 UG 0 0 0 eth0`
|
default 192.168.113.254 0.0.0.0 UG 0 0 0 eth0
|
||||||
|
```
|
||||||
|
|
||||||
Hosts Settings
|
###Hosts Settings
|
||||||
Note the current settings.
|
Note the current settings.
|
||||||
`[root@www ~]# cat /etc/hosts`
|
```
|
||||||
|
[root@www ~]# cat /etc/hosts
|
||||||
`127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4`
|
|
||||||
`::1 localhost localhost.localdomain localhost6 localhost6.localdomain6`
|
|
||||||
|
|
||||||
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||||
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||||
|
```
|
||||||
|
|
||||||
To update the host name, update the hosts file as follows:
|
To update the host name, update the hosts file as follows:
|
||||||
[`root@www ~]# vi /etc/hosts`
|
```
|
||||||
|
[root@www ~]# vi /etc/hosts
|
||||||
|
|
||||||
`192.168.113.150 www www.mydomain.com`
|
192.168.113.150 www www.mydomain.com
|
||||||
`127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4`
|
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||||
`::1 localhost localhost.localdomain localhost6 localhost6.localdomain6`
|
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
||||||
|
|
||||||
`[root@www ~]# service network restart`
|
[root@www ~]# service network restart
|
||||||
`Shutting down interface eth0: [ OK ]`
|
Shutting down interface eth0: [ OK ]
|
||||||
`Shutting down loopback interface: [ OK ]`
|
Shutting down loopback interface: [ OK ]
|
||||||
`Bringing up loopback interface: [ OK ]`
|
Bringing up loopback interface: [ OK ]
|
||||||
`Bringing up interface eth0: Determining if ip address 192.168.113.150 is already in use for device eth0...`
|
Bringing up interface eth0: Determining if ip address 192.168.113.150 is already in use for device eth0...
|
||||||
`[ OK ]`
|
[ OK ]
|
||||||
|
```
|
||||||
|
|
||||||
|
### Resolution Settings
|
||||||
Resolution Settings
|
|
||||||
Configure DNS resolution settings. Current setting shown below are a result of using DHCP, initially. Your resolv.conf may differ.
|
Configure DNS resolution settings. Current setting shown below are a result of using DHCP, initially. Your resolv.conf may differ.
|
||||||
`[root@www ~]# cat /etc/resolv.conf`
|
|
||||||
`; generated by /sbin/dhclient-script`
|
```
|
||||||
`search localdomain`
|
[root@www ~]# cat /etc/resolv.conf
|
||||||
`nameserver 192.168.113.254`
|
; generated by /sbin/dhclient-script
|
||||||
|
search localdomain
|
||||||
|
nameserver 192.168.113.254
|
||||||
|
|
||||||
Update resolv.conf providing DNS IP addresses and domain suffix search order.
|
Update resolv.conf providing DNS IP addresses and domain suffix search order.
|
||||||
`[root@www ~]# cat /etc/resolv.conf`
|
|
||||||
`search subdom.mydomain.com mydomain.com`
|
|
||||||
`nameserver 8.8.8.8`
|
|
||||||
`nameserver 8.8.4.4`
|
|
||||||
|
|
||||||
|
[root@www ~]# cat /etc/resolv.conf
|
||||||
|
search subdom.mydomain.com mydomain.com
|
||||||
|
nameserver 8.8.8.8
|
||||||
|
nameserver 8.8.4.4
|
||||||
|
```
|
||||||
|
|
||||||
Verifying Operations
|
### Verifying Operations
|
||||||
Use ping for an incomplete test, but it will verify basic interface, routing, and name resolution operation.
|
Use ping for an incomplete test, but it will verify basic interface, routing, and name resolution operation.
|
||||||
`[root@www ~]# ping www.google.com -c 5`
|
```
|
||||||
`PING www.google.com (74.125.239.48) 56(84) bytes of data.`
|
[root@www ~]# ping www.google.com -c 5
|
||||||
`64 bytes from nuq04s19-in-f16.1e100.net (74.125.239.48): icmp_seq=1 ttl=128 time=9.83 ms`
|
PING www.google.com (74.125.239.48) 56(84) bytes of data.
|
||||||
`64 bytes from nuq04s19-in-f16.1e100.net (74.125.239.48): icmp_seq=2 ttl=128 time=9.05 ms`
|
64 bytes from nuq04s19-in-f16.1e100.net (74.125.239.48): icmp_seq=1 ttl=128 time=9.83 ms
|
||||||
`64 bytes from nuq04s19-in-f16.1e100.net (74.125.239.48): icmp_seq=3 ttl=128 time=13.4 ms`
|
64 bytes from nuq04s19-in-f16.1e100.net (74.125.239.48): icmp_seq=2 ttl=128 time=9.05 ms
|
||||||
`64 bytes from nuq04s19-in-f16.1e100.net (74.125.239.48): icmp_seq=4 ttl=128 time=8.40 ms`
|
64 bytes from nuq04s19-in-f16.1e100.net (74.125.239.48): icmp_seq=3 ttl=128 time=13.4 ms
|
||||||
`64 bytes from nuq04s19-in-f16.1e100.net (74.125.239.48): icmp_seq=5 ttl=128 time=8.25 ms`
|
64 bytes from nuq04s19-in-f16.1e100.net (74.125.239.48): icmp_seq=4 ttl=128 time=8.40 ms
|
||||||
|
64 bytes from nuq04s19-in-f16.1e100.net (74.125.239.48): icmp_seq=5 ttl=128 time=8.25 ms
|
||||||
|
|
||||||
`--- www.google.com ping statistics ---`
|
--- www.google.com ping statistics ---
|
||||||
`5 packets transmitted, 5 received, 0% packet loss, time 4070ms`
|
5 packets transmitted, 5 received, 0% packet loss, time 4070ms
|
||||||
`rtt min/avg/max/mdev = 8.256/9.808/13.490/1.924 ms`
|
rtt min/avg/max/mdev = 8.256/9.808/13.490/1.924 ms
|
||||||
|
```
|
||||||
|
|
||||||
|
###Time Zone
|
||||||
Time Zone
|
|
||||||
After installation, the default time zone is America/New_York. Changing the time can be done several ways. My preference is to first identify the time zone by listing /usr/share/zoneinfo. For example, /usr/share/zoneinfo/America/Los_Angeles, then update /etc/sysconfig/clock.
|
After installation, the default time zone is America/New_York. Changing the time can be done several ways. My preference is to first identify the time zone by listing /usr/share/zoneinfo. For example, /usr/share/zoneinfo/America/Los_Angeles, then update /etc/sysconfig/clock.
|
||||||
`[root@www ~]# cat /etc/sysconfig/clock`
|
```
|
||||||
`ZONE="America/New_York"`
|
[root@www ~]# cat /etc/sysconfig/clock
|
||||||
`[root@localhost ~]# ls /usr/share/zoneinfo/America/`
|
ZONE="America/New_York"
|
||||||
`Adak Coral_Harbour Hermosillo Moncton Santarem`
|
[root@localhost ~]# ls /usr/share/zoneinfo/America/
|
||||||
`Anchorage Cordoba Indiana Monterrey Santiago`
|
Adak Coral_Harbour Hermosillo Moncton Santarem
|
||||||
`Anguilla Costa_Rica Indianapolis Montevideo Santo_Domingo`
|
Anchorage Cordoba Indiana Monterrey Santiago
|
||||||
`Antigua Creston Inuvik Montreal Sao_Paulo`
|
Anguilla Costa_Rica Indianapolis Montevideo Santo_Domingo
|
||||||
`Araguaina Cuiaba Iqaluit Montserrat Scoresbysund`
|
Antigua Creston Inuvik Montreal Sao_Paulo
|
||||||
`Argentina Curacao Jamaica Nassau Shiprock`
|
Araguaina Cuiaba Iqaluit Montserrat Scoresbysund
|
||||||
`Aruba Danmarkshavn Jujuy New_York Sitka`
|
Argentina Curacao Jamaica Nassau Shiprock
|
||||||
`Asuncion Dawson Juneau Nipigon St_Barthelemy`
|
Aruba Danmarkshavn Jujuy New_York Sitka
|
||||||
`Atikokan Dawson_Creek Kentucky Nome St_Johns`
|
Asuncion Dawson Juneau Nipigon St_Barthelemy
|
||||||
`Atka Denver Knox_IN Noronha St_Kitts`
|
Atikokan Dawson_Creek Kentucky Nome St_Johns
|
||||||
`Bahia Detroit Kralendijk North_Dakota St_Lucia`
|
Atka Denver Knox_IN Noronha St_Kitts
|
||||||
`Bahia_Banderas Dominica La_Paz Ojinaga St_Thomas`
|
Bahia Detroit Kralendijk North_Dakota St_Lucia
|
||||||
`Barbados Edmonton Lima Panama St_Vincent`
|
Bahia_Banderas Dominica La_Paz Ojinaga St_Thomas
|
||||||
`Belem Eirunepe Los_Angeles Pangnirtung Swift_Current`
|
Barbados Edmonton Lima Panama St_Vincent
|
||||||
`Belize El_Salvador Louisville Paramaribo Tegucigalpa`
|
Belem Eirunepe Los_Angeles Pangnirtung Swift_Current
|
||||||
`Blanc-Sablon Ensenada Lower_Princes Phoenix Thule`
|
Belize El_Salvador Louisville Paramaribo Tegucigalpa
|
||||||
`Boa_Vista Fortaleza Maceio Port-au-Prince Thunder_Bay`
|
Blanc-Sablon Ensenada Lower_Princes Phoenix Thule
|
||||||
`Bogota Fort_Wayne Managua Porto_Acre Tijuana`
|
Boa_Vista Fortaleza Maceio Port-au-Prince Thunder_Bay
|
||||||
`Boise Glace_Bay Manaus Port_of_Spain Toronto`
|
Bogota Fort_Wayne Managua Porto_Acre Tijuana
|
||||||
`Buenos_Aires Godthab Marigot Porto_Velho Tortola`
|
Boise Glace_Bay Manaus Port_of_Spain Toronto
|
||||||
`Cambridge_Bay Goose_Bay Martinique Puerto_Rico Vancouver`
|
Buenos_Aires Godthab Marigot Porto_Velho Tortola
|
||||||
`Campo_Grande Grand_Turk Matamoros Rainy_River Virgin`
|
Cambridge_Bay Goose_Bay Martinique Puerto_Rico Vancouver
|
||||||
`Cancun Grenada Mazatlan Rankin_Inlet Whitehorse`
|
Campo_Grande Grand_Turk Matamoros Rainy_River Virgin
|
||||||
`Caracas Guadeloupe Mendoza Recife Winnipeg`
|
Cancun Grenada Mazatlan Rankin_Inlet Whitehorse
|
||||||
`Catamarca Guatemala Menominee Regina Yakutat`
|
Caracas Guadeloupe Mendoza Recife Winnipeg
|
||||||
`Cayenne Guayaquil Merida Resolute Yellowknife`
|
Catamarca Guatemala Menominee Regina Yakutat
|
||||||
`Cayman Guyana Metlakatla Rio_Branco`
|
Cayenne Guayaquil Merida Resolute Yellowknife
|
||||||
`Chicago Halifax Mexico_City Rosario`
|
Cayman Guyana Metlakatla Rio_Branco
|
||||||
`Chihuahua Havana Miquelon Santa_Isabel`
|
Chicago Halifax Mexico_City Rosario
|
||||||
`[root@www ~]#`
|
Chihuahua Havana Miquelon Santa_Isabel
|
||||||
|
[root@www ~]#
|
||||||
|
```
|
||||||
|
|
||||||
Once you have identified you time zone, i.e. Los_Angeles, update the clock file.
|
Once you have identified you time zone, i.e. Los_Angeles, update the clock file.
|
||||||
`[root@www ~]# vi /etc/sysconfig/clock`
|
```
|
||||||
`ZONE="America/New_York"`
|
[root@www ~]# vi /etc/sysconfig/clock
|
||||||
|
ZONE="America/New_York"
|
||||||
|
```
|
||||||
|
|
||||||
|
x
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue