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.
Reply
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.
Reply
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.
Reply
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.
Reply
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?
Reply
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?
Reply
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=
Reply
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?
Reply
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.
Reply
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>
Reply
Similar Topics
Keywords : installing apache mysql php debian- Mysql, Php, Apache Downloads And Setup Was A Nightmare
- Mysql, PHP, Apache (9)
- Installing Firefox With Plugins
- (6)
Hi there guys, Im making a package for novice web designers, it uses firefox and plug-ins. My
question is, How would i make these plugins already part of a firefox installation? I would also
want the homepage to be different form the auto installed one, Anybody got any ideas? cause i am
stumped! /dry.gif" style="vertical-align:middle" emoid=" Please someone help i really am
desperate for this! /huh.gif" style="vertical-align:middle" emoid=":huh:" border="0"
alt="huh.gif" />...
Free Access To Mysql Database Converter
- Free Access to MySQL Database Converter (1)
QUOTE DB2MYSQL Converter is a totally free software that will convert Microsoft Access Databases
to MySQL. It’s easy fast and accurate MS Access to MySQL Database Converter easily converts database
records of Microsoft MS Access databases to MySQL server. DB2MYSQL is very easy to use, just follow
the simple screens and let the program automatically do all the work for you. We use a very fast
conversion algorithm to provide you with the best possible performance level. Its Features include:
Supports common MySQL data types and attributes. Supports common MS Access c...
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!...
Xampp Virtual Hosts Failing
- Problem with Apache Server set-up (6)
Thanks for any assistance you might be able to provide. As per the topic title, I am having
difficulties getting a Virtual Host set up on my machine. XAMPP by itself is okay, in fact it runs
perfectly except with several projects on my Local machine for testing purposes only, I wanted to
avoid everything being accessed through the localhost/sub-folder method. I would like to go direct
to the folder in the htdocs folder etc, blah, blah. You know what I mean... I have been to the
sites reccomended by other topics and have tried several different things which have all bee...
Help With Installing Sims 2
- previous copy uninstalled for new installation (8)
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,...
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....
Good Php, Mysql, Perl, Postgresql, Html, Css Etc For Linux?
- Going to the good side, but dont really feel like emulating ZDE... (2)
Im going over to the good side, (getting Ubuntu next Monday), and need a good PHP++ editor for
Linux. There are just so frikken many out there that it is scary. Prefferable with minimal HTML
WYSIWYG editor, and parsing preview (similar to what ZDE has, maybe?) Anyone got any Ideas to share
with a n00b? I feel very small at the moment /sad.gif" style="vertical-align:middle" emoid=":("
border="0" alt="sad.gif" /> And no, it will be running most of the day, so dont say to emulate
some window thing... /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" a...
Apache Http Server
- Setup (4)
I have apache http server setup on my machine now.For awhile I had it setup to use locally,but never
could figure out how to use it to server globally now I am able to do such a thing.There is quite a
bit for me to learn yet about the darn thing. I found a good link that I would like to share with
those that have tryed in the past,and failed hopfully this may shed some light for you as it has for
me.Also if you have been trying to run your own server on your machine,and cannt quite figure out
how to still feel free to PM me ,and i will do my best to get you up and runnin...
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...
The Uniform Server
- php, perl, apache, and mySQL for Win32 (5)
Hi folks, nice place you've got here. I hope to stick around for a while. Hopefully this topic
is new. I checked the archives and didn't see a match. I ran across a bundle of php, perl,
apache, mySQL, and phpMyAdmin, and I must say that it rocks. Once this baby is installed you are
four mouse clicks away from a gui to a live mySQL database. Okay, so you have to count a
double-click as a single click, and I'm not including opening the folder, but that's still
not too bad. It easily fits on even the smallest of USB drives, and executes without fanf...
Run Apache Securely On Windows
- How can I restrict all remote access? (2)
I've established an Apache 2.0 server on my laptop that I want to use to test new features of my
website before I make them public. I'm nervous about security and random attacks and just want
to feel assured knowing that no one can access my Apache server remotely. I'm running Windows
XP and have Windows firewall protection enabled. Is that enough? What types of changes do I need to
makes to the "conf/httpd" configuration or other files in the Apache directory? Basically, what
settings do I need to enable to restrict all remote access to the localhost Apac...
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
Mysql, Php,
Apache
Downloads
And Setup
Was A
Nightmare
Mysql, PHP,
Apache | Installing
Firefox With
Plugins | Free Access
To Mysql
Database
Converter
Free Access
to MySQL
Database
Converter | Installing
Php5(my Sql)
And Apache
On Windows | Xampp
Virtual
Hosts
Failing
Problem with
Apache
Server
set-up | Help With
Installing
Sims 2
previous
copy
uninstalled
for new
installation | Having
Problems
Installing
Apache2 On
Linux Any
tux lovers
to help me
out? | Macromedia
Flash Player
8 Help
installing
it... | Good Php,
Mysql, Perl,
Postgresql,
Html, Css
Etc For
Linux? Going
to the good
side, but
dont really
feel like
emulating
ZDE... | Apache Http
Server Setup | Windows Xp
Sp2 On A Cd?
Make
installing
windows
Easier
(slipstr) | The Uniform
Server php,
perl,
apache, and
mySQL for
Win32 | Run Apache
Securely On
Windows How
can I
restrict all
remote
access? | Help With
Linux Slax
Installing | Installing A
Server On
Linux?,
Doesn't
Seem To Wor |
|
advertisement
|
|