Wednesday, November 23, 2011

How To Install and configure Varnish Cache in ubuntu

Install & Configure Varnish on Ubuntu Lucid Linux

I decided to install Varnish on an Ubuntu 10.04 Lucid Linux machine.
1. Install Varnish
2. Edit the /etc/varnish/default.vcl file
3. Edit the /etc/default/varnish file
4. Edit apache settings
5. Restart Apache and Varnish
6. Useful commands and information

1. Install Varnish

sudo apt-get install varnish

2. Edit the /etc/varnish/default.vcl file

This is where we tell varnish where to find content. I want varnish to find content on the local machine on port 8080, or basically where to find the webserver. By default apache listens on port 80 so we will need to change the apache settings later on. Edit the /etc/varnish/default.vcl file and change the contents as shown.


backend default {
.host = "127.0.0.1";
.port = "8080";
}

3. Edit the /etc/default/varnish file

This file contains varnish’s startup settings. The default set up is mostly fine. The main thing here is to tell varnish which port to listen on and how much RAM it can use. I want varnish to listen on port 80 and use 128M of RAM.



DAEMON_OPTS="-a :80 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-S /etc/varnish/secret \
-s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,128M"

4. Edit apache settings

You must edit /etc/apache/ports.conf file and ensure apache will now listen on port 8080. If you have a vhosts setup you must also change which port the vhosts listen on.

So /etc/apache/ports.conf should look like this


NameVirtualHost *:8080
Listen 8080
.....

Change /etc/apache2/sites-available/default to also listen on port 8080, and do the same for any vhosts in this directory.


NameVirtualHost *:8080
Listen 8080
.....

Example vhosts



ServerName mormanski.net
.....

5. Restart Apache and Varnish

Restart apache.
sudo /etc/init.d/apache2 restart
And start Varnish too.
sudo /etc/init.d/varnish start

6. Useful commands and information

This netstat command will tell you which ports are open
netstat -anp --tcp --udp | grep LISTEN

You can use varnishlog to see what’s happening in real time
varnishlog

Friday, October 21, 2011

How to make Volume size more then 2 TB in Openfiler

Go to "Volumes" and then "Block Devices". For your 4TB volume, what is the label type? If it says "msdos", as I said, you cannot have a "msdos" partition table and use more than 2TB. If it says "gpt" then you may have hit upon a bug.

If it says "msdos" then do the following:
- Remove any volumes, volume groups, physical partitions, etc. that you created on that disk.
- Open a command prompt
- Run "parted /dev/sda" (substitute the appropriate device name)
- Type "print" (you should see the total size of the disk and the label type)
- Type "mklabel gpt"
- Type "print" (to make sure that the label has changed)
- Type "q" (to quit)
- Close the command prompt

Back in the web admin, refresh the "Block Devices" page and see if it now shows a label of "gpt". If it does, create your physical partition, volume group, etc. If it doesn't, reboot.

See forum discussion on following link
https://forums.openfiler.com/viewtopic.php?id=2084

Thursday, October 20, 2011

WAKE ON LAN

1...Enable Wake on LAN in BIOS

2...Download software from http://www.matcode.com/mc-wol.exe and
     save it into c:\>MAC-WOL.exe

3...Run following command

C:\>MC-WOL.exe (mac address of target computer)
i.e
C:\>MC-WOL.exe 00:0e:0c:06:93:b5

You will see that target PC will be Power ON

Sunday, October 9, 2011

How to Install Vcentre Server 4.1

vCentre Server 4.1 required
1..Static IP
2...NET Framwork
( in windows server 2008 you can Install .NET Framwork by going Feature in Server Manager)
 


Watch Following video



http://www.youtube.com/watch?v=8Oz91xYcs5k&feature=related


2...When you are adding Host in vCentre You can use root as host  user

Tuesday, October 4, 2011

OCFS2 + ISCSI Centralized storage in Ubuntu 10.10

In this article I will mention the steps to mount an ISCSI target on two ubuntu machines and then cluster it using oracle clustered file system. The newly mounted partition can be used as a centralized storage location in High availability, Failover or load-balancing setup.

The step by step howto is provided below,

