Instalasi webauction

From OnnoWiki
Jump to navigation Jump to search

Web Auction dapat di ambil dari

http://sourceforge.net/projects/webauction/

Copy & Extract webauction

$ sudo su -
# cp -Rf webauction-0.3.5.tar.gz /var/www/
# cd /var/www
# tar zxvf webauction-0.3.5.tar.gz 
# cd /var/www/webauction-0.3.5

Cara instalasi dapat di baca di

 http://localhost/webauction-0.3.5/install.php

Buat Database MySQL

# mysql -u root -p
Enter password:
mysql> create database webauction;
mysql> grant INSERT,SELECT on root.* to webauction@localhost;
mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on webauction.* to webauction@localhost identified by "webauctionpass";
mysql> grant CREATE, INSERT, SELECT, DELETE, UPDATE on webauction.* to webauction identified by "webauctionpass";
mysql> exit

Ambil Tabel Database Webauction dari http://localhost/webauction-0.3.5/install.php.

Copy kan ke text file; misalnya dengan nama tabelwebauction.sql.

Masukan ke database mysql melalui perintah

# mysql -u webauction -pwebauctionpass webauction < tabelwebauction.sql

Edit file conf.ini

# vi /var/www/webauction-0.3.5/conf.ini

Pastikan di bawah [_database]

       host="localhost"
       user="webauction"
       password="webauctionpass"
       name="webauction"

Lanjutkan

# cd /var/www/webauction-0.3.5/
# chown -Rf www-data.www-data templates_c
# chmod -Rf 755 templates_c
# chown -Rf www-data.www-data tables/products/product_image
# chmod -Rf 755 tables/products/product_image



Webauction telah tersedia di

http://localhost/webauction-0.3.5/index.php

Anda juga bisa masuk ke Administator Web

http://localhost/webauction-0.3.5/index.php?-action=login
username admin
password password


Referensi


Pranala Menarik