Solutionist's Blog

Tech | Health | Life | Travel

CentOS / Redhat Apache mod_ssl install

Install mod_ssl yum update yum install mod ssl   Create an SSL Certificate cd /etc/tls/certs openssl genrsa -des3 -out apachekey.pem 2048 Generate a Certificate Signing Request (CSR) Type the following command: # openssl req -new -key apachekey.pem -out apachekey.csr Create the Web Server Certificate You must signed the CSR to create the web server certificate, […]

Install PhpMyadmin – centos Redhat 6.x

phpMyAdmin is not included in default RHEL / CentOS repo so install EPEL EL6 version, enter: $ cd /tmp $ wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm # rpm -ivh epel-release-6-5.noarch.rpm   # yum -y install phpmyadmin   Step #3: Configure phpMyAdmin You need to edit /etc/httpd/conf.d/phpMyAdmin.conf, enter: # vi /etc/httpd/conf.d/phpMyAdmin.conf It allows only localhost by default. You can setup HTTPD SSL as […]

how to install sarg in CentOS / Redhat 6.x

Centos 6.0 sarg installation from yum gives you endless issues   lets start from source   [root@ajay~]# yum install gcc make wget httpd [root@ajay ~]# wget http://sourceforge.net/projects/sarg/files/sarg/sarg-2.3.1/sarg-2.3.1.tar.gz/download [root@ajay2 ~]# tar zxvf sarg-2.3.1.tar.gz [root@ajay ~]# cd sarg-2.3.1 [root@ajay~]# ./configure [root@ajay ~]# make Modify sarf conf file   # vim /usr/local/etc/sarg.conf #### sarg.conf#### access_log /var/log/squid/access.log date_format e […]

Secured By miniOrange