1) Setup an ISCSI Server using Openfiler and create SAN LUN, and assign the IP 192.168.1.11 to it.

For setting up openfiler based ISCI target, you can refer steps 1 to 8 mentioned in the url pasted below.

http://www.techhead.co.uk/how-to-configure-openfiler-v23-iscsi-storage-for-use-with-vmware-esx

2) Setup two servers with Ubuntu 10.10 in it.
server1 ==> name: heuristics –> IP 192.168.1.30
server2 ==> name: heuristics2 –> IP 192.168.1.32

3) Install open-iscsi tool in both servers
apt-get install open-iscsi open-iscsi-utils
/etc/init.d/open-iscsi start

4) List out the ISCSI targets available in both servers.
iscsiadm -m discovery -t sendtargets -p 192.168.1.11

In my case the above command produced the following output,
root@heuristics2:~# iscsiadm -m discovery -t sendtargets -p 192.168.1.11
192.168.1.11:3260,1 iqn.2006-01.com.openfiler:tsn.0d0c0c810c57
root@heuristics2:~#

5) Mount the ISCSI target “iqn.2006-01.com.openfiler:tsn.0d0c0c810c57″(Lets call it TG57) to the local machine
iscsiadm -m node -T iqn.2006-01.com.openfiler:tsn.0d0c0c810c57 -p 192.168.1.11 –login

6) Step5 will make the iscsi target TG57 as a device to the system. Which can be viewed as a block device.
root@heuristics# fdisk -l


Disk /dev/sdb: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003f05c

Device Boot Start End Blocks Id System
/dev/sdb1 1 1011 1047383 83 Linux

7) Install OCFS2 – Oracle Cluster File System for Linux
apt-get install ocfs2 ocfs2-tools
if you unable to install then you can also install ocfs2 & ocfs2-tool by using "synaptic" in ubuntu

Configure OCFS2

Create a configuration file with proper indendation and copy it to both the servers. In my case “ocfs2″ is the cluster name.

root@heuristics:~# cat /etc/ocfs2/cluster.conf
node:
ip_port = 7777
ip_address = 192.168.1.30
number = 0
name = heuristics
cluster = ocfs2

node:
ip_port = 7777
ip_address = 192.168.1.32
number = 1
name = heuristics2
cluster = ocfs2

cluster:
node_count = 2
name = ocfs2
root@heuristics:~#

If proper indentation is not provided the following error will be shown,
Starting cluster oracle: Failed
o2cb_ctl: Unable to load cluster configuration file “/etc/ocfs2/cluster.conf”
Stopping cluster oracle: Failed
o2cb_ctl: Unable to load cluster configuration file “/etc/ocfs2/cluster.conf”

9) Start the cluster service in both the machines
/etc/init.d/ocfs2 start
/etc/init.d/o2cb start
/etc/init.d/o2cb enable


10) Create one partition named /dev/sdb1 in the ISCSI target
fdisk /dev/sdb

(to ensure that /dev/sdb is the target)

shell> fdisk /dev/sdb
at the fdisk prompt, run the following key sequence:
o to create a new partition table
n to create a new partition
p to create a primary partiton
1 to create it as the first partition
[enter] twice to accept default first and last cylinders
t to autoselect only partition (what we just created) and change type
8e to change the type to Linux LVM
w to write the changes to the partition table and exit fdisk


11) Make ocfs cluster file system using the following command(need to execute only on one machine)
mkfs.ocfs2 -b 4k -C 32k -N3 -L cluster-storage /dev/sdb1

This creates a file system with 4096 block size and 32768 (32k) cluster size.
NOTE: N= 3 , for a cluster with 2 machines, N=3 and for a cluster with ‘n’ machines N=(n+1)

12) Update partition table on all servers in the cluster. In this case all the servers have /dev/sdb as the iSCSI target.

We will run the following to re-read the partition:
blockdev –rereadpt /dev/sdb

Next, we will want to create a mount point on the servers for this cluster.
mkdir /mycluster

Mount the partition,
mount -L cluster-storage /cluster-storage

