Solutionist's Blog

Tech | Health | Life | Travel

how to show hidden files in mac OS-X mountain lion

   To Make every hidden files visible   , lauch terminal and run this defaults write com.apple.Finder AppleShowAllFiles YES Press return Now hold ‘alt’ on the keyboard and right click on the Finder icon Click on Relaunch reverse the operation by typing defaults write com.apple.Finder AppleShowAllFiles NO   make one particular folder visible If you […]

Preventing Open SSH from sending the LC_* variables

The fix is very easy. On your local system open your ssh_config file as root (usually in /etc/ssh_config or /etc/sshd/ssh_config) and comment this line: SendEnv LANG LC_* That’s it! From now on you will no longer get the annoying Bash error. Alternatively you can also set the locale setting of your locale system to something that matches […]

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