PDA

View Full Version : [ubuntu] How can I set up apache web server



hoboy
March 9th, 2010, 02:16 PM
I have installed XAMPP on my a computer, and I have developed a website
how can I configure xampp to deploy the website ?
I have also heard of httpd where is it on xampp ?
I want to set up apache server and deploy my web site...
I just don't know how to do this.

mavl4219
March 9th, 2010, 05:22 PM
Your story is a bit confusing...

XAMPP is a complete solution containing: Apache, PHP, MySQL and Perl.

I haven't used XAMPP before (i allways setup my own development environment), but if you put files to /var/www (on Linux), then web server should serve your files if you request http://localhost from your web browser.

NullHead
March 9th, 2010, 06:26 PM
Ideally, you'd want to use a LAMP server, (Linux, apache, mysql, php).
sudo tasksel install lamp-server

Place your web documents in /var/www, access your mysqldb with phpMyAdmin
sudo apt-get install phpmyadimnhttp://yoursite.com/phpMyAdmin

Depending on the configuration of phpymadmin, the url might be http://yoursite.com/phpmyadmin (http://yoursite.com/phpmyadmin) or http://yoursite.com/phpMyAdmin (http://yoursite.com/phpMyAdmin)