Ubuntu Install Apache, PHP, MySQL

15 02 2010

sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server phpmyadmin
Enter password

sudo /etc/init.d/apache2 restart

/var/www/ is directory for http://localhost

Fix 404 at http://localhost/phpmyadmin:
sudo gedit /etc/apache2/apache2.conf

Add the following code at the bottom of the file, save and quit.
Include /etc/phpmyadmin/apache.conf





Ubuntu Install Skype

29 12 2009

Open SYSTEM/ADMINISTRATION/SOFTWARE SOURCES

Enter Password

Select ‘other software’ tab

Click on Add

Cut and Paste the complete following line

deb http://download.skype.com/linux/repos/debian/ stable non-free

then close

Now open Terminal APPLICATIONS/ACCESSORIES/TERMINAL

Enter sudo apt-get install skype

It will install Skype under Applications/ Internet/Skype

Fix Mic Problem on Aspire One

  • killall pulseaudio
  • sudo apt-get remove pulseaudio
  • sudo apt-get install esound
  • sudo rm /etc/X11/Xsession.d/70pulseaudio




Install Flash

1 09 2009

Ubuntu
sudo apt-get install flashplugin-nonfree

Limpus
# Open a Terminal.
# Become root:

su –
# Install the Adobe repository for yum:

rpm -Uvh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
# Type:

yum install flash-plugin nspluginwrapper.{i386,x86_64} pulseaudio-libs.i386 alsa-plugins-pulseaudio.i386 libcurl.i386





Install VLC

6 07 2009

Limpus

#>su –

#>sudo yum install fedora-release

add both repositories and use yum.
#>wget http://download1.rpmfusion.org/free/fedora/updates/8/i386/rpmfusion-free-release-8-6.noarch.rpm
#>wget http://rpms.kwizart.net/kwizart-release-8.rpm

#>sudo rpm -U *release*rpm
#>yum install vlc

Ubuntu

sudo apt-get update

sudo apt-get install vlc vlc-plugin-esd





Commands

19 04 2009

Change to root
su – root

Create Alias for frequently used commands
edit in /etc/bashrc
alias setMyClassPath=’export CLASSPATH=$CLASSPATH:/mnt/home/java/build/classes/’

change folder permission

sudo chmod -R 777 \directory





Setting Classpath

19 04 2009

Set ClassPath
export CLASSPATH=$CLASSPATH:/java/build/classes/

Set Path
export PATH=$PATH:/mnt/home/jdk1.6/bin/