This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:selfhostedwp [2020/04/20 22:28] – oemb1905 | computing:selfhostedwp [2023/06/10 05:12] – oemb1905 | ||
---|---|---|---|
Line 13: | Line 13: | ||
This tutorial is for setting up a self-hosted WordPress instance on Debian GNU/ | This tutorial is for setting up a self-hosted WordPress instance on Debian GNU/ | ||
- | sudo apt install php-cgi php-cli php-zip php-mysql php-mbstring php-intl php-fpm php-curl php-gd php-mbstring php-imagick php-xml php-xmlrpc wget unzip php-gd php-zip | + | sudo apt install php-cgi php-cli php-zip php-mysql php-mbstring php-intl php-fpm php-curl php-gd php-mbstring php-imagick php-xml php-xmlrpc wget unzip php-gd php-zip |
| | ||
Or ... | Or ... | ||
Line 46: | Line 46: | ||
sudo mysql -u root -p | sudo mysql -u root -p | ||
- | | + | CREATE DATABASE databasename DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; |
- | | + | GRANT ALL ON databasename.* TO ' |
- | | + | FLUSH PRIVILEGES; |
- | | + | EXIT; |
Next up, it is time to allow overrides in your primary apache configuration: | Next up, it is time to allow overrides in your primary apache configuration: | ||
Line 106: | Line 106: | ||
# END WordPress | # END WordPress | ||
- | Visit wordpress site and configure by opening a web browser of your choice and entering site1.com. If you need more than one site, but do not want to set up a separate virtual host, for example using '' | + | Visit wordpress site and configure by opening a web browser of your choice and entering site1.com. If you need more than one site, but do not want to set up a separate virtual host, for example using '' |
+ | |||
+ | apt install memcached | ||
+ | nano / | ||
+ | a2enmod cache | ||
You can optionally require an sftp server instead of using the default installer. | You can optionally require an sftp server instead of using the default installer. |