topic title: Web Server Setup
Posts: 5
Porter
Joined: 11 Jun 2009
#1
Hello all,

First, let me say thank you to the developers for this great distro. I have been using this for a couple of days on a Dell Optilpex GX110 (Form Factor) box with a PIII 667 Mhz and 384 MB of Memory. I would like to setup LAMP on this box, but I have never done it before. I have worked extensively on Windows for 10 years and have done many WAMP configurations. I have dabbled in linux, using beginner friendly distros, like Ubuntu, PCLinuxOS, Mepis, and a few others. I have decent knowledge base about linux and how it works. So I wanted to ask some specific questions about setting up LAMP.

1. Do I need to install each component individually (Apache, Mysql, PHP) or is there a LAMP Package available through the package manager?

2. If I have to install them individually, is there a particular order I should use to install them?

I am not that great with the command line, unfortunately windows has made me GUI dependent, but I am trying to get away from that. One of the biggest troubles is installing software in linux having to use the command line to do it, whether it be my inexperience or windows being so easy (just click the .exe file).

I am hoping to be able to install LAMP and then install Joomla, so I figured if someone can help me start, I can get through this with some help. One of the great things about Linux is the User Community, people are very willing to help out as long as you are willing to listen. Well, I appreciate your time and reading this post and look forward to getting started and getting pointed in the correct direction. Everyone have a great day!!
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Welcome to antiX, Porter.

There is a server meta-package which will install apache2.2, php5 and mysql.

System->Meta-Installer->Server->Local webserver

That should be what you need to get started.

antiX already comes with lighttpd. It is lighter than apache.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.lighttpd.net/"
linktext was:"http://www.lighttpd.net/"
====================================
" onclick="window.open(this.href);return false
Posts: 5
Porter
Joined: 11 Jun 2009
#3
anticapitalista wrote:Welcome to antiX, Porter.

There is a server meta-package which will install apache2.2, php5 and mysql.

System->Meta-Installer->Server->Local webserver

That should be what you need to get started.

antiX already comes with lighttpd. It is lighter than apache.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.lighttpd.net/"
linktext was:"http://www.lighttpd.net/"
====================================
" onclick="window.open(this.href);return false
Great! Thanks for the quick response, I will try that out. Can I still use this thread to post questions about the configuration and any setup problems I run into? Thanks so much for your help, it is truly appreciated.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#4
Post here if you like.

Here is a guide that might help.
Start with 4.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://chrisjohnston.org/2009/setting-up-a-llmp-stack-linux-lighttpd-mysql-php5-on-ubuntu-810"
linktext was:"http://chrisjohnston.org/2009/setting-u ... ubuntu-810"
====================================
" onclick="window.open(this.href);return false
Posts: 4
rickmagers
Joined: 19 Dec 2008
#5
I have not done this but since antiX is Mepis-based, check this out:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepis.org/docs/en/index.php/LAMP"
linktext was:"http://www.mepis.org/docs/en/index.php/LAMP"
====================================
" onclick="window.open(this.href);return false and also the MepisLovers thread which points to it here:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepislovers.org/forums/showt"
linktext was:"http://www.mepislovers.org/forums/showt"
====================================
" onclick="window.open(this.href);return false ... web+server

Let us know how it goes. I will doing this soon as well since we run our business website on Joomla.
Posts: 112
chrishall57
Joined: 18 Apr 2009

12 Jun 2009, 22:39 #6

You could also try installing the xampp package from apachefriends. Just unpack it and run it from the directory and I find it much easier to deal with than a collection of php/mysql/apache installs
Posts: 5
Porter
Joined: 11 Jun 2009
#7
anticapitalista wrote:Welcome to antiX, Porter.

There is a server meta-package which will install apache2.2, php5 and mysql.

System->Meta-Installer->Server->Local webserver

That should be what you need to get started.

antiX already comes with lighttpd. It is lighter than apache.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.lighttpd.net/"
linktext was:"http://www.lighttpd.net/"
====================================
" onclick="window.open(this.href);return false
So I did this and it installed everything and prompted me to enter admin passwords for MySQL and PHPAdmin. Now, I am wondering where the lighttpd config file is, so I can set my web directory. Thanks for your help.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#8
lightppd config file is in

/etc/lightppd folder
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#9
If you used the meta installer to get the server stuff then you have apache as well as lighttpd. Of course the choice is yours as to which one to use(you should have been prompted to choose which one to start on boot when you installed it) but lighttpd may or may not do everything you want it to do, apache sure will though.

If you already have experience with apache then you might want to stick with it.
Posts: 5
Porter
Joined: 11 Jun 2009
#10
Everything went pretty well, got everything up and running, the install through the control center was very quick and easy. I am experimenting with Joomla, runs relatively quick considering the low specs of the PC. I am experiencing an issue with my video resolution. I have two Identical boxes, one running AntiX and one running XP, the XP box can get 1280 X 1024 Resolution with the same video card (24" widescreen Monitor), but AntiX only has 1024 X 768 Resolution. I know I need to edit the xorg.conf file, I am just not sure about the code to insert. Help with this would be great, I appreciate everyone's time.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#11
Boot from the live antiX cd and at boot menu, hit F3 and choose the correct resolution.

If it is ok, then copy it to your /etc/X11/xorg.conf on installed partition

(or edit the changes)

make a backup of your xorg.conf on harddrive first though