You are not logged in.

#1 2008-03-28 18:13:45

pufosme
Member
Registered: 2008-03-28
Posts: 5

apache php mysql installation on arch

does anyone have a tutorial on how to install :

- apache
- php
- mysql
on Archlinux

i have installed apache
pacman -S apache
pacman -S php
pacman -S mysql

but apache won't start : /etc/rc.d/httpd start - it gives me FAIL
and when i try httpd it give a nasty error

httpd: arp_sockaddr_info_get() failed for pufos (pufos - the linux box name)
httpd: Could not reliably determine the server's fully qualified domain name , using 127.0.0.1 for ServerName

is because i didnt configureg good httpd.conf or what
anyway , a tutorial for installing apache php and mysql would be perfect.

Thank guys

Offline

#2 2008-03-28 18:23:03

pestilence
Member
From: Athens
Registered: 2008-03-16
Posts: 53
Website

Re: apache php mysql installation on arch

Check your configuration, also make sure you /etc/hosts contains your pufos in the first line (127.0.0.1)  smile

127.0.0.1     localhost.localdomain      localhost    pufos

Last edited by pestilence (2008-03-28 18:24:55)

Offline

#3 2008-03-28 19:18:40

pufosme
Member
Registered: 2008-03-28
Posts: 5

Re: apache php mysql installation on arch

thanks man , but why didnt it started without that ?? tongue

and now i have installed php through pacman, it doesn;t autoconfigure apache to load php right ?
bleah

Offline

#4 2008-03-28 19:19:56

pufosme
Member
Registered: 2008-03-28
Posts: 5

Re: apache php mysql installation on arch

and anothrt question , what i did wron , because my "shutdown" and "reboot" command aren't working anymore sad uffff

Offline

#5 2008-03-28 19:28:04

pufosme
Member
Registered: 2008-03-28
Posts: 5

Re: apache php mysql installation on arch

pacman -S mysql

/etc/rc.d/mysqld start

:: Adding mysql group 
/etc/rc.d/mysqld: line 14: groupadd: command not found

:: Adding mysql user
/etc/rc.d/mysqld: line 19: useradd: command not found
chown: 'mysql.mysql': invalid user

:: Starting MySQL                 [FAIL]

omg , if the mysql installed through pacman get stuck cause 'useradd' does not exist as a command .... huuuh

??? any sugestions ?

Offline

#6 2008-03-29 01:26:01

pufosme
Member
Registered: 2008-03-28
Posts: 5

Re: apache php mysql installation on arch

anyone ???

Offline

#7 2008-03-31 14:17:48

Fletch
Member
From: Ukraine
Registered: 2007-09-03
Posts: 14

Re: apache php mysql installation on arch

Offline

#8 2009-07-03 10:49:38

jargoman
Member
Registered: 2008-03-10
Posts: 33

Re: apache php mysql installation on arch

Sorry to bring up an old post but I know the solution for those googling an answer.  It' s quite simple. As root run...

source /etc/profile.bash

groupadd: command not found--  is due to /usr/sbin not being in the $PATH variable.

Last edited by jargoman (2009-07-03 11:24:21)

Offline

#9 2012-04-13 19:18:37

heimer16
Member
Registered: 2012-03-15
Posts: 20

Re: apache php mysql installation on arch

delete

Last edited by heimer16 (2012-04-13 19:26:32)

Offline

Board footer

Powered by FluxBB