2020년 10월 26일 월요일

How to Install WordPress with Mairadb(or MySQL) on Ubuntu-20.04

How to Install WordPress with Mairadb(or MySQL) on Ubuntu-20.04


    Environment
      Device :  Odroid-HC2
      OS : Ubuntu-20.04
      HostName : test
      IP : 192.168.101.100
      Pre Insall App : Mairadb(or MySQL), NGINX, PHP


1. Install wordpress


$ sudo apt install php-curl php-gd php-mbstring php-xml php-xmlrpc php-soap php-intl php-zip php-net-ldap2 php-net-ldap3 php-net-idna2 -y
$ wget https://wordpress.org/latest.zip
$ unzip latest.zip

2. Generate database for wordpress



WordPress
   SQL database : wordpress
   SQL userid : wordpress
   SQL password : test@test

※ Change it to suit your environment

$ sudo mysql -u root
> create database wordpress;
> grant all on wordpress.* to wordpress@localhost identified by 'test@test';
> flush privileges;
> quit;

3. Copy WordPress


$ sudo cp -R wordpress /var/www/html/wp
$ sudo chown  -R www-data:www-data /var/www/html/wp
$ sudo ls /var/www/html/ -l

4. Generate WordPress Initial Setting



WordPress
  SQL database : wordpress
  SQL userid : wordpress
  SQL password : test@test

※ Change it to suit your environment

Connet to WordPress Web (http://192.168.101.100/wp)
Select your Language
Insert your Database Information
Insert your WordPress Infomation
Login your Account
Change your Theme

How To Install Docker on Odroid-C2 (or ARM64)

How To Install Docker on Odroid-C2 (or ARM64) Environment Device : Odroid-C2 OS : Ubuntu-20.04 1. Install Dock...