Archive for December 31st, 2009
Installing LAMP on Ubuntu
Installing LAMP (Linux – Apache – MySQL – PHP) on Ubuntu is pretty straight forward.
1st we install Apache.
Go to your Terminal and type in sudo apt-get install apache2
2nd step
sudo apt-get install php5 libapache2-mod-php5
3rd step
sudo apt-get install mysql-server
4th step
Just make sure Apache is running
In your terminal enter
sudo /etc/init.d/apache2 restart
And if you are stuck, google is always available
How to make all applications use a single proxy in Ubuntu
If you are trying to connect all the apps and bash on your Ubuntu setup to use a common proxy, the easiest way to achieve this is via Network Proxy Preferences. Go to System -> Preferences -> Network Proxy and select the Proxy Configuration and the Ignored Hosts as per your preference. Once done, select Apply System-Wide and you are done. Each and every application including the bash will now use this proxy that you have entered.
How to install .deb packages?
To install deb packages, download the deb package to a local folder (possibly /tmp if you do not require the installation file later) and run the following command
sudo dpkg -i package.deb
This should take care of the installation
Installing flash player in Ubuntu
To install flashplayer in ubuntu just go to the shell and type in $ sudo apt-get install flashplugin-nonfree
Once done, restart your browser and flash video’s/files should start working in all your browser.