You are on page 1of 3

PYTHON 1. apt-get install apache2 /etc/init.d/apache2 restart 2. apt-get install mysql mysql-server 3. apt-get install python3.

3 apt-get install python-mysqldb; 4. 1a) to instlass mysqldb---http://sourceforge.net/projects/mysql-python/ 1b)to install mysqldb gunzip MySQL-python-1.2.2.tar.gz $ tar -xvf MySQL-python-1.2.2.tar $ cd MySQL-python-1.2.2 $ python setup.py build $ python setup.py install 2)mysql-config ::: sudo apt-get install libmysqlclient-dev 3) fatal error python.h sudo apt-get install python-dev 5. apt-get install libapache2-mod-python 6. etc/httpd/conf.d <Directory /var/www/py> AddHandler mod_python .py Python Handler ex PythonDebug On </Directory> #proxy = urllib2.ProxyHandler({'http': 'http://proxy.ssn.net:8080'}) #auth = urllib2.HTTPBasicAuthHandler() #opener = urllib2.build_opener(proxy, auth, urllib2.HTTPHandler) #urllib2.install_opener(opener) ----------------------------------------------------------------------------------------------------------------------------------------------

PERL 1. apt-get // aptitude install libapache2-mod-perl2 2. sudo mkdir /var/www/cgi-bin 3. /etc/apache2/sitesavailable/default <Directory /var/www/cgi-bin> option ExecCGI AddHandler cgi-script cgi pl </Directory> 4. 1.sudo cp/etc/apache2/sites-available/default cp/etc/apache2/sites-available/result 2.gksudo /gedit /etc/apache2/sites-available/result 3.repplace <directory /var/www > to /home/ 4.sudo a2dissite default sudo a2ensite result 5. apache2 restart apt-get install mysql mysql-server install HTML::Tree install HTML::TreeBuilder install HTML::TreeBuilder::XPath ---------------------------------------------------------------------------------------------------------------------------------------------GAMBAS sudo add-apt-repository ppa:nemh/gambas3 sudo apt-get update sudo apt-get install gambas3 if there is an error during gambas installation sudo -i export HTTP_PROXY="http://username:password@proxyaddress:port" then give sudo add-apt-repository ppa:nemh/gambas3 sudo apt-get update sudo apt-get install gsmbas3 ----------------------------------------------------------------------------------------------------------------------------------------------

PHP 1.sudo apt-get install php libapache2-mod-php5-mysql apt-get install mysql-server libapatche2-mod-auth-mysql php5-mysql sud0 mysql_install_db 2.to install curlinit digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu install curl and php5-curl sudo apt-get install curl sudo apt-get install php-5curl

if there is an error while starting apache ie start failed netstat -ltnp|grep ':80' a message to port nos will be displayed now give sudo kill -9 portnumber for both the ports

You might also like