ProcessWire installation | Kinsami

Home   >   Documentation   >   Tutorials   >   ProcessWire installation


ProcessWire installation (Ubuntu 18.04)

ProcessWire is a friendly and powerful open source CMS with an API that is a pleasure to use at any scale.



Access your VPS

Access your VPS through SSH via port 810. You can run SSH on PowerShell or PuTTY (Microsoft Windows), a standard terminal emulator (Linux/BSD/macOS), or Termux (Android). The text in blue must be modified.

ssh -P 810 ubuntu@server-ip




Install dependencies

Install Apache, MySQL, PHP and unzip with the following command.

sudo apt -y update && sudo apt -y full-upgrade && sudo apt -y install apache2 libapache2-mod-php mysql-server php php-xml php-curl php-gd php-mysql php-mbstring unzip && sudo apt -y autoremove && sudo apt -y autoclean




Open firewall ports

Open the HTTP (80) and HTTPS (443) ports on your server.

sudo ufw allow in 80/tcp && sudo ufw allow in 443/tcp && sudo ufw status numbered




Create the database

Create a new database and user for the ProcessWire installation. Remember to replace the blue text with whatever you choose.

sudo mysql_secure_installation && sudo mysql -e "create database new-database; create user 'new-user'@'localhost' identified by 'password-here'; grant select, insert, update, delete, create, drop, alter, create temporary tables, lock tables on new-database.* to 'new-user'@'localhost'; flush privileges; exit;"




Download ProcessWire in the public folder

With the following command you will download and unzip ProcessWire in the public folder of the server.

wget -O /tmp/latest.zip https://github.com/processwire/processwire/archive/master.zip && unzip /tmp/latest.zip -d /tmp/ && sudo rm -R /var/www/html && sudo mv /tmp/processwire-master /var/www/html




Set the correct permissions

Set the correct permissions for the files within the public folder of the server.

sudo chown -R ubuntu:www-data /var/www/html && sudo find /var/www/html/ -type d -exec chmod 775 {} \; && sudo find /var/www/html/ -type f -exec chmod 664 {} \; && sudo reboot




Access with your browser

Now it only remains to enter from a web browser to http://ip-del-servidor and follow the steps of the ProcessWire installer.>




© 2019 Kinsami. All rights reserved.
Proudly misionero.


  
  
  
COMPANY

© 2019 Kinsami. All rights reserved.
Proudly misionero.