some useful linux commands for servers

just for personal records

multi user config

after adding user detail
do /sbin/iptables -I INPUT -p tcp --dport port_name -j ACCEPT #port_name
this is to open the corresponding port
after this restart shadowsocks using /etc/init.d/shadowsocks restart