![]() |
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:
KDECode:
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 0So 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 FollowSymLinksCode:
AH00526: Syntax error on line 246 of /etc/httpd/httpd.conf:Code:
Options FollowSymLinksThank you! |
You have to install the L series, it contains necessary libraries.
|
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. |
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. :p |
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 +FollowSymLinksCode:
Options -Indexes FollowSymLinks |
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. |
Quote:
Code:
links -c "open http://slackware.osuosl.org/slackware-14.0/source/l/ ; mirror gd"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 |
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.
|
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. |
| All times are GMT -5. The time now is 04:07 PM. |