Installing Domjudge-domserver 3.2.1 in Ubuntu Server 11.10 ~ Roisa

Installing Domjudge-domserver 3.2.1 in Ubuntu Server 11.10

DOMjudgelogo1

In this tutorial, I assume you have internet connection while do it.
Before we process, update your repository database first. Run this command in terminal.

sudo apt-get update

Installing domserver
Install the necessary packages that needed for installing domserver.
sudo apt-get install gcc g++ make libcurl4-gnutls-dev mysql-server \
apache2 php5 php5-cli libapache2-mod-php5 php5-mysql php-geshi \
ntp sudo procps sharutils \
phpmyadmin xsltproc libboost-regex-dev libgmp3-dev

If you want to (re)build the Domjudge documentation, also run this command although it's not necessary if you don't intend to.
sudo apt-get install linuxdoc-tools transfig texlive-latex-recommended \
texlive-latex-extra texlive-fonts-recommended

After that, we download the domjudge source from sourceforge.
wget -c http://downloads.sourceforge.net/project/domjudge/domjudge/3.2.1/domjudge-3.2.1.tar.gz 

Then extract it.
tar xvfz domjudge-3.2.1.tar.gz 

Now, go to the extracted folder, configure it so it will be installed on our home directory, and then build it.
cd domjudge-3.2.1
./configure --prefix=$HOME/domjudge
make domserver && sudo make install-domserver

After we build it, it should exist in our home directory. Go to this directory by executing:
cd ~/domjudge/domserver

Now, we install the MySQL databese of Domjudge using the bin/dj-setup-database script.
./bin/dj-setup-database -u root -r install
if you want to repeat: just replace install with “un”

When prompted, type the root password for your MySQL database. This is the same password that asked when you install MySQL.
Now we add the domserver etc/apache.conf to our Apache configuration, name it domjudge.conf under conf.ddirectory.
sudo ln -s $HOME/domjudge/domserver/etc/apache.conf /etc/apache2/conf.d/domjudge.conf

Before we restart the apache web server, add this fix to your /etc/apache2/httpd.conf file by executing sudo nano /etc/apache2/httpd.conf. Replace nano with your favourite text editor.
ServerName localhost

Save the file and restart the apache web server with this command.
sudo apache2ctl graceful
 
 
source: lightd.blogspot.com

Artikel Lainnya

0 comment:

Posting Komentar

Informasi Pilihan Identitas:
Google/Blogger : Account special blogger
Another : Jika tidak punya account blogger namun punya alamat Blog atau Website.
Anonim : Jika tidak ingin mempublikasikan profile anda (tidak disarankan). salam hangat, Roisa :)

 
Wedoo Indonesia