Cron is one of the outstanding features in Linux and Unix-like operating systems that many system administrators love. It provides a full range of automation capabilities by allowing admins to schedule programs, scripts or other processes for any time of any day. Allowing other users to do this, however, can pose a security risk. Therefore, […]
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 […]
Cron is a Linux daemon that runs specified programs at precise times throughout the day, week, month, or even year. You can setup a cron job to automate any tasks on your server. Cron.daily is a directory on some Linux servers that runs all scripts or links to scripts within it at the same time […]
With the emergence of dynamic websites, most sites on your dedicated server probably use some form of database. Chances are, if a site uses a database, it is running on MySQL or other SQL server. It is no longer sufficient for system administrators or even individual website owners to only backup the contents of a […]
Last week we looked a YUM’s update settings and found a way to make it send email notifications when updates are available. You can accomplish the same setup with APT for Debian-based Linux distributions. The benefit of doing this is to have apt-get do nothing but notify you when updates are available, rather […]
We all know that server maintenance is important, but how many of us really take the time to stop and think about it? Because it is so easy to forget a particular task, it is crucial to your dedicated server’s health that you keep a regular routine for maintenance.
In some cases, certain parts of […]
Linux dedicated servers store logs in plain text files, often kept in the /var/log directory. The web server, for example, has a single file for the log, and as events are logged, they are appended to the end of the file, usually indicating the date and time of the event.
Over time, a log file […]
Most websites these days rely on content management systems, blogging software, and other types of web applications and scripts to update, manage, and configure them. Rather than static HTML pages stored in the user’s home directory, most content is now stored in databases.
As a dedicated server administrator, it is imperative that you have backups […]
PHP is a versatile tool that millions of sites use to power their content management systems and user interfaces. Its flexibility and dynamic nature make it deal for the era of the Internet that has been dubbed “Web 2.0”. It is, therefore, no surprise that the highly praised LAMP (Linux+Apache+MySQL+PHP) stack includes PHP.
Few things are more important to a dedicated server than incremental backups. When your server is your livelihood and your reputation depends on it being reliable, you need to be prepared for possible disasters. Backups ensure that you always have a plan B, should something go wrong with your server.
To perform backups, you […]
In a previous post, I explained an easy method for scheduling tasks on a Linux server using cron jobs. On a Windows server, there is a similar process that allows you to schedule programs to run at specified times.
Task automation is a very important part of running a dedicated server because it minimizes the […]
In a previous post, I explained the wonderful benefits of using Cron to schedule backups, log rotations, and any other task that can be automated. Cron makes automation very easy. There are times, however, when you will want to schedule a task but only want it to run once. A good […]
For the next couple of days, we will focus on searching. There are a few ways to search for files on a Linux server. Some are more in-depth than others. The tool called locate relies on a database backend for fast searching. The database must index the filesystem, and then the […]
Running a dedicated server can be time consuming. There are a myriad of logs, services, and users to check and recheck. Any automation you can setup will greatly reduce your daily, weekly, and monthly work load. Cron is a handy way to automate tasks, as we have previously demonstrated.
MySQL databases, in particular, […]
Cron is a Linux service that runs in the background. On a dedicated server, cron is extremely valuable because you can automate repetitive commands and tasks. For example, if you want a certain log to be purged every day, you can create a script to perform the task and then tell cron to […]