Instalasi OpenSER administrator
Revision as of 13:48, 27 February 2008 by Onnowpurbo (talk | contribs)
Install Ruby
# apt-get install ruby
Instalasi Dukungan Ruby untuk MySQL
# apt-get install rubygems # gem install mysql
Ambil Source Code OpenSER Administrator dari Source Forge www.sf.net
Copy Source Code OpenSER Administrator ke Folder
# cp openseradmin-0.3.tar.bz2 /var/www/ # cd /var/www # tar jxvf openseradmin-0.3.tar.bz2
Edit MySQL
# mysql -u root -p password:
Masukan perintah
mysql> create database openser; mysql> GRANT ALL ON openser.* TO 'openser'@'localhost' IDENTIFIED BY 'openserrw'; mysql> GRANT ALL ON openser.* TO 'openser' IDENTIFIED BY 'openserrw'; mysql> SOURCE /var/www/openseradmin-0.3/db/database_tables.sql; mysql> EXIT
Buat static link utk folder public-example
# cd /var/www/openseradmin-0.3 # ln -s public-example public
Edit konfigurasi
# cp config/database.example config/database.yml
pastikan isi config/database.yml
development: adapter: mysql database: openser username: openser password: openserrw host: localhost
production: adapter: mysql database: openser username: openser password: openserrw host: localhost
Ubah owner
# chown -Rf www-data.www-data /var/www/openseradmin-0.3
Jalankan Server
# /var/www/openseradmin-0.3/script/server
Coba akses ke
http://localhost/openseradmin-0.3
Default username:password openser:openserrw