PPPoE Dialer Setup on CentOS

  PPPOE Dialer Setup on centos PPPOE(Point-to-Point Protocol over Ethernet) is a network protocol for encapsulation ppp frame.session is initiated by using connection software on the client machine or router. When a PPPoE session is initiated, destination IP address is only used when the session is active. The IP address is released after the session is closed. in this tutorial we share how to setup PPPOE Dialer on Centos. Step 1 First Check Package are install or not using below command rpm -qa rp-pppoe by default Package are not Installed. Step…

Read More

How to password reset on Ubuntu

When the computer starts booting, press the [Esc] key. This will show you the boot menu. Use the Up/Down arrow keys to select Recovery Mode, then wait for the computer to completely boot up. You will get a command prompt, and you will be an administrator. If you aren’t sure of your username, just do a directory of the /home folder, and you will see all of the registered users on the computer. Once you know the username, now its just a simple matter of executing the following command: #passwd…

Read More

Command Line VI Editor for MAC

Command Line VI Editor for MAC While in command mode (case sensitive) move the cursor with arrow keys; if there aren’t any arrow keys, use j,k,h,l i – change to insert mode (before cursor) a – change to insert mode (after cursor) A – change to insert mode (at end of line) r – replace one character R – overwrite text x – delete one character dd – delete one line yy – yank line (copy) p – paste deleted or yanked text after cursor P – paste deleted or…

Read More

How to configure mail log analyger on centos

  Mail Log Analyger [root@mail ~]# yum -y install postfix-pflogsumm # display summary of yesterday’s maillogs [root@mail ~]# perl /usr/sbin/pflogsumm -d yesterday /var/log/maillog  [Detail Mail LOG] Postfix log summaries for Jan 21 Grand Totals ———— messages 2 received 2 delivered 0 forwarded 0 deferred 0 bounced 2 rejected (50%) 0 reject warnings 0 held 0 discarded (0%) 14379 bytes received 14379 bytes delivered 1 senders 1 sending hosts/domains 2 recipients 1 recipient hosts/domains Per-Hour Traffic Summary time received delivered deferred bounced rejected ……………. …………. ……… [root@mail ~]# crontab -e # send summary of maillog at AM…

Read More

How to Configure FTP server on Centos

  CentOS FTP server Configuration Step 1 Install Vsftpd [root@www ~]# yum -y install vsftpd [root@www ~]# vim /etc/vsftpd/vsftpd.conf # line 12: no anonymous anonymous_enable= NO # line 80,81: uncomment (permit ascii mode transfer) ascii_upload_enable=YES ascii_download_enable=YES # line 96: uncomment ( enable chroot list ) chroot_list_enable=YES # line 98: uncomment ( enable chroot list file ) chroot_list_file=/etc/vsftpd/chroot_list # line 104: uncomment ls_recurse_enable=YES # add at the bottom # enable chroot chroot_local_user=YES # specify root directory ( if don’t specify, users’ home directory become FTP home directory) local_root=public_html # use localtime…

Read More

How to configure NFS server on Centos

NFS(Network File System) is a remote file system protocol that allows you to mount remote directories on your server. use NFS, we can set up file sharing between Unix to Linux system and Linux to Unix system. Benefit #NFS allow local access to Remote access. #no manual refresh allow to add new file. #can be secured with firewall Step 1 Configuration  NFS server [root@xyz ~]# vi /etc/exports # add *note /home 192.168.1.0/24(rw,sync,no_root_squash) # *note /home   => shared directory 192.168.1.0/24  => range of networks NFS permits accesses rw    => read and…

Read More

How to Install observium in Ubuntu and Debian Linux

  Install the packages we need to run Observium For Ubutu and Debian apt-get install libapache2-mod-php5 php5-cli php5-mysql php5-gd php5-mcrypt php5-json php-pear snmp \ fping mysql-server mysql-client python-mysqldb rrdtool subversion whois mtr-tiny ipmitool graphviz \ imagemagick Install observium Create A Directory mkdir -p /opt/observium && cd /opt Download latest Version of observium svn co http://svn.observium.org/svn/observium/branches/stable observium Configure Observium cd observium cp config.php.default config.php Create MYSQL Database mysql -u root -p <mysql root password> mysql> CREATE DATABASE observium DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; mysql> GRANT ALL PRIVILEGES ON observium.* TO…

Read More

How to Install ssh on Ubuntu Linux

Install SSH Server if you want to access your server remotely need to Install SSH in your Server . in this tutorial we share how to install SSH on Ubuntu Linux. apt-get install openssh-server openssh-client Configure SSH Server cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak vim /etc/ssh/sshd_config then Customize your ssh port # What ports, IPs and protocols we listen for Port 2222 if you want increase SSH security Level # Authentication: LoginGraceTime 120 PermitRootLogin no AllowUsers user1 user2 Restart SSH Service service ssh restart

Read More