Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-19-2013, 07:41 AM
|
#1
|
LQ Newbie
Registered: Nov 2013
Distribution: Slackware
Posts: 7
Rep:
|
Install apache, mysql etc.
Hi all
I`am a new user and and can not find how to install apache and mysql. I now that slackware comes with DB named MariaDB. What is this DB like ? Is it same like MySQL ? I need a DB because i`m learning programing with Java.
|
|
|
12-19-2013, 07:46 AM
|
#2
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,465
|
if you have made a full install (the supported one) they are already installed: you have just to configure them
http://www.slackware.com/~mrgoblin/slackware-lamp.php
mariadb is a mysql fork, but it's a drop-in replacement (commands and configuration files are the same).
|
|
|
12-19-2013, 08:56 AM
|
#3
|
LQ Newbie
Registered: Nov 2013
Distribution: Slackware
Posts: 7
Original Poster
Rep:
|
I read this link but i hava a problem with restarting httpd server. When i restart it gives me this error : AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message. I make all things from the first step ant when i write localhost it greeted me with It Works ! but when i made index.php file i htdocs and try to load localhost/index.php appears a white page.
|
|
|
12-19-2013, 09:21 AM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,465
|
Quote:
Originally Posted by Goodfellas
I read this link but i hava a problem with restarting httpd server. When i restart it gives me this error : AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message.
|
that's just a warning.
if you want to get rid of it run the command
it will output your hostname: enter it as the argument of the line of /etc/httpd/httpd.conf that begins with the string "ServerName".
Quote:
I make all things from the first step ant when i write localhost it greeted me with It Works ! but when i made index.php file i htdocs and try to load localhost/index.php appears a white page.
|
how to enable php is explained in the second part: it's a three parts tutorial.
Last edited by ponce; 12-19-2013 at 09:24 AM.
|
|
|
12-19-2013, 01:44 PM
|
#6
|
LQ Newbie
Registered: Nov 2013
Distribution: Slackware
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by ponce
it's a three parts tutorial.
|
I`ve read the 3th part but in the begining where i have to install mysql (mysql_install_db) it gave me this error:
[ERROR] mysqld: Can't lock aria control file '/var/lib/mysql/aria_log_control' for exclusive use, error: 11 (i have changed the mod to the folder and file).
Quote:
Originally Posted by kikinovak
|
In English please 
|
|
|
12-22-2013, 12:43 PM
|
#7
|
LQ Newbie
Registered: Aug 2013
Posts: 26
Rep: 
|
If I remember correctly, MariaDB must be stopped when you run that, so run '/etc/rc.d/rc.mysqld stop', and then run the install db command.
|
|
|
12-22-2013, 02:27 PM
|
#8
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,465
|
if mysql it's already running, you probably have already installed it: to start from scratch
Code:
/etc/rc.d/rc.mysqld stop
rm -fR /var/lib/mysql
mysql_install_db --user=mysql
/etc/rc.d/rc.mysqld start
|
|
|
All times are GMT -5. The time now is 11:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|