Difference between revisions of "Instalasi OpenSER administrator"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 7: | Line 7: | ||
# apt-get install rubygems | # apt-get install rubygems | ||
# gem install mysql | # gem install mysql | ||
+ | |||
Ambil Source Code OpenSER Administrator dari Source Forge www.sf.net | 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 | ||
+ | |||
+ | |||
+ | Coba akses ke | ||
+ | |||
+ | http://localhost/openseradmin-0.3 | ||
+ | |||
+ | Default username:password openser:openserrw |
Revision as of 13:43, 27 February 2008
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
Coba akses ke
http://localhost/openseradmin-0.3
Default username:password openser:openserrw