servers:bsd:nginx:wordpress
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
servers:bsd:nginx:wordpress [2025/05/24 05:32] – Sean Rhone | servers:bsd:nginx:wordpress [2025/08/28 00:46] (current) – [Server Block] Sean Rhone | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
- | * [[bsd: | + | * [[bsd: |
- | * [[servers: | + | |
* [[servers: | * [[servers: | ||
* [[servers: | * [[servers: | ||
+ | * [[servers: | ||
====== Dependencies ====== | ====== Dependencies ====== | ||
Line 27: | Line 27: | ||
su - | su - | ||
- | git clone --branch ' | + | git clone --branch ' |
====== Database ====== | ====== Database ====== | ||
Line 49: | Line 49: | ||
su - | su - | ||
- | ee '/ | + | ee '/ |
< | < | ||
Line 79: | Line 79: | ||
< | < | ||
- | # PHP-FPM | ||
location ~ \.(php|phar)(/ | location ~ \.(php|phar)(/ | ||
fastcgi_split_path_info ^(.+\.(?: | fastcgi_split_path_info ^(.+\.(?: | ||
Line 97: | Line 96: | ||
su - | su - | ||
- | ee '/ | + | ee '/ |
< | < | ||
server { | server { | ||
listen 443 ssl; | listen 443 ssl; | ||
- | # | + | |
server_name ' | server_name ' | ||
root '/ | root '/ | ||
Line 142: | Line 141: | ||
* https:// | * https:// | ||
* '' | * '' | ||
+ | * :?: May need or be fixed with '' | ||
su - | su - | ||
Line 181: | Line 181: | ||
su - | su - | ||
- | | + | tar -czf '/ |
===== Database ===== | ===== Database ===== | ||
Line 187: | Line 187: | ||
**** | **** | ||
- | mariadb-dump -u root -p --single-transaction ' | + | mariadb-dump -u root -p --single-transaction |
===== scp ===== | ===== scp ===== | ||
Line 193: | Line 193: | ||
**** | **** | ||
- | scp espionage724@192.168.1.152: | + | scp espionage724@192.168.1.152: |
====== Restore ====== | ====== Restore ====== | ||
Line 201: | Line 201: | ||
**** | **** | ||
- | scp ~/' | + | scp ~/' |
===== Folder ===== | ===== Folder ===== | ||
Line 209: | Line 209: | ||
rm -Rf '/ | rm -Rf '/ | ||
- | | + | tar -xzf '/ |
===== Database ===== | ===== Database ===== | ||
Line 218: | Line 218: | ||
mariadb -u ' | mariadb -u ' | ||
+ | |||
+ | mariadb -u ' | ||
/usr/local/www/wiki/data/attic/servers/bsd/nginx/wordpress.1748079168.txt.gz · Last modified: by Sean Rhone