LinuxDave

Life, Linux and Crazy Videos

Archive for the 'Apache' Category

5-Minute LAMP Server on Ubuntu

Posted: Tuesday, May 8th, 2007 @ 2:55 pm in Linux, Ubuntu, Apache, MySQL, PHP | No Comments »

This will install a LAMP server in about 5 minutes onto an Ubuntu server:

apt-get install apache2 php5 libapache2-mod-php5 apache2-doc php-pear
apt-get install msyql-server mysql-client php5-mysql
/etc/init.d/apache2 restart

Done!
Your apache conf files are in /etc/apache2/
PHP ini is in /etc/php5/apache2/
Your web root is /var/www/
Enjoy!

Apache from source - Broken echo command

Posted: Tuesday, May 8th, 2007 @ 10:22 am in Linux, Ubuntu, Apache | No Comments »

When installing apache 1.3.37 from source on an Ubuntu server, it mentioned that I had a broken echo command:
root@web02:~/apache_1.3.37# ./configure –prefix=/usr/local/apache
Configuring for Apache, Version 1.3.37
+ Warning: Your ‘echo’ command is slightly broken.
+ It interprets escape sequences per default. We already
+ tried ‘echo -E’ but had no real success. If errors occur
+ […]