Distributed denial of service (DDoS) attacks are an unfortunate fact of life on the web. These attacks can be hard to stop once they occur, but did you know many dedicated server hosts provide protection against them? This service usually takes the form of a firewall or dedicated proxy, and …
Read More »Tracking emails with Postfix
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 »Creating a test server
Question: I am new to Linux server administration. Is there any way to create a test server without having to buy a new computer or dual boot my Windows machine? Answer: Yes there is a way, and virtualization is the answer. There are many paid virtualization options like Vmware, but …
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 »New $29.5 million Fujitsu data center headed to China
Technology company Fujitsu has announced plans to open a $29.5 million data center in the Guangdong province of China. The firm is also currently building data centers in several other locales, including Perth and Melbourne. In order to make the facility a reality, Fujitsu signed a number of cooperative agreements …
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 »Changing a User's Group in Linux
Question: How do I add a user to a group in Linux? Answer: Now that you have created a new user, you may need to add the user to a special group. To accomplish that, follow these easy steps. 1. Login to your server via SSH. 2. Become root: su …
Read More »