Skip to main content

Posts

Showing posts with the label Linux

How to add EBS volume to Linux machine in AWS

1.      Login to AWS console 2.      Create 50 GB volume 3.      Attach to the Linux instance 4.      Login to the Linux server 5.      After completing above step, now new volume will list your system. You can check this using ‘ fdisk -l ‘ command 6.      Create a File system to newly added EBS volume with below command (In my case new disk      is:/xvdj) mkfs /dev/xvdj 7.      Make a directory with below command (In my case directory name is "mountdriveE") mkdir /mountdriveE 8.      Mount this disk to mount point with below command mount /dev/xvdj /mountdriveE 9.      Add below entry at the end of file  /etc/fstab  for permanent /dev/xvdj    /mountdriveE  ext4    defaults        1 1

Installing Nagios 4 on Ubuntu 14 04 LTS

Open Source firewalls

1. Endian Community Firewall -  http://www.endian.com/en/community/overview/ 2. pfSense -  https://www.pfsense.org 3. IPCop -  http://www.ipcop.org/ 4. Zentyal -  http://www.zentyal.org 5. IPFire -  http://www.ipfire.org

How to rename Linux Hostname

CentOS: Logon to server via putty Type      vi /etc/hosts       Enter Press     I Rename machine and Press escape press Shift colon Type    wq!       Enter Type   vi /etc/sysconfig/network    enter Press i Rename machine and Press escape press Shift colon Type   wq!       Enter service network restart chkconfig network on If you want to reboot the server type    init  6   *****************************   Ubuntu: sudo vim /etc/hostname Press     I Rename machine and Press escape press Shift colon Type   wq!       Enter Sudo reboot ********************************************