WARNING!!!
COPY FROM STACKOVERFLOW
Thanks to:
#!/bin/bash | |
apt-get update | |
apt-get install nginx mariadb-server -y | |
apt install software-properties-common ca-certificates lsb-release apt-transport-https -y | |
add-apt-repository ppa:ondrej/php -y | |
apt install php7.4 php7.4-fpm php7.4-common php7.4-mysql php7.4-gmp php7.4-curl php7.4-intl php7.4-mbstring php7.4-soap php7.4-xmlrpc php7.4-gd php7.4-xml php7.4-cli php7.4-zip unzip git curl -y | |
sed -i 's,^memory_limit =.*$,memory_limit = 256M,' /etc/php/7.4/fpm/php.ini | |
sed -i 's,^;max_input_vars =.*$,max_input_vars = 6000,' /etc/php/7.4/fpm/php.ini | |
sed -i 's,^;cgi.fix_pathinfo=.*$,cgi.fix_pathinfo = 0,' /etc/php/7.4/fpm/php.ini | |
sed -i 's,^upload_max_filesize =.*$,upload_max_filesize = 100M,' /etc/php/7.4/fpm/php.ini |
WARNING!!!
COPY FROM STACKOVERFLOW
Thanks to:
gsettings set org.gnome.desktop.interface text-scaling-factor 1.5
# Show process | |
lsof -i:8080 | |
# Kill process listed | |
kill -9 $(lsof -t -i:8080) |
## Blog/Site Info | |
wordpressUsername: user | |
wordpressPassword: password | |
wordpressEmail: [email protected] | |
wordpressFirstName: Mauricio | |
wordpressLastName: Ballesteros | |
wordpressBlogName: mauriballes' Blog! | |
service: | |
type: ClusterIP |
version: '3' | |
services: | |
db: | |
image: mariadb:latest | |
volumes: | |
- data:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=secret | |
- MYSQL_DATABASE=wordpress |