Posts

Showing posts from 2015

LIGHTSQUID COMPILATION IN RHEL6

Image
Required software: Perl http server (Apache, lighthttpd, etc) Squid #mkdir –p /var/www/htdocs/ #cd /var/www/htdocs/ #mkdir lightsquid #cd lightsquid #wget https://indoit.googlecode.com/files/lightsquid-1.8.tar.gz #tar -xzf lightsquid-1.8.tar.gz #cd lightsquid-1.8 #chmod +x *.cgi #service  httpd  stop #rm  ‐rf   /usr/local/lamp/apache */if apache customised  for lamp then remove it/* #yum install httpd #yum install perl*         #chown -R apache:apache * #vim /etc/httpd/conf/httpd.conf <Directory "/var/www/html/lightsquid"> AddHandler cgi-script .cgi AllowOverride All </Directory> #yum –y install squid #yim /etc/httpd/conf.d/squid.conf    Change “From local host” to from all #yum install httpd #vim /var/www/html/lightsquid/lightsquid-1.8./lightsquid.conf */replace all default path to our path /* #path to additional `cfg` files $cfgpath         ="/var/www/html/lightsquid/lightsq...

Configure LAMP (Linux, Apache, Mysql, PHP) on RHEL 6

LAMP -   L inux,   A pache,   M ySQL and   P HP , an open-source Web development platform/Web stacks, that  uses   Linux   as the   operating system ,   Apache   as the Web server,   MySQL   as the DBMS   and   PHP   as the   scripting language.   Perl   or Python   is often substituted for PHP Apache - Apache provides the mechanics for getting a Web page to a user. Apache is a stable,  mission-critical-capable server, and it runs more than 65 percent of all Web sites on   the Internet. The PHP component actually sits inside Apache, and you use Apache and  PHP together to create your dynamic pages. MySQL  - MySQL provides the data-storage side of the LAMP system. With MySQL, you  have access to a very capable database suitable for running large and complex sites. Within your Web application, all your data, products, accounts, and other types of informatio...