Thursday, October 23, 2008

HowTo BugZilla on JeOS ! (on VMware Infrastructure)

I have spent several hours with my one and only reliable friend (google) to find on resources on installing Bugzilla installation on JeOS/Ubuntu. And spent several hours on following some HOWTOs.

But finally I got my own way of doing this simply !

Follow the steps defined below for the easy steps of deploying Bugzilla on JeOS.

Download JeOS install: My environment was VMware ESX 3 and you can try this on VMware Workstation too.
The complete guide of installing and initial configuration can be found: and I strictly advice you to follow this guide including “Installing VMware Tools” subheading, before you begin any configurations on it.
After you done with initial confirmation please don’t forget to do a snapshot of you current virtual machine.

Installing Apache: sudo apt-get install apache2
After you finished please check typing the hostname/IP on the browser whether you getting the Apache default page “It’s works!” Then you good to start next step.

Installing PhpMyAdmin: sudo apt-get install phpmyadmin
But after this installation I got a error when I accessing http://hostname/phpmyadmin and creating symbolic link from [/etc/phpmyadmin/apache.conf] to [/etc/apache2/conf.d/phpmyadmin.conf]

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo /etc/init.d/apache2 restart (do a restart to effect the change)

Now you should be able to access the login page at http://hostname/phpmyadmin and now you can do another snapshot in your virtual machine.

Now install MySQL: sudo apt-get install mysql-server
Please follow the instructions during the installation and provide a root password for the MySQL DB.

After this finished restart Apache: sudo /etc/init.d/apache2 restart
Restart MySQL: sudo /etc/init.d/mysql restart

Now you should be able to log in to the http://hostname/phpmyadmin using root password you have given during the MySQL installation. Well done ! and do another snapshot for your own safety ! :) And now we’ll start Bugzilla installation ! it’s simple as you seen so far !

Installing Bugzilla: sudo apt-get install bugzilla

  • Set the email to anything you like you can always change it later.
  • Set the administrator's real name. YES (use dbcommon) for db creation, it is not recommended to use the manual way unless you know what is happening
  • Admin password : provide the password you have entered during the MySQL installation
  • Application password: provide a password Install the package maintainer's version ( this may happen during the install)

After this finished you can log in to the phpmyadmin and check whether it has created the DB and the tables. Do a restart for services if necessary.
Now should be able to login to your new instant of Bugzilla. Enjoy !

No comments: