Send System Messages to Server Users

If your server has multiple users, you might want an easy way to send messages to them and make sure they receive them. The best way to do that is to send it right in the console. One tool you can use to do just that is “wall”. With it, you can send messages […]

Linux/Unix Terms You Should Know: Part 2

In part one, we looked at some of the important terms a new system administrator should know when starting work on a Linux server. These next terms are equally important and will help you along the way as you begin to learn more about your server.
man – This command, short for manual, gives you […]

Manage Multiple Servers Simultaneously with Cluster SSH

SSH (Secure Shell) is a powerful command-line tool that allows you to securely manage your dedicated server from a remote location. If you have more than one server, however, it can become tedious to have to SSH into each one and make identical changes.
Cluster SSH is a software utility that gives you […]

Write a Basic Bash Script to Simplify Server Operations

Linux comes with a very powerful tool built into it. It is called the shell. Bash is one version of the shell that is very popular with Linux distributions. If you can learn even basic Bash scripting, you can simplify and automate a lot of tasks you would normally have to manually perform on your […]

How to Create and Change Linux System Passwords

Server and website security seems to be in the headlines often lately with news of government surveillance and the heartbleed exploit in SSL. More than ever, it is important that you have a strong password. If you need to change your password on your Linux dedicated server or virtual private server, this guide should help […]

How to Install Softaculous in cPanel/WHM

Softaculous is a handy add-on for cPanel that gives your users the ability to quickly and nearly effortlessly install web application scripts. You can administer it through WHM, but once it is installed, any of your cPanel users can do one-click script installations. Installing Softaculous is relatively easy. Just follow these steps.
First, you should make […]

Glances System Monitoring Tool for Linux

There is certainly no shortage of system monitoring tools for Linux. If you are the type who likes to know exactly what is going on with your server, Linux is probably ideal for you. Many of these tools are very specific, focusing on one or two aspects like CPU, Memory or Disk usage. Others cover […]

Manage a KVM Guest with Virsh

KVM is a Linux-based virtualization system that allows you to virtualize a wide variety of operating systems and environments. When you want to manage your virtual machines or guests, you can use a program called virsh. As a command line tool, you can use virsh to manage guests and the hypervisor. It is built on […]

Obsolete Networking Apps You Should Never Use

Server management is a constantly evolving science. What was once perfectly acceptable technology for a dedicated server may now be considered obsolete. Such is the case with four technologies you should probably avoid on a server you intend to use for hosting websites.
FTP – This is one technology that is still widely used but […]

3 More Differences Between Linux and BSD

In the first post on this topic, we looked at 3 key differences between Linux and BSD: the licensing, the kernel, and the package management system. The following are three more differences you should probably know.
1. Hardware support – In many cases Linux supports hardware sooner and more often than BSD. This is partly […]

Quick Bash Command Tricks

Bash is the common shell environment used on Linux servers. If you manage a server, there is a good chance you will need to drop to the command line at some point and encounter Bash or one of its alternatives. The following are some basic commands that can help speed up your bash experience.
Reload […]

How to Remove MySQL Databases and Users

You may spend a good portion of any given day adding users and databases to your MySQL server, but you might not spend much time removing them, even after you or your users no longer need them. Nevertheless, it is very important to not leave unattended databases and users lying around for would-be attackers […]

How to Find Things in a MySQL Database

Most modern websites run on some type of dynamic content management system. Many of them are powered by MySQL databases. In the event that you need to manually search for some information, there are two primary ways that you can search your database: 1) the MySQL command-line interface, and 2) a web-based interface like phpMyAdmin.
Command […]

A Basic Guide to SSH Server Connections: Part 1

Many system administrators have taken a liking to web-based control panels to manage their dedicated servers. While a control panel certainly has its benefits in some situations, there are still some areas of server management where there is no substitute for having shell access. SSH allows you to remotely connect to your server’s shell, providing […]

Useful Keyboard Shortcuts for Bash

When you manage a dedicated server, you will almost certainly spend a considerable amount of time working from the command line, probably via SSH. If so, you will encounter Bash or a shell similar to it. While you can accomplish pretty much anything with various commands, you can increase efficiency by learning some of the […]

How to Manage MySQL Users in Webmin

