Howtos / Articles

How To Change The SSH Server Port Number

Changing the port number that your SSH server listens on is a simple way to prevent random brute force login attacks against your server. While people can still perform attacks against SSH running on a different port number, most automated tools will default to port 22, and not actually do a full port scan. Any port number can be used, as long as it is not already in use by another service. Note: Make sure you are logged in as…

Read more [...]

How To Disable root Logins Over SSH on Ubuntu

Most Linux distributions allow the root user to connect in via SSH, however if you try to connect into Ubuntu as root after a default install, you will find that you wont be able to get in. While it may look like the root account is not permitted to login, it is just because that the root account doesn’t have a password set. If you end up setting a password on the root account for some reason, you will be…

Read more [...]

How To Disable IPv6 on Ubuntu

A default install of Ubuntu will enable IPv6 connectivity. If you don’t need IPv6, there is no need to have it enabled. Follow the steps below to disable IPv6 on a Ubuntu install. Check to see if you’re installation is currently set up for IPv6: $ cat /proc/sys/net/ipv6/conf/all/disable_ipv6 If the output is 0, IPv6 is enabled.
If the output is 1, IPv6 is already disabled. Edit the /etc/sysctl.conf file to set the kernel parameter to disable IPv6: $ sudo nano…

Read more [...]

Updating Ubuntu with the APT package manager

Updating the software running on a operating system is an important part of maintaining a computer. Not only does it allow you to keep up to date with the latest features in the applications you use, it is also crucial to keep your system as secure as possible. The APT (Advanced Package Tool) package management system makes installing/updating/removing packages extremely simple. The first step in the process is to update the APT sources. This downloads the latest package lists, so…

Read more [...]

Installing NGINX, PHP, and MySQL on Ubuntu 10.04 LTS

Nginx (pronounced Engine-X) is a fast & lightweight HTTP and HTTPS web server (it can also act as a reverse proxy, and perform load balancing). Its small memory footprint requirements make it great for systems with small amounts of memory, such as low end cloud servers. Nginx is great for serving static files to users, and is cable of handling more than 10,000 simultaneous connections, but it lacks the embedded module support for PHP as Apache does. Thankfully you can…

Read more [...]

Page 6 of 71234567