Solutionist's Blog

Tech | Health | Life | Travel

Install whois CentOS / Ubuntu

jwhois is a whois client that accepts both traditional and finger-style queries. You can install the same using yum in Centos and apt-get in Ubuntu systems Centos  : yum -y install jwhois Ubuntu sudo apt-get install jwhois   In Centos/ Redhat systems you can run the command whois # whois ajayadas.com [Querying whois.verisign-grs.com] [Redirected to […]

Network interface settings – CentOS

Configuration of the “/etc/sysconfig/network-scripts/ifcfg-eth0” file In this file, you would find your basic network device configuration. Here, ifcfg-eth0 is the first Ethernet device; ifcfg-eth1 would be the second Ethernet NIC (network interface card), and so forth. In this file, you can have quite a few settings. Directives Required / Optional Expected Settings Comment DEVICE= Required ethX You must have […]

Install and configure DNS bind chroot in centos 6

1. Install Bind Chroot DNS server : [root@centos64 ~]# yum install bind-chroot bind -y 2. Copy all bind related files to prepare bind chrooted environments : [root@centos64 ~]# cp -R /usr/share/doc/bind-*/sample/var/named/* /var/named/chroot/var/named/ 3. Create bind related files into chrooted directory : [root@centos64 ~]# touch /var/named/chroot/var/named/data/cache_dump.db [root@centos64 ~]# touch /var/named/chroot/var/named/data/named_stats.txt [root@centos64 ~]# touch /var/named/chroot/var/named/data/named_mem_stats.txt [root@centos64 ~]# […]

setup web server centos with apache

Install Apache, Mysql , PhP Web Server # yum install httpd mod_ssl #/etc/init.d/httpd start # yum install mysql mysql-server # chkconfig –levels 235 mysqld on # /etc/init.d/mysqld start configure mysql Set the MySQL service to start on boot chkconfig –levels 235 mysqld on Start the MySQL service service mysqld start Log into MySQL mysql -u root Set the […]

dhcp server configuration in centos

Install DHCP Server Normally it install as part of your OS, if not you can install via YUM #  yum -y install dhcp Copy the sample conf file to /etc folder # cp -f /usr/share/doc/dhcp*/dhcpd.conf.sample /etc/dhcpd.conf Open Conf file # vim  /etc/dhcpd.conf My conf file looks like this root@ajay:~# cat /etc/dhcpd.conf authoritative; # default-lease-time 21600; max-lease-time 43200; […]

Install CACTI Centos

Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is […]

Install yum-skip-broken

Install yum-skip-broken Type the following command as root user: # yum -y install yum-skip-broken     How to handle skiping packages with dependency problems Now type the command as follows: # yum -y upgrade –skip-broken OR # yum -y update –skip-broken

update centos 5.7 to centos 5.9

Update centos 5.5, 5.6 , 5.7  or 5.8 to 5.9   STEP 1 :   BACKUP everything if something go wrong   Step 2: Update with YUM update   first clean all, second update glibc, yum, rpm and python packages and then update other packages like following: yum clean all yum update glibc* yum* rpm* python* yum update   Step […]

Secured By miniOrange