realthor
Mar 13 2006, 01:06 PM
Hi guys, i'm not much of a programmer and try for 3-4 days to install on my KANOTIX Apache, MySql and PHP. At each of them i have issues and can't go further without some help. So please help me here. I'll take them in row. First i installed apache with apt-get and got installed the following apache2, apache2-common, apache2-mpm-prefork, apache2-utils, libapache2-mod-php5 and some other apache libraries(libxalan2-java, libxerces2-java, libssl0.9.8, libservlet2.3-java, libjaxp1.2-java)-guess these not being important, perhaps were here in Synaptic before installing apache2. I followed the tutorial here: http://allyourtech.com/content/articles/16...ebian_linux.phpand it seems that everything should work, but i have a few problems or misunderstandings: first when i tested apache if properly installed i wrote as root etc/init.d/apache2 start and got the following answer: Starting apache 2.0 web server...apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName. I suppose because i don't have a domain name but i don't need one as i only want to test CMS locally. Then when i write in a browser http://127.0.0.1/apache2-default/ i get the right page and if i write http://localhost/apache2-default/ i get the same. But i learned that the apache server looks also in users' dirs like /home/user/public_html/ if created. So i created one as root and pointed the browser to my user's index.html at http://localhost/home/thor/public_html/ but i get the error: The requested URL /home/thor/public_html/ was not found on this server.Should i load a module from mods-available to mods-enabled? cause i've seen in mod-available 2 modules called userdir.conf and userdir.load. And if so how can i do that? So how can i be 100% sure my apache2 install is right? Because i need to know everything is ok before installing php so potential errors there won't be suspected as apache's erors. The same with mysql.
Comment/Reply (w/o sign-up)
Saint_Michael
Mar 13 2006, 02:46 PM
well since Im not much of a linux user what I do recommend is getting xampp for a linux computer and run that, xamp install everything for you without to much editing and also you can run and stop apache, mysql and php with a click of a button. or download this with its more easier navigation when setting up or own server. http://www.mywebserver.org/us/downloads/. But If the linux pros know how to fix your problem do that first then go to my recommendation if no solution can be found.
Comment/Reply (w/o sign-up)
jlhaslip
Mar 13 2006, 06:02 PM
Look in the Tutorial section for a Tutorial about the installation of XAMPP and Tyssen posted a link to a method to allow you to access folders other than the php root as locally addressed addresses by setting them up as Local to your machine. I haven't followed it up yet, so I forget the details.
Comment/Reply (w/o sign-up)
realthor
Mar 13 2006, 11:45 PM
I've made myself a little time to dirch the net for an answer and learned this was a bug in the apache2 as it fails to load userdir.conf and userdir.load modules from mods-available to modules-enabled, but i didn't tried yet to make some simlinks from mods-enabled to the module in mods-available because i don't know if it's the way to go as i've read on apache bugzilla it's not necessary or similar. I've read things about apache on the forum, in the xamp thread too but didn't seem to find anything helpful there. I really wouldn't like to rely on xamp because i am a little geek and i want to get my hands dirty a little bit with .confs and thus i can learn of how apache works. Thanks and perhaps now, that i've insulated the problem, someone could give a help.
Comment/Reply (w/o sign-up)
realthor
Mar 15 2006, 01:10 AM
I seem to have succeded by making those 2 simlinks for userdir.conf and userdir.load from mods-available to mods-enabled. The commented line of #UserDir public_html from apache2.conf seems to be of no use unless one wants apache to look in other default folder but public_html. I've found this interesting because even with the line commented with # apache2 would look into my /home/thor/public_html/ for my index.html -even if i write in the browser localhost/~thor/ . If i uncomment it and change public_html to let's say public_htm apache considers the line. Ok, now one question remains which i'd so much like answered, namely: when i start apache i get this line before it starts: apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerNameWhat should i do to get rid of it, or it's normal when i set up the server locally? Perhaps i should set somewhere a virtual domain name for apache to use when starts...but then, what if i have a few virtual domains i work at?
Comment/Reply (w/o sign-up)
jlhaslip
Mar 15 2006, 03:55 AM
Did you read the posting by Tyssen about setting up virtual domains? At the end of the xampp tutorial?
Comment/Reply (w/o sign-up)
Tyssen
Mar 15 2006, 04:03 AM
QUOTE(jlhaslip @ Mar 15 2006, 01:55 PM)  Did you read the posting by Tyssen about setting up virtual domains? At the end of the xampp tutorial?
Dunno how useful that'll be as it refers to Windows configuration, but in case it does help: http://www.trap17.com/forums/index.php?showtopic=34317&hl=
Comment/Reply (w/o sign-up)
realthor
Mar 15 2006, 05:29 PM
Sorry if i was not so clear about my question, i was asking about setting a virtual domain would help get rid of that message or it is caused by other missconfigurations?
Comment/Reply (w/o sign-up)
realthor
Mar 15 2006, 11:05 PM
Ok, forum must be slow but not getting any answer i did it myself. Don't really have enough time for these things but now i set my mind into getting this done. The solution vas very simple indeed, and i needed only to write in my httpd.conf the following line: ServerName thor:80 , thor beeing the name i write in browser and 80 the port apache listens to.
Comment/Reply (w/o sign-up)
Tyssen
Mar 16 2006, 03:01 AM
QUOTE(realthor @ Mar 16 2006, 09:05 AM)  The solution vas very simple indeed, and i needed only to write in my httpd.conf the following line: ServerName thor:80
Which is essentially the same as this that I posted in the thread I linked to above: CODE <VirtualHost *:80> DocumentRoot C:/PathtoYourFolder ServerName thor </VirtualHost>
Comment/Reply (w/o sign-up)
Recent Queries:--
debian apache mysql php virtual - 98.81 hr back. (1)
-
php userdir debian - 185.25 hr back. (1)
Similar Topics
Keywords : installing, apache, mysql, php, debian
- Installing Firefox With Plugins
(6)
Installing Php5(my Sql) And Apache On Windows
(6) I am trying all day to install PHP5 and Apache 2.0 on my desktop, but it just didn't work. I
tried all tutorials to try and make them work but it never did. Please If someone has a good one,
that 100% guarenteed to work, then please post it back. Thanks!....
Help With Installing Sims 2
previous copy uninstalled for new installation (9) Hey everyone. I've gone without the Sims 2 for a while now and I just went out and spent $50 for
another copy of it. Well I uninstalled my other copy since I cracked the first disk of it and I
couldn't get a no-cd patch to work. Then I installed my new copy and when I put the first disk
in, it starts up but after that nothing happens and the Sims 2 white screen that pops up disapears.
And when I open up Task Manager, Sims2.exe just drops off the list, and when I press the Sims 2 icon
on my desktop, the white screen comes up again and after that the infamous, "The....
Having Problems Installing Apache2 On Linux
Any tux lovers to help me out? (2) I am installing Apache 2 on Ubuntu Linux 6.06 (downloaded appropriate binary), and have followed the
instructions from several places, including apach.org... I have got to the point where it says to
enter make , just after the ./configure --prefix=/usr/local/apache2 , where I also added
--enable-mods-shared=most , for the common options. That all went fine, took a little while, then
when it's done I am supposed to enter make , I presume to gather up all the newly created
files. This command just does not exist. returned bash error and it is not in the manual.....
Macromedia Flash Player 8
Help installing it... (6) Four days ago I formatted my computer and have been installing all of my applications. I went to the
Macromedia site and installed flash player, and the movie is shown saying that it has installed
succesfully. However, if I go to a website that hosts flash player 8 content, It usually does not
display correctly and it tells me to go download the new player. No matter how many times I
re-install the player through the Macromedia website it does not "take". Any Ideas? Is there
anywhere I can get Flash Player 8 from as a .exe I can run and install? Thanks in advance.....
Windows Xp Sp2 On A Cd?
Make installing windows Easier (slipstr) (5) Almost everyone of us have installed windows If our system is a bit old I think it will take About
half an hour for reinstalling windows XP If you are conscious about the security of your computer
you must install windows XP service pack 2 (SP2). I think that you people will agree with me in
this matter. I think that installing service pack 2 Consumes more power than installing XP For me
for installing XP It will take about 18 minutes Service pack 2 will take about half hours
Installing SP2 is the most boring part of the windows reinstallation I tried to find a wa....
Help With Linux Slax Installing
(5) So I burned it to a disk when I boot up my combuter with the disk in as I should it says "No
operating systems found". Help please....
Installing A Server On Linux?, Doesn't Seem To Wor
(3) I've been trying to install a server on my Mankdrake 10 linux distro machine, but it has failed.
I followed a book, I followed several "install mysql" tutorial stuff and it doesn't seem to
work. I am new to linux and I have never had even an RPM work on this computer. Its not a slow
computer, but it runs a 1.7g Intel Celeron, 300+ Ram (256 + 128), built in graphics and sound -
sound doesn't work, and screensavers are slow as hell. I think the os has lots a problems with
the hardware (duh), and I'm not sure where to get drives (not that ill be able to use....
Looking for installing, apache, mysql, php, debian
|
Searching Video's for installing, apache, mysql, php, debian
|
advertisement
|
|