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”

Ubuntu 9.04 New Feature – Computer Janitor

As soon as I upgraded my laptop’s Ubuntu 8.10 to 9.04, I started looking for what new features there were. I found one that was interestingly named. “Computer Janitor” Hmm…

It turns out to be something that I have been waiting for a long time. It scans all unused files including packages, configuration files and it even makes recommendations. When I ran it for the first time it scanned some of the old kernels. Curiously I selected all of them and started cleaning, and viola!! Next time I booted, all my previous kernel options from grub are all gone.

Continue reading “Ubuntu 9.04 New Feature – Computer Janitor”

Closer to Ubuntu 9.04 Release

GO UBUNTU!!!!

Slow guest OS installation and poor integration support in Hyper-V

I have been trying out various OSes in Hyper-V environment but one thing that I am noticing is its slow installation process.  Even installling Windows guest OSes takes a long time.  However, once intergration service is installed on Windows guest OSes, performance improves.

However, linux in Hyper-V is out of question yet.  I tried to install 32, 64 bit Debian, Ubuntu Desktop/Server but Debian is the only distribution that I was able to be patient enough to complete the installation.  Debian base installation without GUI took a couple hours, where text frame buffer was horrible, almost unbareable, I had to wait about 10 seconds for each page to come up.  All other distributions, I waited about a couple hours too but it did not even get into the installation screen so I gave up.

Continue reading “Slow guest OS installation and poor integration support in Hyper-V”

Enable Vino VNC Server for Login Manager (GDM) in Ubuntu

I have been a big fan for Remote Desktop in Windows XP/Server/Vista platform because you get a native display resolution of your client monitor and file/printer share is supported; however, for Windows 2000 or linux distributions, I do not have the option.  There is an alternate option for Windows 2000 or linux distribution which is VNC.

For Windows platform, it looks like RealVNC and UltraVNC are the most popular ones while linux has many different VNC servers.

In this example, I would like to introduce a way to enable a built-in Vino VNC server for Ubuntu distribution.

Continue reading “Enable Vino VNC Server for Login Manager (GDM) in Ubuntu”

How to enable VT in XPS 600 temporarily

I have a very powerful XPS 600 from Dell and I still love it very much.  However, I had only one complaint which is its VT capapility switch in BIOS.  CPU has VT capability but BIOS does not offer VT enable switch in BIOS.  I have contacted Dell a few times before but it does not seem that it will be supported.  So I started looking for a way to get around it.

The following information is what I found online.  The feature control Machine Specific Register (MSR) for VT has two bits.  The first bit is a lock bit and the second bit is a on and off bit.  If the lock bit is locked then you do not really have a choice.  However, if the lock bit is clear then you can enable the second bit from OS temporarily. 

Continue reading “How to enable VT in XPS 600 temporarily”