Understanding Systemd and How to Use It: Part 1

Systemd has gradually made a name for itself in the Linux world and is or will eventually be the default service management system for a number of major Linux distributions. Those accustomed to the old init systems will not find Systemd to be horribly complex, but it does feature some significantly different approaches to service […]

PHP Troubleshooting Tips

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 […]

Install and Configure APF Firewall on an Ubuntu Server

In a previous post, we learned how to install a basic LAMP server setup on an Ubuntu Server. Once you have Apache, MySQL, and PHP up and running, you should strongly consider reconfiguring your firewall to accommodate it, while still keeping your server secure. While you could labor at iptables configuration manually, […]

Quick-Deploying Cloud VPS Systems

Sometimes you need a dedicated server but do not need the full hardware package. A VPS is great for small server projects that do not require the full power and memory available on the system. Moreover, many cloud companies offer VPS systems that are quick and easily to deploy, charging monthly or even hourly fees […]

Working with Hidden Files in Linux

Linux dedicated servers have a very easy system for making files hidden. In general this is not an ironclad security measure but can be used to prevent users from accidentally disturbing critical configuration directories or files. You might also use it to trim down directories to make only the files you actually need access to […]

Restricting Use of htaccess Files

One of the powerful features available on Apache web servers is the htaccess file. With it users can take some configuration control over their virtual web servers by setting Apache server directives within their own user directories. This allows users to change web server configuration settings without affecting the rest of the sites on the […]

How to Load and Unload Linux Kernel Modules

Linux kernel modules are handy little pieces of the kernel that you can add or remove on-demand, without having to compile them directly into the kernel.  This allows third-party developers to create programs that require kernel-level access but that are not part of the Linux kernel and may not even be open source.  For dedicated […]

Common Linux Server Errors and Solutions

Linux is one of the most popular server operating systems, and it has gradually supplanted Unix as the world’s server OS of choice.  There is no single definitive Linux OS but rather several “distributions” based on the Linux kernel.  Because of this, there are some functional differences; however, most of them have similar commands and […]

4 Things You Can Do When Your Server Is Running Perfectly

Your mother probably once told you, “If it ain’t broke, don’t fix it.”  For many things, that is true, but if you think your dedicated server will always be running as smoothly as it might be right now, you are fooling yourself.  When everything is going well, that is the time to take care of […]

How .htaccess Files Work

Apache HTTP Server is one of the most widely-used web server applications on Linux and Unix-like operating systems. In fact, it is even used more than Microsoft’s IIS web server. One of the unique features of Apache is the ability to add directives that customize the server configuration. You can add directives […]

Webmin Server Management Control Panel

Managing a Linux server, the most common and universal way to access it is directly from the command line console.  If you do not have physical access to the server, as many system administrators do not these days, you will probably use a tool like SSH.  Linux servers do not normally come with graphical interfaces, […]

How to Reconfigure Installed Debian Packages

If you have a dedicated server that runs Debian GNU/Linux or a derivative distribution, such as Ubuntu Server Edition, you should be familiar with apt-get. This is the command you normally use to install, uninstall, and update software packages. A simple installation string looks like this:
# apt-get install packagename
When a package is installed, […]

How to Create a phpinfo Page

A phpinfo page is a simple PHP script that usually only has one line of code:
<? php phpinfo(); ?>
You can create a phpinfo.php file and place it anywhere on any website on your server to view the current PHP configuration. That single line of code will return a plethora of detailed information about your […]

Server Software Behaving Badly

When your dedicated server’s software starts acting up, it may get to the point where you want to trash the whole thing and give up. You should fight that urge, however, and try to find out why the software is giving your server trouble. There are a few routine things you can check […]

Running a Second Instance of Apache

One of the benefits of Apache HTTP Server is that you can run multiple instances of it as virtual hosts (as in shared hosting scenarios). In some cases, you may want a public instance of Apache for an IP address/domain and then another private instance running on a separate port. On […]

Apache Web Server Directives

Apache HTTP Server is the most commonly used web server software for dedicated servers. One of its features that makes it particularly versatile is the ability to add directives to the configuration file. System administrators can add directives to the server’s primary configuration file, and the sys admin can also use a directive […]

What is PHP Safe Mode?

The general term “safe mode” refers to a state in which a software application has been stripped to its bare minimum configuration, usually in order to troubleshoot stability or security issues. Windows users who have experienced any type of serious system anomalies have undoubtedly been forced to boot into safe mode at one time […]