save baseline configuration for vps

Before you install new software, especially big software packages such as kloxo-mr, zpanel,etc., it is a good habit to save current system settings so that you can compare them with the settings after those packages are installed. With the baseline configuration of current system, it is easier to debug the problems brought by newly installed  software. You can record the current system situation by saving the output of the following commands:

chkconfig –list > chkconfig–list

netstat -tulpn > netstat-tulpn

netstat -antp > netstat-antp

service –status-all > service–status-all

iptables-save > iptables-orig

yum list installed > yumlistinstalled

ps aux > psaux

df > df

top  >  top

ls > /root/ls


Posted in tips of hosting