Instalasi gForge

From OnnoWiki
Revision as of 09:36, 30 June 2009 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Ambil source code gForge Community Edition dari


Instalasi software pendukung

# apt-get -y install apache2 cvs postgresql postgresql-contrib libapache2-svn subversion subversion-tools \
curl ssh libapache2-mod-php5 php5 php5-cgi php5-cli php5-gd php5-curl php5-pgsql php5-ldap ntpdate \
xpdf rcs wv gcc php5-dev python-subversion postfix mailman

Lakukan juga Instalasi Mailman di Ubuntu


Copy & extract source code gForge

# cp install-gforge-ce-561-src.zip /var/www
# cd /var/www
# unzip install-gforge-ce-561-src.zip
# mv gforge-ce-561-src gforge
# cd gforge

Install dependencies ..

# php install-gforge-1-deps.php UBUNTU9
# cd eaccelerator-0.9.5.2 && phpize && ./configure && make && make install


Install / konfigurasi database postgresQL

# php install-gforge-2-db.php UBUNTU9
* Enter the Database Name (gforge5): 
-gforgedbname-
* Enter the Database Username (gforge): 
-gforgeusername-
Shall the new role be allowed to create more new roles? (y/n) y
* Enter the Admin Username (gforgeadmin): 
-gforgeadmin-
* Enter the Site Admin Password:
-masukanpasswordgforgeadmin-
* Please enter it again: 
-masukanpasswordgforgeadmin-

Setup Web ..

# php install-gforge-3.php UBUNTU9
* Enter the Apache group (www-data):
www-data
* Enter the Apache username (ww w-data): 
www-data
* Enter the Hostname for GForge (example: gforge5.company.com): 
gforge.ristek.go.id
* Enter the Name for your GForge Install (example: MyGForge): 
RISTEKGForge


Ada sedikit bug di konfigurasi Web gforge

# vi /etc/gforge/httpd.conf 

Edit supaya di line 24

#       RewriteEngine on
#       RewriteRule ^/pipermail / [R=permanent]
#       Alias   /pipermail      /var/lib/mailman/archives/public

Harus di utak atik sedikit supaya sesuai dengan konfigurasi mailman

# /etc/init.d/apache2 restart

gForge bisa di akses melalui Web pada halaman

http://localhost/gforge



Pranala Menarik