How To Install And Configure Cherokee Web Server With PHP 5 And MySQL 5 Support On Ubuntu 8.10 Server (Intrepid Ibex)
How To Install And Configure Cherokee Web Server With PHP 5 And MySQL 5 Support On Ubuntu 8.10 Server (Intrepid Ibex)From http://www.cherokee-project.com/:
1) Preliminary noteI'm using a Ubuntu 8.10 server system installed according to steps 1-3, 5, 7 and 8 described in that howto: http://www.howtoforge.com/perfect-server-ubuntu-8.10. I also use the expression "serveripaddress" for server's ip address. You should replace it with your own. You should take every step of this howto logged in as root.
2) Install MySQLYou need a database server to run PHP scripts that use MySQL to manage data stored in user's databases. You can install it (and the client) by entering: apt-get install mysql-server-5.0 mysql-client
3) Set MySQL's root user passwordBefore using MySQL a password should be set for the root user. You will be prompted for it after the server gets installed. Remember that without setting root's password everyone can access every database on your MySQL server.
4) Install PHPPHP is a scripting language used to run scripts that can do lots of different things on the server side. You can install it like this: apt-get install php5-cgi PHP has an interface to MySQL server that can be installed by entering the following: apt-get install php5-mysql
5) Install some needed packagesWe will compile Cherokee from sources so we'll need a C++ compiler and some other usefull packages: apt-get install cpp gcc g++ make
6) Download, compile and install Cherokee web serverDownload Cherokee to /tmp: cd /tmp When I wrote this text Cherokee 0.11.0b2449 was the latest snapshot version which means it's in beta state so there still might be some errors. You could download and use a stable version from http://www.cherokee-project.com/download/ instead as well. Unpack the downloaded archive: tar -zxvf cherokee-latest-svn.tar.gz and enter the new directory: cd cherokee-0.11.0b2449 Now it has to be configured the way we need. This is the recommended way: ./configure --localstatedir=/var \ Compile Cherokee: make and install it: make install An error like "configure:error:no acceptable c compiler found in $path" most likely means that there is no C compiler installed or it's not in the system path. You should then make sure to install everything described in step 5 and everything will work fine.
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com
Red Hat Virtual Experience - a free virtual event. Dec. 9th





print: 
Recent comments
12 hours 12 min ago
17 hours 28 min ago
17 hours 39 min ago
17 hours 47 min ago
18 hours 49 min ago
20 hours 57 min ago
23 hours 22 min ago
23 hours 40 min ago
23 hours 49 min ago
1 day 1 hour ago