Add Multiple IP's to a Server


To temporarily add additional IP's use the following commands:

ifconfig eth0:### netmask

EX: ifconfig eth0:199 netmask

  • eth0:### can be anything usually the last octet in the IP address
  • netmask is the same unless other specified by Krypt Support
  • If Krypt server is allocated 3 IP addresses, more IP's can be requested by submitting a support ticket

To permanately add the IP address to be bounded upon startup, edit /etc/rc.d/rc.local and copy and paste the above ifconfig command into the bottom of the file.

Method 2:

1. enter"cd /etc/sysconfig/network-scripts"

2. enter "cp ifcfg-eth0 ifcfg-eth0:1"

3. edit the file "vi ifcfg-eth0:1" and modify DEVICE, and IPADDR


4. restart the network service "/sbin/service network restart"




重设MySQL root密码

如果忘记了MySQL的root密码,可以用以下方法重新设置: 1. KILL掉系统里的MySQL进程; killall -TERM mysqld 2....

How to Modify Running Services in CentOS, RedHat, and Fedora Distributions

To enable services in CentOS, RedHat, and Fedora distributions, you can determine a service and...

How to open ports within IPtables in Redhat 3/4/5 & Above | CentOS | Fedora Linux

How to open ports within IPtables in Redhat 3/4/5 & Above | CentOS | Fedora LinuxIPtables...

How to create a partition size larger than 2TB using parted

Linux has a 2TB limit on the partition size. Find the drive you want to partition # fdisk -l...

How to check drive space


Powered by WHMCompleteSolution