VectorLinux
September 01, 2014, 08:24:50 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Where to get non repo packages & how to use httpd  (Read 1290 times)
foobar
Member
*
Posts: 2


« on: December 24, 2008, 05:02:30 am »

Hello, i'm new to Vector and also to non rpm distros.

But they are not all available via slapt-get.
can I get some packages from the 5.8 repo? Is there not going to be some dependency hell?

and when I can't find them as VL packages should I just search for slackware 12.2 packages?

I have installed the httpd package with gslapt, now how to start the server?
In fedora I used /etc/init.d/httpd start

and I would also like to install the php-pgsql and python-pgsql pkgs. Any suggestions where to get them?
 
Logged
M0E-lnx
Administrator
Vectorian
*****
Posts: 3179



« Reply #1 on: December 24, 2008, 06:10:41 am »

Hi foobar

Vector can use slackware packages.

I'm assuming you run 5.9, which is based on slack 12.1 12.0. I've found these to be a good source for slack packages
http://packages.slackware.it
http://slacky.eu
Of couse, if it's not on the repos, I prefer to build it myself just because not all external packages are guaranteed to be built to vector standards.

As for your httpd question, I've never used httpd, always used lighttpd but the init scripts for the daemons go in /etc/rc.d/
most likely, for httpd you would do
Code:
/etc/rc.d/rc.httpd start
HTH

Enjoy your stay Wink
« Last Edit: December 24, 2008, 07:53:19 am by M0E-lnx » Logged

Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #2 on: December 24, 2008, 06:30:59 am »

I have installed the httpd package with gslapt, now how to start the server?
Copy the apachectl script that comes with apache2 to /etc/rc.d/init.d and rename it to httpd. Then you can use "service httpd start" (or stop/restart/status, etc). This also make it show up in vasm services, so you can set it to autostart on a runlevel.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
foobar
Member
*
Posts: 2


« Reply #3 on: December 25, 2008, 06:39:51 am »

Thank you for  your replies

but when starting it with service httpd start or doing
root:# apachectl start
in Foobart://etc/rc.d/init.d
then it says:

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(2)No such file or directory: httpd: could not open error log file /usr/logs/error_log.
Unable to open logs


and
root:# find / -name http*
shows only
/usr/bin/httpd
/etc/rc.d/init.d/httpd

shouldn't there be other files like httpd.conf?

I solved this by installing the slackware 12.0 package, now all commands are as I was used to.
« Last Edit: December 27, 2008, 04:08:32 pm by foobar » Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2499



WWW
« Reply #4 on: December 29, 2008, 08:04:22 am »

Glad you solved your problem, you seem to have tried the same package I did at first, which seems to have some directory issues. I ended up compiling my own, into its own /opt/apache2/ hierarchy.
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
adamlau
Member
*
Posts: 15


« Reply #5 on: January 03, 2009, 03:48:00 pm »

Worse come to worse, you can alien packages from other distros. Though I prefer to rpm2tgz and less the package before deciding whether to install, or not.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!