13) Show results and test
root@heuristics2:~# hostname
heuristics2
root@heuristics2:~# df -TH /cluster-storage/
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb1 ocfs2 1.1G 330M 744M 31% /cluster-storage
root@heuristics2:~#
root@heuristics:~# hostname
heuristics
root@heuristics:~# df -TH /cluster-storage/
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb1 ocfs2 1.1G 330M 744M 31% /cluster-storage
root@heuristics:~#



ORIGINAL LINK OF THIS TUTORIAL with Thanks
http://jackal777.wordpress.com/2011/08/10/ocsf2-iscsi-centralized-storage-in-ubuntu-10-10/#comment-69


REFERENCE

http://www.idevelopment.info/data/Unix/Linux/LINUX_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingLinux.shtml

http://knowledgelayer.softlayer.com/questions/265/Can+I+connect+multiple+servers+to+a+single+iSCSI+LUN%3F


Tuesday, June 28, 2011

How to connect mysql database from joomla web server on local network

SITUATION

you have 2 Server one is joomla web server(192.168.1.52) and 2nd is database server (192.168.1.51)

Now you want to connect your joomla webserver to database server.Install Ubuntu server 10.10 in both server and also install LAMP with openSSH server with Client.
Connect with same local area network.

Step -1 (in database server)

configure mysql configuration file by typing following command:

sudo nano /etc/mysql/my.cnf

Make sure line skip-networking is commented (or remove line) and add following line

bind-address=192.168.1.51 (YOUR-DATABASE SERVER-IP)

now save and Close the file then reboot the server

Step-2 (In database server)

Grant access to a new database

Connect mysql localy by typing following command

mysql -u root -p mysql

If you want to add a new database called shah for user joomla and remote IP 192.168.1.52 then you need to type the following commands at mysql> prompt:

mysql> CREATE DATABASE shah;
mysql> GRANT ALL ON shah.* TO joomla@'192.168.1.52' IDENTIFIED BY 'PASSWORD';

How Do I Grant Access To An Existing Database?Let us assume that you are always making connection from joomla web server IP called 192.168.1.52 for database called shah for user joomla, To grant access to this IP address type the following command At mysql> prompt for existing database, enter:

mysql> update db set Host='192.168.1.52' where Db='shah';
mysql> update user set Host='192.168.1.52' where user='joomla';


Type exit command to logout mysql:

mysql> exit

you can also do this by phpmyadmin

just use following setting while making new database in phpmyadmin

user name = joomla (you can use your own name)
password = password (you can use your own)
host = any host (you can also put here your joomla webserver static ip so only your web server will be able to access in your local net)
Priveliges = check all (check all and Grant all Access)

Step-3 (In joomla web server)

Test your database connecting properly.

mysql -u joomla –h 192.168.1.51 –p


Where,
-u joomla: joomla is MySQL username
-h IP or hostname: 192.168.1.51 is MySQL server IP address or hostname (FQDN)
-p : Prompt for password

Step-4 (In Joomla web server)

You can now install joomla into your joomla web server (192.168.1.52)
and put database server ip address(192.168.1.51) in host filed

Lets assume that you want to connect another server called audio.joomla.com so
you just copy and past your joomla installed folder i.e. /var/www
into new server in the folder /var/www
and chenge the configuration.php file as follows:

host = 192.168.1.51 (your database server ip)

Thursday, May 26, 2011

pfsense multi wan / load balancing

Watch English Translation below

00:00
There are more than one line to the Internet and links to back up the internet
would you connected an uninterrupted, Pfsense security wall
The new version (2.0) with redundant connections as possible to use.
greken avoid interruption of service (e-mail service), even in this feature for
may use,
How to use this feature going to tell our video.
www.sistemzone.com


00:18
Pfsense version 2.0 Betas


00:25
2 x WAN interface (interface) bulumakta. Simulation will test on the VMware To, 3 define a LAN segment.
Ic network LAN 1 LAN 2 and LAN 3 is the internet To.
The above two machines installed on the server 2003 (isp1 and isp2) Internet service to us enables.



00:35
WAN interface auto IP address via DHCP recruiting.


00:59
Not yet identified any rules on the firewall.


01:15
S gateway to the WAN interface is automatically defined. WAN interfaces
Gateway to Dynamic IP from DHCP which they called for them.


01:26
WAN2 I click on the double to come.


