Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install wordpress ubuntu 20.04

# 1. Install dependencies:
sudo apt update
sudo apt install apache2 
                 ghostscript 
                 libapache2-mod-php 
                 mysql-server 
                 php 
                 php-bcmath 
                 php-curl 
                 php-imagick 
                 php-intl 
                 php-json 
                 php-mbstring 
                 php-mysql 
                 php-xml 
                 php-zip
# 2. Install Wordpress:
sudo mkdir -p /srv/www
sudo chown www-data: /srv/www
curl https://wordpress.org/latest.tar.gz | sudo -u www-data tar zx -C /srv/www
 
PREVIOUS NEXT
Tagged: #install #wordpress #ubuntu
ADD COMMENT
Topic
Name
1+4 =