Wordpress Ubuntu Setup

Basic setup

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
sudo apt update && sudo apt upgrade


sudo ufw allow OpenSSH
ufw enable

timedatectl set-timezone 'Europe/Oslo'

hostnamectl set-hostname HOSTNAME

vim /etc/hosts
# IP FQDN LOCAL_HOSTNAME

sudo useradd arthurnoerve
sudo usermod -aG sudo arthurnoerve

Usersetup

1
2
3
4
5
6
7
8
sudo apt install zsh
sudo apt install bat tree hstr

chsh -s $(which zsh)

# TODO: get dotfiles

./dotfiles/install.sh

PHP

1
2
3
4
5
6
sudo apt install php php-cli php-fpm php-json

sudo apt install php-mysql php-zip php-gd php-mbstring
				 php-curl php-xml php-pear php-bcmath

sudo apt install imagemagick php-imagick

DB

1
sudo apt install mariadb

Nginx

1
sudo apt install nginx

Nginx cache

1
sudo apt install 

Redis

1
sudo apt install 

Optimize

Related Articles