In a previous post, we looked at some of the ways in which you can manage a MySQL user from the mysql command-line prompt. Today, you will learn about managing MySQL users from within Webmin’s web-based control panel.
To begin managing MySQL in webmin, do the following:

Login to webmin and find the section called “Servers”
Click “MySQL […]

MySQL User and Password Management

As you manage your dedicated server, you will invariably come across times when you need to reset passwords, add or delete accounts, or generally perform maintenance on your database users. When working with MySQL, there are a couple of simple ways to manage user accounts. The first involves accessing it from the command line, while […]

List All Linux Commands with Compgen

A Linux dedicated server is all about commands. At some point, you will inevitably need to manage it from SSH (Secure Shell), which means you will be presented with a command line interface. While you may already know some commands, it is nice to see what the server offers as a whole. You can do […]

3 Ways to Configure Services to Start at Boot in CentOS: Part 1

On Linux dedicated servers, you can configure services or daemons to start at boot. This means that the programs will start running as soon as your server starts and, ideally, continue to do so as long as the server remains operational. We will look at three distinct ways to configure boot-time services: from the command […]

How to Run Virtualbox in “Headless” Mode

In previous posts, we learned how to use Virtualbox to create a virtual machine, install a guest operating system, and then use the VM as a test server. Now that you know how to make a test server, you might want to know how to run it on a […]

CP (Copy) File Settings in Linux and Unix

Many of today’s dedicated servers run Linux distributions (such as CentOS) or Unix-like operating systems (such as FreeBSD). Therefore, it is very important to be familiar with Unix commands and how to get the most out of them, even if you spend most of your time managing your server from the comfort of a web-based […]

Back to the Basics #12: Hosting Automation

Hosting Automation refers to software that makes web hosting as easy as clicking buttons on a graphical interface. For those who have worked with naked Linux or Unix servers, this is a dramatic contrast from the command line interface to which you may be accustomed. Most hosting automation comes in the form of a web-based […]

Back to the Basics #11: Secure Shell (SSH)

If you are new to dedicated servers, your primary experience with hosting management has probably been from within the comfortable pages of a web-based control panel. Without a doubt, control panels like cPanel/WHM provide system administrators with robust tools to tackle most of the issues they may encounter. Nevertheless, there will still be times when […]

How to Copy All of the Tables from One Database to Another

Under normal circumstances, one of the easiest ways to copy the contents of one MySQL database to another is to use phpMyAdmin to dump the database to a file. You can then import the contents into your destination database. This usually works, but I recently encountered a situation where phpMyAdmin could not handle a particularly […]

Lessons Learned from Dedicated Server Management

In my years of managing Dedicated Servers, I have picked up a few tidbits of wisdom along the way. Not all of this wisdom will apply to every server in every situation, but hopefully you will take something useful away from this.

Rebooting will not solve everything. In my early server days, I used […]

How to Create Cron Jobs with Webmin

Webmin is a web-based system administration tool for Linux and other Unix-like servers. Webmin provides a graphical interface for many of the tasks you would normally have to perform from the command line. Best of all, it is free and open source. One task you might have trouble performing from the Linux shell […]

How to Add and Drop MySQL Users

Most MySQL users manage their databases using some type of graphical user interface (GUI), whether it is a web-based tool like phpMyAdmin or a desktop tool like MySQL Administrator. For a dedicated server system administrator, however, there are times when it may actually be more convenient to use queries in the MySQL text-only command line […]

The Benefits of the Shell over Control Panel Administration

Using a web-based control panel is the ultimate convenience for dedicated server system administrators. Many of the tasks that once took multiple commands or even complex scripts to run can now be accomplished with a few clicks. Control panels also provide visual interfaces for those who have grown up in the era of graphical computing. […]

Do I Really Need a Hosting Control Panel?

Web hosting control panels provide graphical interfaces for both system administrators and virtual hosting users, allowing them to perform simple or even complex tasks with points and clicks rather than typing in commands. For some, the introduction of control panels, particularly for Unix and Linux servers, was a godsend. For others, however, it may just […]

Should Shared Hosting Customers Have SSH Access?

Over at The Hosting News, we asked the question, “Do you need SSH with shared hosting?” This is a common question among shared hosting users, particularly those who are more adept at technologly. Here at Server School, we focus on dedicated servers, so the question for you is different. Should shared hosting customers have […]