Installing Koha 3.0 on Ubuntu 8.10
LAMP Server
The next step is to set up your Ubuntu machine as a Linux, Apache, MySQL, and PHP (LAMP) server. Koha requires this foundation of system services.
Update Ubuntu
Before going any further you should patch your machine with the latest updates. Ubuntu checks for updates automatically, so by this time you might see a red "updates available" arrow in the upper right corner of the screen. If so click it:
Otherwise you can invoke the update manager manually, installing all available updates. Once you open the Update Manager it might say "Your system is up to date" but you can't necessarily believed that. You need to make it check for available updates first by clicking the "Check" button. Then install all updates.
Install LAMP Support
After updating Ubuntu, restart Linux before installing LAMP.
One easy way to install LAMP support is to use the Synaptic Package Manager. Synaptic lets you install an astonishing array of free software. You can access it from System > Administration:
From Synaptic choose the Mark Packages by Task option:
Select LAMP Server:
Then click the "apply changes" checkmark:
As part of the installation process Ubuntu will prompt you for a password for the MySQL root user. (The user account you create this way won't be a Linux user account but a MySQL user account.) Remember your password since you'll need to provide MySQL root login information later.
When the installation finishes, your Ubuntu machine will be an Apache web server supporting PHP, and a MySQL database server.
Configure Apache
We need to make a few small changes to the web server's configuration. Open a terminal session and sign is as a superuser—a user with the highest level of privileges, aka root access. If you only created one user when you installed Ubuntu, that user is your root user.
sudo su
Next give your web server a name. To do this, access the terminal console and enter this command to edit the Apache configuration file:
gedit /etc/apache2/apache2.conf
Once you are in the editor add these lines to the top of the file then save and exit. Replace YourSiteName with the name you want to give this Koha server.
#Define the server's name
ServerName "YourSiteName"
These lines will prevent a benign error message when restarting Apache. Enter the following commands to restart Apache 2 and accept the new settings. If all went well you should see no error messages.
/etc/init.d/apache2 restart
Finally, if you want to be sure your system will properly support multinational character sets through Unicode, the Koha installation instructions include the following note.
If you're not concerned about this for purposes of setting up a demonstration Koha server you can skip ahead.
1.2 Set up your locale
Your locale should be set to UTF-8, as should Apache2 and MySQL 5.
This step is VERY IMPORTANT for a UNICODE compliant system. Please
read over the following document carefully: http://wiki.koha.org/doku.php?id=encodingscratchpad
IMPORTANT: You _MUST_ follow all the steps outlined there for Apache2, MySQL 5, etc. BEFORE you install Koha.
