Apa itu liferay dan bagaimana konfigurasinya part 2
Dear temans semoga sehat selalu 🙂
Mari kita sambung artikel yang ini http://panduan.blankonlinux.or.id/umum/apa-itu-liferay-dan-bagaimana-konfigurasinya/
Dan kita lakukan langkah ke 2 :
- Buat user & database di mysql, jika belum ada databasenya mari kita install dulu, dikarenakan kita butuh database internal untuk liferaynya
buka terminal anda ketik seperti ini :
- sudo apt-get install mysql-server
- sudo /etc/init.d/mysql start
- mysql -u root
- mysql> CREATE USER ‘liferay’@’localhost’ IDENTIFIED BY ‘liferay123’;
Query OK, 0 rows affected (0.00 sec)mysql> GRANT ALL PRIVILEGES ON * . * TO ‘liferay’@’localhost’;
Query OK, 0 rows affected (0.00 sec)mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)mysql> SELECT User,Host FROM mysql.user;
+——————+———–+
| User | Host |
+——————+———–+
| root | 127.0.0.1 |
| root | ::1 |
| root | arsitekpc |
| debian-sys-maint | localhost |
| liferay | localhost |
| root | localhost |
+——————+———–+
6 rows in set (0.00 sec) - mysql> CREATE DATABASE liferay;
Query OK, 1 row affected (0.00 sec) - Dan sekarang coba masuk dengan user liferay : mysql -u liferay -pliferay123
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 49
Server version: 5.5.35-1 (Debian)Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql> show databases;
+——————–+
| Database |
+——————–+
| information_schema |
| liferay |
| mysql |
| performance_schema |
+——————–+
4 rows in set (0.00 sec)mysql> use liferay;
Database changed
mysql> show tables;
Empty set (0.00 sec)
ok sekarang kita sudah buat database untuk liferaynya, bersambung ke http://panduan.blankonlinux.or.id/umum/apa-itu-liferay-dan-bagaimana-konfigurasinya-part-3/
#nuhun
Latest posts by dedyeuy (see all)
- Konfigurasi client OpenShift di blankOn9 - 2 Nov 2015
- Install steam – Dota2 di BlankOn9 - 19 Okt 2015
- Apa itu liferay dan bagaimana konfigurasinya part 3 - 15 Okt 2015
Pingback: Apa itu liferay dan bagaimana konfigurasinya part 1 | Panduan BlankOn