Ubuntu is well known for being one of the most popular Linux-based desktop operating systems, but it is also become popular for server usage as well. The highly-acclaimed cloud platform OpenStack is built around Ubuntu, and many web hosts now offer it as an option for their VPS and dedicated server clients. This brief tutorial […]
Archive for January, 2014
You do not have to pay big money to stream video or audio over the Internet. If you already have a dedicated server or VPS, you can use VLC to stream media to your users.
VLC is a free and open source video player and streaming media server. On the client side, you can use it […]
Many Linux operating systems offer the ability to upgrade to a new version of the OS without wiping the hard drive and reinstalling. On a dedicated server, you might call this an in-box upgrade. Generally, a new version of your Linux distribution will include a newer kernel version and newer software. Is such an upgrade […]
Overselling is not a new concept. Every web hosting company that offers “unlimited” anything (bandwidth, disk space, etc.) is overselling. There is always a limit, even if they do not tell their customers. Their bet is that at least some customers, maybe even most, will not use up all the resources at once. It […]
In a previous post, we highlighted some of the benefits of tunneling with SSH. Now, you will learn how to use an SSH tunnel to connect to MySQL remotely. With this method, you will connect to SSH, forwarding all information on port 3306 (the MySQL port) through this encrypted connection.
To get started, connect via SSH: […]
SSH tunneling is a method of connection that, as the name implies, tunnels your information stream through SSH. The result is an encrypted and secure transaction, even if the standard connection method itself is not normally secure. Many system administrators may use SSH tunneling for file transfer, database management and many other tasks.
The benefits […]
PHP is a versatile server side scripting language that powers many of the world’s websites. Sometimes, however, things can go wrong. The following are tips to help you troubleshoot your PHP installation.
Scripts do not execute – If you load a PHP page and see the contents of the file rather than the proper […]
A common problem you might face when running PHP scripts is an “out of memory” error. It usually looks something like this:
PHP Fatal error: Out of memory (allocated 51795435) (tried to allocate 84524 bytes) in /home/user/public_html/randomdirectory/file.php on line 750
First, it is important to understand what this error means. PHP is configured to only allow a […]
The “Information Age” has left us with more information than we can easily handle. As a result, storage has become an industry in itself, and it is no longer just for backup and recovery. Simple access and retrieval can be difficult when you have terabytes of data to deal with. Virtualization has presented its own […]
Most modern websites are dynamic in nature. They are updated on the fly, rely on database backends and often feature some type of support for user interaction. While those aspects of dynamic websites are all positive, the negative side is that they require more system resources, especially memory. A more resource-intense web application can slow […]
When something is nagging your CPU or chugging lots of RAM, many system administrators turn to a Linux/Unix tool called “top”. But what can you use to identify a program that is doing more than its fair share of hard disk drive reading and writing? For that, you need a program called iotop.
Iotop is […]