Question: I am noticing some problems with my email server, Postfix. Is there a way to track emails? Answer: While you should definitely not use this for purpose of spying, it is sometimes necessary to track all emails on a server, even if you have multiple users on it. Sometimes …
Read More »Find out which users are logged in
Question: How do I find out which users are logged in to my Linux server? Answer: To find out who is logged on to your server, you can run a very simple command: who You will need to login to your server via SSH order to run this command. This …
Read More »Restoring a huge MySQL database
Question: I have a shared hosting account but need to import a 3GB MySQL database. I do not have shell access, and phpMyAdmin always times out. How can I restore it? Answer: You can use a script called BigDump to import your dumped MySQL database a little at a time. …
Read More »How to troubleshoot an Internal Server Error
Question: My CGI script is giving me a 500 Internal Server Error. What should I do? Answer: It is one of the most dreaded errors Apache can throw at you: the 500 Internal Server Error. When you get it, you often have no idea what caused it or why. Here …
Read More »Getting rid of crontab emails
Question: How do I stop crontab from sending me emails after a cron job finishes? Answer: In Linux the default setting for crontab is to send an email to the owner after a cron job finishes. An easy way to change this is to reroute those emails into nothingness, which …
Read More »Video explains cloud computing
Confused about what cloud computing is, or need an easy way to explain the new technology to a friend or coworker? The above video does a great job of introducing the topic without being too mundane. Cloud computing is great for business because of its scalability. No matter how much …
Read More »How to defend a virtual private server from hackers
Email forms are a common way for hackers to send spam. If you use email forms such as Matt’s script (often known as FormMail) or other similar mail scripts, your server could be vulnerable to attacks. If you have clients or simply other users creating sites on your server, you …
Read More »How to open and close ports with iptables
Question: How do I open and close ports with an iptables firewall setup? Answer: You can easily open ports on a dedicated server with these simply commands. Depending on whether you need to open a UDP or TCP port, use one or both of the following: iptables -A INUPT -p …
Read More »Deny Access to Any Files
Question: I have a set of files on my website with the extension .rpc. They are financial files, and I want to make sure that no one can access them from the web. Can i do that? Answer: On an Apache server, you can do just about anything, and .htaccess …
Read More »How to Save Bandwidth with .htaccess
Question: My dynamic PHP-driven site is popular and is using a lot of bandwidth. What can I do to save that precious bandwidth? Answer: Those of you who have to worry about bandwidth should really consider yourselves lucky. It means that your website has been more successful than the majority …
Read More »