1:32
If the gateway IP address, the monitor does not allow pinglemeye alternative to the IP part at main menu
girbilirsiniz ip address. I'm getting OpneDNS URLs.


01:38
Advanced section to be able to do various adjustments. Weight: Gateway for the priority
enables you to specify the value. Value is high as a priority will be high.


01:47
Latency threshold: If the ping values ​​in milliseconds belirledginiz (min-max)
rises above values, the system automatically and then you understand that, appears,
group will build on the gateway, by setting the trigger level, delay low value for the gateway, such as priority of Attraction can make diagnosis.


01:58
Packet Lost thresholds: enables you to specify priority packet losses according to the gateway.
At the same time in these priority groups and then build and gateway values base to be taken.


02:08
Gateway Group, in episode tanimlayabiliyorsunuz groups. Tanimliyorum a new one.


02:17
To write the name of the Group. WAN interfaces for the Gateway Priority ayaliyorum values.
The values ​​are the lowest in the highest priority is the means. For example, weight belilediginiz with values, while WAN2 essay, specified here with values, the priority order of change is possible.


02:39
Trigger Level: Here are a few to us, available option. (Member Down / Packet Loss /
High Latency / Packet Loss or High Latency) you according to your infrastructure you want a
secebillirsiniz. I'll leave it as member down.


02:51
Member Down: If you are an active internet line to ugararsa interrupted, Internet Lines is
directs one of the other active connections can.


03:00
Packet Loss: Packet loss, according to at least pay for what packet loss, primarily determines the
Give it focuses on Internet traffic.


03:05
High Latency: ping values ​​in milliseconds hang derecade growth shows degreri low priority determines the line and the internet directs traffic accordingly.



03:20
Saving to save the settings saying.


03:27
Group names, spaces, characters such as hyphens and underscores are not allowed.


03:37
Accept the changes made.


03:50
Sira has a firewall rule larini Arrangement.


03:56
Geten as I click the Default rule double. Gateway by Gateway address from Shedding as a Multi-Gateway. 'm Going to save the settings.


04:15
Accept the Yapdan desisiklikleri.


04:34
Here, both online gateway that is currently active in the Advanced gormektesiniz.su.


04:55
I pull up the Internet connection is temporarily out of isp1.


05:06
Below you see that the internet connection is provided over isp1 online.


05:43
Also do the same procedure as for the other line.


06:04
In connection are both currently online.


06:24
Connections getiriorum it back.


06:40
Soon will do a little testing. Connections can close one, and how much After time, the connection will continue to

execute over the other line, will see together.


07:40
Good isp2 easier to disable. With specific ranges will be small little cuts.


08:42
Once to link at google, yahoo and then the connection is, in short term has been disconnected and you see a.



08:59
I isp1 easier to disable.


09:49
For a short period of time has been disconnected and you see a connections. Very gecmedem other traffic Will continue to flow over the WAN line.


10:17
As you can see the WAN Gateway is also bands online looks at the water line.


10:53
Izyelebilirziniz situation of a connection here.


11:35
Thank you for our video followed by.

www.sistemzone.com

Gokhan Sezen

Tuesday, May 17, 2011

How to Clone Whole Hardisk with Ubuntu operating System

ye command aap ki pori ki pori hard disk ko dosri harddisk main istarha copy kardayti hay kay usko operating system bhi copy hojata hay
aur aap wo harddisk kisi dosray computer main laga kar use karsaktay hain aur sub kuch waysa hi hoga.

aik new harddisk lain jo bilkul usi size/capacity ki ho jis ko aap copy karna chatay hain
Ubuntu main gpart ki madad say pehlay uskay sary partitions delete kar dain phir system restart kar kay nechay di hoi command apply karain.

dd command
--------------

sudo dd if=/dev/sdb of=/dev/sdc

iss command ko istarha parhain gay

disk copy karo "if=/dev/sdb" input disk drive say output drive main "of=/deve/sdc

is kay ilawa aap iss ki madad say pori harddisk ki ISO file bana kar bhi backup lay saktay hain
is kay liye nechay wali command use karain

sudo dd if=/dev/sdb of=/home/shaheer/thumbImage.img
------------------------------------------------End-----------------------------------------------

