...
Tip |
---|
mkdir /root/.ssh |
Tip |
---|
scp /etc/vcl/vcl.key.pub <hostname or IP address>:/root/.ssh/authorized_keys |
Tip |
---|
ssh-copy-id -i /etc/vcl/vcl.key <hostname or IP address> |
Tip |
---|
ssh -i /etc/vcl/vcl.key <hostname or IP address> |
...
Tip |
---|
cd /etc/sysconfig/network-scripts |
Tip |
---|
rm -f /etc/sysconfig/network-scripts/ifcfg-*.bak |
Tip |
---|
vi ifcfg-eth0 |
Tip |
---|
vi ifcfg-eth1 |
No Format |
---|
DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes |
No Format |
---|
DEVICE=eth1 BOOTPROTO=dhcp ONBOOT=yes |
Tip |
---|
shutdown -r now |
Tip |
---|
ls /etc/sysconfig/network-scripts |
Tip |
---|
cat /etc/sysconfig/network-scripts/ifcfg-eth0 |
Tip |
---|
cat /etc/sysconfig/network-scripts/ifcfg-eth1 |
Include Page | ||||
---|---|---|---|---|
|