LAMP Stands for Linux, Apache, MySQL, MariaDB, MongoDB, PHP, PERL, PYTHON, PhpMyAdmin. LAMP is combination of operating system and bunch of open-source software which is developed by different organizations. In this tutorial, we will show you about LAMP Stack installation On openSUSE Leap 42.1.
Additional Articles from openSUSE
- openSUSE Upgrade from openSUSE 13.2 to openSUSE Leap 42.1
- openSUSE Leap 42.1 Review
- Top 10 Things to do after fresh installation of openSUSE Leap 42.1
1) Update your system upto date
Use the below command’s to keep your system upto date.
[Update your system to latest package]
$ sudo zypper update
2) Install Apache
Apache is a Free open-source multi-platform web server. It’s support wide range of language such as (.html, .php, .pl, .cgi, etc..,) Apache is developed and maintained by open community of developers under Apache Software Foundation. The default apache directory location in openSUSE are /srv/www/htdocs
[Install Apache] $ sudo zypper in apache2 [Start, enable & check the status of Apache service] # systemctl start apache2.service # systemctl enable apache2.service # systemctl status apache2.service
Open your web browser and navigate to http://localhost/ or http://your-server-ip-address/ or http://127.0.0.1/
You mentioned Mongo in the beginning of the article. Do you know the best way to get 3.x mongo in opensuse 42.1 and on?
@2daygeek, here is the error message. It is inside my first post,
Error
MySQL said: Documentation
Cannot connect: invalid settings.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
@Guru,
Can you please make the below change
from ($cfg[‘Servers’][$i][‘auth_type’] = ‘config’;) to $cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’;
Also make sure you should update correct password.
$cfg[‘Servers’][$i][‘password’] = ‘password’;
Hi,
I am getting error on my phpMyAdmin online GUI webpage. When I go to
http://localhost/phpMyAdmin, I am getting this error below.
Error
MySQL said: Documentation
Cannot connect: invalid settings.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
The only change I did is that I upgraded from MariaDB 5.5 to MariaDB 10.1 just recently. I tried root username and password. It did not work. I tried every step. I even changed the root allow without password inside config.inc.php file. It did not work. Any suggestions as to How can I fix this. I am using opensuse 13.1 and mariadb 10.1
Any help is much appreciated. Thanks in advance 🙂 I have been trying to solve this for 3 weeks.
@Guru,
Before upgrade this was work fine? if so, Can I have the screenshot of error message.
A good tutorial, thank you very much!
@Darko,
Glad to hear, welcome.
Hi
Great article helped a lot.
One point you can just use yast and put ‘lamp’ in the file search bar, much quicker.
Ralph
@Allen,
Yes, I thought to include pattern method too. Will add your suggestion.
Thanks a lot for this really helpful guide!
Just a little comment: At the end of 4., you want to open localhost/phpinfo.php (the file that was just created), not localhost/index.php
@Peter,
Its typo, we have modified. Thank you so much.
The forum is a brhgiter place thanks to your posts. Thanks!
@Rosie,
Welcome.