hosakta hay kay jab aap ye hard disk apnay dosray system main lagain to wahan 
Network Card conflict kar jaen ye is liye hota hay kay aap k Ubuntud main MAC address purana wala 
hi  hota hay aur new system main Network Card dosra aajata hay

Following is the solution for this Problem: 


 “SIOCSIFADDR: No such device eth0″

After a bit of googling I found a solution that required editing /etc/ftab to remove an incorrect generated mac address. Hardy Heron doesn’t have this file though so I did a bit more searching around the filesystem and found a reference to the mac address stored in the vmx (vmware config) file found in /etc/udev/rules.d/70-persistent-net.rules. Note: For Debian the file can be found at /etc/udev/rules.d/z25_persistent-net.rules
Method One – delete the rules file

Quickest way to solve this is to move/delete the rules file. (Thanks to the comment from SonniesEdge.)

Ubuntu
sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.old

Debian
sudo mv /etc/udev/rules.d/z25_persistent-net.rules /etc/udev/rules.d/z25_persistent-net.rules.old

Now reboot the system so that rule file will be recreated by the Ubuntu

-------------------------------------------------------------------------------------------------------


Method Two – edit the rules file

The second way is to comment out the line relating to eth0 which had the wrong mac address and replaced “eth1″ with “eth0″. After rebooting eth0 should be working properly and normality will be restored.

Here’s an example carried out on Ubuntu.

The old /etc/udev/rules.d/70-persistent-net.rules looked like this:
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:50:xx:xx", ATTR{type}=="1", NAME="eth0"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:36:xx:xx", ATTR{type}=="1", NAME="eth1"

Was edited to look like this:
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:3

Sunday, May 15, 2011

How to Configure a Multihomed Server in Windows 7


A multihomed computer has more than one network adapter card or embedded network chip and port installed. Configuring a multihomed computer, in most cases, requires additional settings to ensure that the computer sends information to the intended destination hosts on the network without errors. By adding additional parameters to the network adapter configuration of a multihomed computer, you can avoid errors related to dual network connections.


Instructions

1-
Click "Start" and the "Search" box. Type "ncpa.cpl" (without quotation marks) and press the "Enter" key. The "Network Connections" window will appear.

2-
Right-click on the first network adapter and click the "Properties" item in the menu that appears. Scroll down the list of protocols and double-click on the "Internet Protocol Version 4 (TCP/IPv4)" selection. The "Internet Protocol Version 4 TCP/IPv4 Properties" window will appear.

3-
Click the "Obtain an IP address automatically" radio button and then click "Obtain a DNS server IP address automatically" if the network supports dynamic assignment of IP addresses (DHCP). If the network does not support dynamic IP address assignment, then click the "Use the following IP address" radio button and then click "Use the following DNS server addresses" radio button. Type in the IP address, subnet mask, default gateway IP address and DNS server IP address that are assigned to the first network adapter in the fields provided.

4-
Click the "Advanced" button. The "Advanced TCP/IP Settings" window will appear. Uncheck the "Automatic metric" box and then type a "1" in the "Interface metric" field if network services used most often by the computer are located on the network connected to the first network adapter. Otherwise type a "2" in the "Interface metric" field.

5-
Click "OK" in the "Advanced TCP/IP Settings" window and then click "OK" in the "Internet Protocol Version 4 (TCP/IPv4)" window. Click "OK" in the "Local Area Connection" window to save the configuration.

6-
Configure the second network adapter following the same procedure as the first network adapter. In the "Advanced TCP/IP Settings" configuration window for the second adapter, ensure that the number typed into the "Interface metric" box is a "2" if the first network adapter "Interface metric" box value is a "1", or vice versa, so that the metric values are different for each network adapter and the network adapter with the "Interface metric" box value of "1" is connected to the network that provided the majority of the network services for the computer.

7-
Repeat the procedure above for each additional network adapter, assigning a number in the "Interface metric" box relative to the proportion of use and priority of the network to which the interface is connected.

8-
Click the "Start" button and then click the "Search" box. Type "cmd" in the box. Right-click on the command line icon that appears in the upper left pane and then click "Run as Administrator." On the command line, type "ipconfig /all" and press the "Enter" key. View the command line output and verify that the IP address, subnet mask and gateway IP address for each network adapter is different from the other network adapter.



