Install xampp di ubuntu 14.04 memakai ubuntu 32 bit


Buka terminal ctr + Alt + f2

1.  wget "https://downloads.sourceforge.net/project/xampp/XAMPP%20Linux/5.6.20/xampp-linux-5.6.20-0-installer.run"

sudo su chmod +x xampp-linux-5.6.20-0-installer.run

2. ./xampp-linux-5.6.20-0-installer.run


Once installaition is done .It will be installed in cd /opt/lampp directory. 

Now you can start Xampp services using the following command.

3. sudo apt-get install phpmyadmin

masukan username root password root

yang perlu diingat apace harus sudah diaktifkan

4. sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf

5.sudo a2enconf phpmyadmin

6.sudo service apache2 reload


Jika terjadi Not found

ketikan perintah dibawah ini

Open your terminal and select the dir where lampp is located and write this command:

sudo /etc/init.d/apache2 stop 

and then type this

sudo /opt/lampp/lampp start 

Eror phpmyadmin permision denied

buka terminal cd opt/lampp

sudo /opt/lampp/lampp stop

buka terlebihi dahulu pemision denied dengan

sudo chmod 777 /opt/lampp/phpmyadmin/config.inc.php

buka file sesuai di atasdan isikan sesuai dibawah ini

1.Open root XAMPP file directory C:/XAMPP/phpmyadmin/config.inc and scroll down to :

$cfg['Servers'][$i]['host']='127.0.0.1';

$cfg['Servers'][$i]['connect_type']='tcp';

2.Edit "127.0.0.1" of line 27 to localhost with your port number as in e.g localhost:80.

Result :

$cfg['Servers'][$i]['host']='localhost:80';

3.Remove pma from , ['controluser'] = 'pma'.

Result:

$cfg['Servers'][$i]['controluser']='';

Then finally attempt access with localhost or refresh page. Happy =]D

Tutup kembali file uang kita buka tadi

sudo chmod 755 /opt/lampp/phpmyadmin/config.inc.php

Aktifkan kembali

sudo /opt/lampp/lampp start

10) Now test Xampp in your browser [Firefox/Chrome]
http://localhost/ [or] http://localhost/phpmyadmin 

11) To Stop the service using  the following command

sudo /opt/lampp/lampp stop


Jika saat menginstall wordpress eror try again hal yang harus dilakukan adalah mengisi for host sesuai

 /opt/lampp/phpmyadmin/config.inc.php

yaitu 127.0.0.1