31.3.13

:: Enable suPHP in Apache2 on Linux Ubuntu

:: How to enable suPHP in Apache2

+ Installing libapache2-mod-suphp in Ubuntu
$ sudo apt-get install libapache2-mod-suphp

+ Enable mod_suphp for Apache2 in Ubuntu
$ sudo a2enmod suphp

+ Restarting Apache2 for enable suphp on the fly
$ sudo service apache2 restart

+ Checking suphp is enable
create php file and add this line:
<?php phpinfo(); ?>
open that file and see on this line:
Server API   CGI/FastCGI

:: Links
+ Google

17.11.11

:: Install NginX from source

:: What is NGINX
nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. o nginx

:: How to install NGINX from source on OpenSUSE
+ installing dependency
# zypper in pcre-devel zlib-devel libopenssl-devel
+ create username and group
# groupadd nginx
# useradd -r -g nginx nginx
+ compile and installing nginx
# wget http://nginx.org/download/nginx-1.1.8.tar.gz
# tar -xzf nginx-1.1.8.tar.gz
# cd nginx-1.1.8
# ./configure --user=nginx --group=nginx --with-http_ssl_module
# make && make install

:: Starting / restarting httpd
# /usr/local/nginx/sbin/nginx
# /usr/local/nginx/sbin/nginx -s reload

:: Link
+ Google
+ BlacKonsole

5.11.11

:: How to install DirectAdmin on Linux CentOS

:: What is DirectAdmin
DirectAdmin is a graphical web-based web hosting control panel designed to make administration of websites easier. – wikipedia

:: DA License
Make sure you have DA License before installing DirectAdmin

:: How to install DirectAdmin on Linux CentOS
+ installing dependency for DA
# yum install gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-dev
+ installing DA
# wget http://www.directadmin.com/setup.sh
# chmod 755 setup.sh
# ./setup.sh

:: Testing
Open DA using your web browser on :
http://youripaddress:2222

:: Link
+ Google
+ DirectAdmin

6.9.11

:: How to enable Java on Google Chrome in Linux Debian

:: How to enable Java on Google Chrome
+ Installing Java on Linux Debian
# aptitude install sun-java6-jre sun-java6-plugin
+ Create 'plugins' directory
# mkdir /opt/google/chrome/plugins
+ Soft-link the plugins file
# ln -s /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/libnpjp2.so /opt/google/chrome/plugins/
:: Links
+ Google
+ SuperUser

18.7.11

:: How to fix Not a HASH on cPanel

:: easyapache error
# /scripts/easyapache
error:
Not a HASH reference at /var/cpanel/perl/easy/Cpanel/Easy.pm line 340

:: How to fix Not a HASH
# /scripts/checkperlmodules --full

:: Link
+ Google
+ Cpanel