Linux Course outline

Following are the Chapters that should must read and understand properly for Linux Students.  

Linux for Newbies 

  1. History of Linux
  2. Concept of free software, open source and GPL
  3. Installing RedHat Linux 5.x / CentOS 5.x / Fedora 8+
  4. Configuring the system for dual booting with other operating systems (eg. wintendo)
  5. Understanding kernel and kernel versions
  6. Understanding different Linux distributions and distribution specific version numbers
  7. How and where to look for help (Websites, Howtos, Mailing lists, Discussion Forums)
  8. Starting up and shutting down the system
  9. Working in command line interface and basic commands
  10. Using KDE and GNOME file managers for file management operations.
  11. The X window system (KDE and GNOME window managers)
  12. Using KDE desktop (including KDE control panel)
  13. Understanding devices : Floppies, cdrom and hard disks (formatting, mounting, etc)
  14. Configuring (mounting) Harddisks on other IDE / SATA channels for data copying
  15. Partitioning and formatting Harddisks
  16. Creating and managing users (a general overview)
  17. Working with files (creating and changing files,etc)
  18. Files and directory permissions (viewing and setting)
  19. Working with system information (GUI bases, and commands like lspci, etc)
  20. Configuring printer and printing files (CUPS)
  21. Configuring and using scanners (Xsane)
  22. Working with various text editors in command mode (vi, pico and emacs)
  23. File compression utilities (tar, gzip, bzip2, compress)
  24. Installing , removing and updating packages with RPM
  25. Installing software from source code tarballs (tar.gz)
  26. Using OpenOffice
  27. Games on Linux, configuring Sound and Video cards on Linux
  28. Using Internet (modem configuration & Internet account setup)
  29. Configuration of ethernet cards
  30. Configuration of Wireless Cards
  31. Email clients (KMAIL / Thunderbird/ Evolution)
  32. Configuration of POP+IMAP+SMTP accounts in e-Mail client software
  33. Configuring Hotmail email accounts on Linux
  34. Chat on IRC, MSN, Yahoo, Skype
  35. Listening to music CDs (MP3 etc, XMMS)
  36. Viewing video CDs (MPG, AVI, MOV, etc) (Mplayer, Xine, VLC Player)
  37. Writing / burning CDs with CD-writer K3b and Xcdroast (configuration, etc)
  38. Creating and using boot-disks (obsolete ?)
  39. Brief introduction to web publishing tools (Quanta, Velocity, etc)
  40. Implementing firewalls at user level
  41. Using secure copy for transferring files between Linux computers
  42. Connecting from a Linux pc to a windows PC to access shared files
  43. Recovering system and boot-problems using rescue CD and single user-mode
  44. Configuring Samba service.
  45. Connecting from a windows PC to a Linux PC to access files shared through Samba


 Linux for System Administrators
  1. Linux advance commands (including regular expressions, and related tools (sed, awk, perl)  
  2. Using telnet, secure shell and scp
  3. RSH, Rlogin, RExec
  4. SSH keys, Key based authentication, Password less logons, etc
  5. Understanding File System Layout (ext3)
  6. Locating and editing configuration files and scripts (/etc/init.d/*, /etc/rc.local)
  7. Networking basics (TCP/IP). Configuring network interfaces.
  8. Administrating user accounts and groups.
  9. System initialization scripts and run-levels
  10. Configuring selected services to run on system boot (chkconfig)
  11. Setting up servers / services: BIND (DNS), NFS, NIS, SAMBA, Sendmail, Postfix, Apache, Squid
  12. Monitoring and administrating log files (logrotate, cron)
  13. Monitoring system resources, using SNMP and MRTG
  14. System security, restricting access to network services
  15. Configuring / implementing firewalls
  16. Configuring IP Masquerading
  17. Making and using boot disks
  18. Enabling support for NTFS partitions
  19. Working in rescue and single user mode / securing single user mode
  20. Configuring, building and installing a custom kernel (kernel recompilation

    I hope it to be helpful for all.

How To Compile And Patch The Kernel In Ubuntu, The Easy Way (Using KernelCheck)