Administrate a LAMP Web server

Web is the most common service that an ordanization provides to its employees and public. Many mordern web publishing technology is based on database and php.

This section describes an example of building a LAMP Web server and how to set up Tikiwiki, user based wordpress (blogger) and drupal(CMS).

Sendmail as SMTP client

There are situations that you configured a desktop computer to send out emails such as alerts like raid failure or notifications but realized your organization's email servers blocked your emails for various reasons. This is understandable unless your organization's mail server is an open relay that is vulnerable to spammers :)

Example of such error message:

Administrate a Linux Beowulf cluster

In scientifc computing, the demand of more CPU power can be never satidfied. A linux beowulf cluster is the way to meet partially this need with limited budget.

This section describes an example of building a two node Linux Beowulf cluster, and examples of managing the job queueing system.

Administrate a storage server

A storage server is also considered as a special Network Attached Storage (NAS), a centrized file server that provides storage service to computers with various operating systems cuch as Windows, Mac OS X and Unix/Linux that may or may not limited within local network.

This section describes an example of building a storage server and file services through ssh, samba, ftp, NFS and web interface.

Administrate a virtual machine host

With the easy availability of powerful multi-core computers nowadays, very often an organization uses one physical computer to replace several retiring old servers. The obvious benefit, from sysadmin's perspective, is the easy system snapshot backup and less recovery time in case of disastrous system failure.

This section describes an example of building a virtual machine (VM) host and managing the guest OS.

Delete with "rm *" returns "Too many files" ?

In case you are on an old distribution and have millions of files to detele, like in Trash directory of my mail account, "rm *" won't work. Use the following line:

find ~/Maildir/.Trash/cur -name '*' -exec rm {} \;

Where  ~/Maildir/.Trash/cur is the path to my email Trash directory.

Ref: http://snippets.dzone.com/posts/show/111

Ubuntu Tips and Tricks

Sometimes small tricks save you time. This section collects useful (in my opinion) tips and tricks along with their sources.

Practical Ubuntu Server Admin Guide

This guide is a compilation of my notes when I switched Fedora Core to Ubuntu Linux. It describes practical knowledge and commands that achieving administration tasks for Ubuntu servers.

This guide is intended for system administrators to quickly build and maintain a Ubuntu server, and do less trial and error. Most commands and scripts are illustared with working examples.

This guide is NOT intended for users who need a Server Admin reference book, as it won't cover every topic and details of command syntax.

 

Syndicate content