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 10-08-2012, 08:13 AM   #1
Maris-S
Member
 
Registered: Feb 2010
Location: Latvia
Distribution: Slackware 15.0
Posts: 33

Rep: Reputation: 2
Slackware without DE for web and FTP server.


Hello!

I just installed Slackware 14 for Web, FTP and maybe Samba server, also SSH is necessary, but I decided to remove everything what is for desktop environments, so only command line. I didn't install this package series:

Code:
KDE
KDEI
L
X
XAP
XFCE
Y
So, everything is working, but I noticed that now in apache log there is warning:

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/extensions/gd.so' - libX11.so.6: cannot open shared object file: No such file or directory in Unknown on line 0
but there is no this warning when making default installation.

So I wanted to ask which package series I still have to install?



And one more question, maybe even not slackware related, but after installing Slackware 14 in apache httpd.conf I cannot use - and + options at the same time in one line, I mean before I could use:

Code:
Options -Indexes FollowSymLinks
But now I'm getting error on this:

Code:
AH00526: Syntax error on line 246 of /etc/httpd/httpd.conf:
Either all Options must start with + or -, or no Option may.
I solved this by changing Options line to:

Code:
Options FollowSymLinks
Options -Indexes
but now I'm not sure if I doing this right way? I couldn't find any good answer in google.


Thank you!

Last edited by Maris-S; 10-08-2012 at 08:15 AM.
 
Old 10-08-2012, 09:00 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You have to install the L series, it contains necessary libraries.
 
Old 10-08-2012, 09:06 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
The "slackpkg file-search libX11.so.6" command would have tell you that this file is included in the package libX11 that you did not install but is included in the X series.

So make a full installation or leave alone at most only KDE, KDEI, XFCE and Y. Generally there is no gain and especially no gain in performances in not doing a full install, but more hassle about missing dependencies. Slackware is supposed to work as a full installation.

Last edited by Didier Spaier; 10-08-2012 at 09:18 AM.
 
Old 10-08-2012, 09:19 AM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Even on a headless server, I usually install the full L and X series, only leaving out KDE, KDEI and XAP (and XFCE since the latest release).

Y is vital for a server, though.
 
1 members found this post helpful.
Old 10-08-2012, 10:09 AM   #5
Maris-S
Member
 
Registered: Feb 2010
Location: Latvia
Distribution: Slackware 15.0
Posts: 33

Original Poster
Rep: Reputation: 2
Thank you for your answers. Well it looks like easiest way would be to install everything. I think I will try not to remove L and X package series from my list in my first post.

I also managed to write apache directory options in one line, now I have:

Code:
Options -Indexes +FollowSymLinks
I'm not sure since when I have my backup httpd.conf file where I have line

Code:
Options -Indexes FollowSymLinks
but it looks like now apache do not allow to use + or - symbols within one options line, if one option has this signs then the rest options should have it either. Maybe it was changed in some version and I missed it.
 
Old 10-08-2012, 01:22 PM   #6
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
If you really want to have a lighter system, you can eventually do without L and N, and then hunt down missing libraries with George Vlahavas' nifty 'depfinder' tool:

http://depfinder.sourceforge.net/

Gave it a spin some time ago. Works nice.
 
Old 10-08-2012, 01:39 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Maris-S View Post
Hello!

I just installed Slackware 14 for Web, FTP and maybe Samba server, also SSH is necessary, but I decided to remove everything what is for desktop environments, so only command line. I didn't install this package series:

Code:
KDE
KDEI
L
X
XAP
XFCE
Y
So, everything is working, but I noticed that now in apache log there is warning:

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/extensions/gd.so' - libX11.so.6: cannot open shared object file: No such file or directory in Unknown on line 0
but there is no this warning when making default installation.

So I wanted to ask which package series I still have to install?
If I were you, I'd take the easy way: download the Slackware sources and SlackBuild script of the "gd" package, and then compile a new gd package that does not depend on X - using Slackware's own SlackBuild script.
Code:
links -c "open http://slackware.osuosl.org/slackware-14.0/source/l/ ; mirror gd"
cd gd
BUILD="4_nox" ./gd.SlackBuild
upgradepkg /tmp/gd-*-4_nox.txz
By giving your new package a build tag of "4_nox" you will be able to differentiate it from the stock Slackware package.
And if you are using slackpkg to keep your system up-to-date, you can add this line to "/etc/slackpkg/blacklist" to prevent your new gd package from being overwritten by Slackware's own version:
Code:
[0-9]+_nox
Eric
 
Old 10-08-2012, 02:14 PM   #8
mariostg
Member
 
Registered: Apr 2011
Location: Gatineau, Quebec
Distribution: OpenBSD
Posts: 80

Rep: Reputation: 5
Haven't played with php for a while, but If you don't need the gd library, which is very possible, comment the line extension=gd.so in /etc/httpd/php.ini. See how that goes.
 
Old 10-09-2012, 02:52 AM   #9
Maris-S
Member
 
Registered: Feb 2010
Location: Latvia
Distribution: Slackware 15.0
Posts: 33

Original Poster
Rep: Reputation: 2
Thanks for answers again.

Thanks Eric for suggestion, I compiled gd package, but still getting the same warning, and library is not loaded. I think I will install full installation, just to be sure that everything is working. I'm just curious why gd library didn't work for me, after I recompiled it?

I see that during start up there are some other warnings about missing libraries, looks like GTK related. I think web server would work fine without them, but anyway it's better to have all dependencies installed. It would be too time consuming for me to find all dependencies.

Kikinovak, thanks for link, I will check, looks like it can be useful.

Mariostg, gd library will be necessary.
 
  


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
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 05:14 PM
iptables rules for web server email server,ftp and ssh,please help lightwing Linux - Networking 1 03-25-2009 08:58 PM
How to monitor web server, FTP server, Mail server and database server vodka33us Programming 1 06-16-2008 04:20 AM
LXer: Backup MySQL databases, web server files to a FTP server automatically LXer Syndicated Linux News 0 08-11-2006 09:54 PM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM

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

All times are GMT -5. The time now is 05:56 AM.

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