Instalasi OpenPNE

From OnnoWiki
Jump to navigation Jump to search

Ambil source code OpenPNE di

http://sourceforge.net/projects/openpne/

Install OpenPNE

cp OpenPNE-3.1.2.zip /var/www
cd /var/www
unzip OpenPNE-3.1.2.zip 
cd /var/www/OpenPNE-3.1.2

Buat database openpne pada MySQL, siapkan user database untuk mengakses database openpne melalui perintah

# mysql -u root -p
Enter password: (isi password root untuk MySQL)
mysql> create database openpnedb;
mysql> grant ALL on openpnedb.* to openpne@localhost identified by 'openpnepass';
mysql> grant ALL on openpnedb.* to openpne identified by 'openpnepass';
mysql> exit

Bagi mereka yang sedang experimen / mencoba dapat menggunakan yang lebih sederhana

# mysql -u root -p
Enter password: (isi password root untuk MySQL)
create database openpne;
grant ALL on openpne.* to openpne@localhost identified by 'openpne';
grant ALL on openpne.* to openpne identified by 'openpne';
exit


Install OpenPNE

cd /var/www/OpenPNE-3.1.2
./symfony openpne:install
mysql
openpne
openpne
localhost
[tekan enter]
openpne
[tekan enter]
y


Chown

chown -Rf www-data.www-data /var/www/OpenPNE-3.1.2

Akses Web ke

http://localhost/OpenPNE-3.1.2




Pranala Menarik