Thursday, February 22, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2838  / 10 Months ago, sun, may 14, 2023, 9:57:48

In Windows,i used WAMP and adobe dreamweaver.
In Ubuntu,i am planning to use bluefish editor.
I hear that WAMP server equivalent is LAMP in ubuntu.
I need detailed and simple explaination to install LAMP server in ubuntu.
I am a beginner,so make it simple as you can.


More From » server

 Answers
3

1. Installing and setting up the LAMP stack



  1. Open Terminal by hitting Ctrl+Alt+T

  2. Update the apt cache and install lamp-server^ by running sudo apt-get update && sudo apt-get install lamp-server^ (you should be able to go through the on-screen setup; it's just a matter of setting up the mysql root password)


2. Installing and setting up PHPMyAdmin



  1. Open Terminal by hitting Ctrl+Alt+T

  2. Update the apt cache and install phpmyadmin by running sudo apt-get update && sudo apt-get install phpmyadmin (you should be able to go through the on-screen setup; it's just a matter of providing the mysql root password, setting up the phpmyadmin password and choosing which DBMS you want to configure, i.e. mysql)


3. Setting up Apache for PHPMyAdmin



  1. Open Terminal by hitting Ctrl+Alt+T

  2. Add this line (Include /etc/phpmyadmin/apache.conf) to /etc/apache2/apache2.conf by running echo 'Include /etc/phpmyadmin/apache.conf' | sudo tee -a /etc/apache2/apache2.conf

  3. Restart apache by running sudo service apache2 restart


Finally, test Apache and PHPMyAdmin to see if everything went right;


Test Apache by opening http://localhost in your web browser; if everything went right you should see this:


apache


Test PHPMyAdmin by opening http://localhost/phpmyadmin in your web browser; if everything went right you should see this:


phpmyadmin


[#18950] Tuesday, May 16, 2023, 10 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dileble

Total Points: 169
Total Questions: 105
Total Answers: 141

Location: Sao Tome and Principe
Member since Wed, Dec 29, 2021
2 Years ago
;