LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-12-2005, 07:06 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Apache in Slackware 10.1


Has anyone upgarded to Apache2 on their Slack machine? I noticed mine came with an older version of Apache 1.3 and would like 2.0 installed on my machine. I checked out:
http://httpd.apache.org/docs-2.0/install.html
but am not sure how exactly to do the upgrade. Has anyone done this on their Slack machine and I was wondering how difficult it was.

Also, I am unable to find the way I can stop | start | restart the httpd server using CLI. Before I was able to go straight as root and type:

#service httpd start | stop | restart

Thanks for any assistance...
 
Old 06-12-2005, 07:17 PM   #2
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
As root,
Code:
sh /etc/rc.d/rc.httpd start|stop|restart
 
Old 06-12-2005, 08:41 PM   #3
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
My server is running Slack 10.1, with Apache 2, MySQL, PHP, and Sendmail compiled from source. I was even able to use the Slack Apache start/stop script, but I needed to create a symlink first:

Code:
lrwxrwxrwx  1 root root 32 2005-05-30 19:35 /usr/sbin/apachectl -> /usr/local/apache2/bin/apachectl*
 
Old 06-13-2005, 03:21 AM   #4
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Here's a guide that might help,

http://www.linuxquestions.org/questi...ware+guide+amp
 
Old 06-13-2005, 08:55 AM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally posted by cathectic
As root,
Code:
sh /etc/rc.d/rc.httpd start|stop|restart
I am not sure why this is not working now...I get this error:

Code:
root@slackbox:/mnt/cdrom# sh /etc/rc.d/rc.httpd start
[Mon Jun 13 09:55:07 2005] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
/usr/sbin/apachectl start: httpd could not be started
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware 10 and apache xviddivxoggmp3 Slackware 4 08-01-2004 08:10 PM
Slackware and Apache Gerardoj Linux - Software 4 11-06-2003 08:06 PM
Slackware and Apache DragonHrt Slackware 2 04-08-2003 10:46 AM
Apache 2.0 and Slackware szronik Linux - Software 1 03-27-2003 08:23 AM
Apache 1.3.26 for Slackware 8.0 PeteRossi Slackware 3 06-25-2002 05:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration