All Posts tagged as "server management"

Running Graphical applications within LXD containers

LXD containers provide an isolated environment, which is separate from the main host. Sometimes we may need to run GUI apps from the container. For example during development of desktop applications.

Read

Cron Jobs - Quick Tips

Following are some quick tips related to Cron Jobs:

Read

Linux Server Administration - Quick Tips

Following are some quick tips related to Linux Server Administration:

Read

How To Change Account Passwords on an OpenLDAP Server

To change the LDAP admin password, we need to first save the rootdn account information. We can do this with the command:

Read

Securing Plesk using the Plesk Advisor extension

Plesk is a useful control panel for Windows and Linux based servers. It is used for managing web hosts, users, server security, email and more.

Read

Getting /etc/rc.local file to work on Debian 9 (Stretch)

Debian Stretch uses the rc.local service for executing commands on system startup. To use this service we need to run the following commands:

Read

Installing latest version of Php

PHP is a popular programming language commonly used for building web based applications. Most Linux distributions provide PHP out of the box. However the version of PHP in most cases is not the current stable version.

Read

Upgrading R from version 3.0 to 3.5

R is a free software package for statistical computing. It is part of most Linux distributions. However the latest version of R is not always available. To install the latest version of R we need to add the URL of a CRAN mirror to a file in /etc/apt/sources.list.d.

Read

Upgrading MySQL server from version 5.6 to 8.0

The latest version of MySQL server currently is 8.03. To upgrade MySQL server from a previous version we need to ensure that we are upgrading from the last stable release. For example from version 5.7 to 8.0.

Read

Upgrading from Debian Jessie to Debian Stretch

Debian 9, also known as Debian Stretch is currently the latest stable version of the Debian operating system. It was released on 17th June 2017 as successor to Debian 8 also known as Debian Jessie.

Read

Backing up and restoring LXD containers

LXD containers can be backed up by creating snapshots or by creating an image from the container. The first method which is creating snapshots is useful for taking quick incremental backups of containers. However it does not provide a full backup. The second method allows creating full backup.

Read

Securing Linux servers with SeLinux, ClamAV, SpamAssassin and RkHunter

Securing your servers is a very important task that can save your organization a lot of problems. Recently there have been a lot of cases where insecure servers belonging to high profile organizations have been exploited and used for nefarious purpose. It is therefore important to secure your servers.

Read

Running multiple versions of mailx command

Certain commands in Linux can be provided by multiple packages. The command provided by each package may differ. For example the mailx command is provided by the bsd-mailx package as well as the heirloom-mailx package. The mailx command provided by the packages use different command line parameters.

Read

Resizing Linux root partitions without unmount on Google Cloud

Virtual machines often run out of disk space and require resizing. Resizing root partitions without unmounting is always risky. It is recommended to take a backup of the partition's useful data before resizing the partition.

Read

Installing HumHub and Communote on Debian Jessie

HumHub and Communote are both web based social network platforms that allow teams and small organizations to communicate and collaborate using Activity Streams, Messaging, Blogging, Tagging and more. HumHub is based on the Yii Php Framework, while Communote is written in Java.

Read

Setting up your own Content Delivery Network using Bind DNS

Recently I worked on constructing a simple Content Delivery Network using Bind DNS. I will share my experience in this blog post. Bind DNS is an open source DNS server. It is the most widely used DNS server. DNS is one of the building blocks of the internet. The main use of DNS is to translate domains names to IP Addresses. DNS also has other uses such as securing email.

Read

Server Monitoring with Munin

Server monitoring is a useful task that is performed by server administrators. Server monitoring involves keeping a check on the various parts of a server such as its CPU, Memory, Hard Disk, Network Traffic, Services and more. Server monitoring can avoid problems that can disrupt services.

Read

Backup your data!

Recently I had the misfortune of losing months of precious work. This blog post is about my unlucky experience of loosing data. Hopefully it reminds the I.T people who read this article about the importance of a good backup.

Read

Closing Unnecessary email accounts

If you want to keep your email organized, then it might be a good idea to have just one email account. Recently I decided to organize my email by closing email accounts that I don't use frequently. This article provides some points on how to organize your email.

Read

Monitoring CPU and Memory usage on Linux

CPU and Memory monitoring is an important system administration task. It provides valuable information that can be used in resource planning and alert notifications.

Read

Finding CPU usage using top command

The top command can be used in combination with bash tools to find CPU usage. The article: Finding CPU usage from top command describes how to find CPU usage using the top command.

Read

Monitoring RAM usage on server

The RAM on a server can be monitored using /proc/meminfo and awk commands. /proc/ is a special file system created by the Linux kernel which contains kernel related information such as CPU and memory usage. /proc/meminfo contains information about memory usage.

Read

Configuring Apache to process html files as php

To allow Apache web server, to process files ending with .html as PHP files, we need to do two things. First we need to set the content-type http header for .html files to text/html. Secondly, we need to tell the Apache web server to process HTML files as PHP files.

Read

Server Migration with Plesk

Plesk is a commercial platform for managing website hosting. The cost of using Plesk depends on the number of domains to be managed, type of hosting (dedicated or VPS), addon products such as anti virus etc. Plesk allows managing FTP, Email, web site hosting, DNS and more.

Read

Samba - An open source File Server and Active Directory Controller

Recently I had the task of setting up central user management for Windows servers. This blog post describes my experience with trying to setup central user management for Windows servers in an open source Linux based environment.

Read