Tag: Server Administration
-
Transfer files from a specific directory using wget via SSH
If you want to transfer files from one server to another in less than a few minutes or in seconds (1GB file or lower), then use wget via SSH. I’ve been using this since I was born and I would like to share it to everyone who’s not using it yet. You can transfer a…
-
Zip files via SSH and copy it to another folder or server
If you files and directories in your server via SSH, just type the command below: zip -r zipfilename.zip folder Just replace the folder with the folder name you are targetting or use * if your currently in the folder. If you want to quickly zip all files and folders individually in your server via SSH,…
-
Whitelist an IP address in your server via SSH
One day, one of my blog readers can’t access my site. I wondered why and how come she can’t access it but I can. I also asked other readers, and they can. If this happens to you, just like what happened to me, maybe that specific user was blacklisted by your host. In order for…
-
Change your PHP handler from mod_php (DSO) to suPHP
Finally, I decided to change my server’s PHP handler to suPHP from mod_php. It’s more secure and I can update my plugins and WordPress files automatically without annoying permission errors. Here’s what my php config looks like after the update: php.conf updated to: # This file was automatically generated by the Cpanel PHP Configuration system…
-
CHMOD folders, sub-folders, sub-sub-folders, and so on
If you recently changed your PHP handler to suPHP from mod_php or DSO, then you need to CHMOD all your folders, its sub-folders, sub-sub-folders, and so on to 744 to avoid any internal server errors, specifically internal server 500 errors. And also, you need to CHMOD all of your files to 644. In order to…