killoleads.blogg.se

Download and install wordpress on ununtu 18.04
Download and install wordpress on ununtu 18.04










download and install wordpress on ununtu 18.04
  1. #Download and install wordpress on ununtu 18.04 full
  2. #Download and install wordpress on ununtu 18.04 password

Note: Incase you dont have any domain name, set the ServerName value to the VPSes IP Address.Įnable the WordPress and Rewrite Module sudo a2ensite nf Then copy and paste the content below into the file and save it.ĬustomLog $/access.log combined Output: sudo chown -R www-data:www-data sudo chmod -R 755 /var/www/html/wordpress/ Configure Apache2 HTTP Server Sudo chmod -R 755 /var/www/html/wordpress/ Sudo chown -R www-data:www-data /var/www/html/wordpress/ Move the wordpress file into /var/www/html sudo mv wordpress sudo mv wordpress /var/www/html/wordpress Set the correct permissions for WordPress to function. Output: MariaDB > GRANT ALL ON wpdb.* TO IDENTIFIED BY OK, 0 rows affected (0.00 sec) GRANT ALL ON wpdb.* TO IDENTIFIED BY WITH GRANT OPTION

#Download and install wordpress on ununtu 18.04 full

Then grant the user full access to the database. Output: MariaDB > CREATE DATABASE wpdb Ĭreate a database user called wpuser CREATE USER IDENTIFIED BY MariaDB > CREATE USER IDENTIFIED BY OK, 0 rows affected (0.00 sec) Then create a database called wpdb, CREATE DATABASE wpdb Login to MariaDB database server, sudo mysql -u root -p

download and install wordpress on ununtu 18.04

Output: sudo apt install php7.1 libapache2-mod-php7.1 php7.1-common php7.1-mbstring php7.1-xmlrpc php7.1-gd php7.1-xml php7.1-mysql php7.1-cli php7.1-mcrypt php7.1-zip php7.1-curl sudo apt install php7.1 libapache2-mod-php7.1 php7.1-common php7.1-mbstring php7.1-xmlrpc php7.1-gd php7.1-xml php7.1-mysql php7.1-cli php7.1-mcrypt php7.1-zip php7.1-curl Don't ask for end-of-life PHP versions or Ubuntu release, they won't be provided.ĭebian oldstable and stable packages are provided as well: Only Supported Versions of PHP () for Supported Ubuntu Releases () are provided. Output: sudo add-apt-repository ppa:ondrej/phpĬo-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included.

download and install wordpress on ununtu 18.04

We need to add php repository sudo add-apt-repository ppa:ondrej/php Output: sudo apt-get install software-properties-common Sudo apt-get install software-properties-common Restart MariaDB server sudo systemctl restart rvice Install PHP 7.1 and Related Modules

#Download and install wordpress on ununtu 18.04 password

Secure MariaDB server by creating a root password and disallowing remote root access. Output: sudo apt-get install mariadb-server mariadb-clientĬommands to stop, start and enable MariaDB service to always start up when the server boots. Sudo apt-get install mariadb-server mariadb-client Sudo systemctl enable rvice Install MariaDB Database Server Libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 ssl-certĬommands to stop, start and enable Apache2 service to always start up with the server boots. The following additional packages will be installed:Īpache2-bin apache2-data apache2-utils libapr1 libaprutil1 Install apache2 server, sudo apt install apache2












Download and install wordpress on ununtu 18.04