by Aromal Rajagopal | Jan 12, 2010 | Quick fixes, Technical |
Issue : How to find files containing a specific word and store the results in another text file ? Solution : Use the following command : grep -R word /directory/* > filename Use -iR instead of -R for case insensitive search. This approach will take some time depending...
by Aromal Rajagopal | Dec 5, 2009 | Articles and tutorials, Technical |
Sometimes, permissions might get screwed server wide resulting in various problems for different users. Here are some steps to reset the permissions. /scripts/checkbsdgroups — Checks and repairs proftpd ownership on FreeBSD. /scripts/chownpublichtmls —...
by Aromal Rajagopal | Nov 26, 2009 | Quick fixes, Technical |
Issue : How to change the default port for SSH? Solution : Open the port (which you want to use for SSH) in the server firewall and restart the firewall to apply the change. Then, open the configuration file /etc/ssh/sshd_config using your favorite editor and change :...
by Aromal Rajagopal | Nov 23, 2009 | Quick fixes, Technical |
Issue : How to change the IPs of multiple accounts on a server in one go? The option in WHM is tedious. Hence, it does not serve the purpose. Solution : You need to have ‘root’ SSH access in order to do this. Create a file and put the concerned accounts in...
by Aromal Rajagopal | Nov 21, 2009 | Quick fixes, Technical |
Issue : When you create a sub-domain, cPanel points it to the corresponding folder under public_html by default. How to point it to a folder outside the public_html? Solution : This cannot be done via cPanel/WHM but can be achieved if you have ‘root’ SSH...