Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 4

This guide is provided for users who want to test these in testing environment. Please use this guide at your own risk.

Part 4 will focus on setting up a secondary server as a backup server.

Configure MySQL replication
* For detailed information, please refer to MySQL manual
Create a replication user in primary MySQL server

mysql> GRANT REPLICATION SLAVE ON *.* 
TO 'replication'@'%.mydomain.com' IDENTIFIED BY 'password'

Assign Server ID and enable binary log in primary – phpmyadmin DB will not be replicated (you may want to exclude mysql DB depending on your need) Continue reading “Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 4”

Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 3

This guide is provided for users who want to test these in testing environment. Please use this guide at your own risk.

Part 3 will focus on installing Subversion/Trac and Samba

Install Subversion

aptitude install subversion

Add a group for svn access

addgroup svn

Add users to svn groups

adduser user svn

Create a svn directory and a svn repository

mkdir -p /var/lib/svn/repos
chown user:svn /var/lib/svn/repos
chmod 2775 /var/lib/svn/repos
svnadmin create /var/lib/svn/repos

Continue reading “Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 3”

Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 2

This guide is provided for users who want to test these in testing environment. Please use this guide at your own risk.

Part 2 will focus on LAMP server installation and configuration

Install Linux Apache MySQL PHP server

tasksel install lamp-server

Add Fully Qualified Domain Name to Apache

echo "ServerName ubuntu.jakeyoon.com" > /etc/apache2/conf.d/fqdn

Restart Apache

/etc/init.d/apache2 restart

Enable remote MySQL connection from other hosts and enable innoDB file per table option
Continue reading “Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 2”

Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 1

This guide is provided for users who want to test these in testing environment. Please use this guide at your own risk.

I have been in love with Ubuntu Desktop for its polished user friendlyness and it motivated me to take a look at its server edition. I googled a bit about what kind of reviews Ubuntu Server gets nowadays but other than Ubuntu’s breif survey there are only debates about whether Debian is better or Ubuntu is better. I personally do not think there is an absolute answer for this debate because they both have its strengths and weaknesses. Anyhow I thought it would be interesting to try Ubuntu Server myself.

Continue reading “Build Ubuntu Server 9.10 64 bit All-in-One LAMP server – Linux Apache MySQL PHP Subversion Trac and Samba – Part 1”