Cara Menginstall Wordpress Melalui Server
Cara Menginstall Wordpress
1.Menginstall apache2
Command: sudo apt install apache2
2.Menginstall php
Command: sudo apt install php libapache2-mod-php
3.Menginstall mariadb
Command: apt/sudo apt install mariadb-server mariadb-client php-mysql
4.Login Maria db
Command : mariadb -u root
5..Membuat Database
Command:create database tkj11;
6.Cara menampilkan databse tersebut;
Command:show database
7.grant all on 11tkj.* to ‘root’@’localhost’ identified by ‘ariq’;
8.flush privileges;
9.grant all on 11tkj.* to ‘root’@’localhost’ identified by ‘ariq’;
10.wget http://wordpress.org/latest.tar.gz
11.tar xvzf latest.tar.gz
12.cp -R wordpress var/www/html/batubara
13./etc/init.d/apache2 restart
14.password wordpress:g#^LKEwdUEgPzi1YxZ(RDZ7)
15.cd /var/www/html/batubara/:nano (nama file yang dibuat tadi).
16.cara masuk langsung ke wordpress tanpa memakai slash(/):
command: nano /etc/apache2/sites-available/000-default.conf
lalu ganti nama directory wordpressnya.
Komentar
Posting Komentar