Posts Tagged ‘How to’
How to secure SSH in your server ?
1) Set a very strong password, keep it in your mind but dont write in somewhere.
2) Disable direct root login
emacs /etc/ssh/sshd_config
Search for
More »
How to open and close port in iptables ?
Few of very simple steps
1) Login using root
2) Enter following command to open port in iptables
iptables -A INPUT -p tcp --dport 25 -j ACCEPT
3) Enter following command to close port in iptables
More »
How to install Active Directory on Windows Server 2008
Unlike previous version of windows, there is an additional step requires to install before we go to dcpromo to promote the server to domain controller and install active directory. This additonal step is to enable active directory domain services role on server, and after that we proceed to dcpromo
Method to add role is very simple
1) Just open Server Manage, by right clicking on “My computer” and then click on “Manager”
2) click on “roles” from left tree, then click on “Add role” at right side.
How to remove drweb from plesk ?
One simple command do this
For Centos/Fredora
yum remove drweb-base drweb-bases drweb-common drweb-daemon drweb-updater psa-drweb-configurator
For Debian/Ubuntu
More »
How to move MySQL to second drive
If you ran out of space in your primary drive and wish to move MySQL to another drive then here is a simple procedure. Moving MySQL to another drive is very easy then it look.
1) Find out mount point of secondary drive. If drive is not mounted yet then you can get help from article “How to mount drive in CentOS”
You can run below command to find mount point of secondary drive
More »