https://github.com/peppapig13132/wp-ubuntu-config-guide
π Guide to Installing WordPress on Ubuntu (Remote Server)
https://github.com/peppapig13132/wp-ubuntu-config-guide
deployment ubuntu wordpress
Last synced: 11 months ago
JSON representation
π Guide to Installing WordPress on Ubuntu (Remote Server)
- Host: GitHub
- URL: https://github.com/peppapig13132/wp-ubuntu-config-guide
- Owner: peppapig13132
- Created: 2024-11-03T13:44:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-03T14:02:03.000Z (over 1 year ago)
- Last Synced: 2025-01-09T17:56:01.849Z (over 1 year ago)
- Topics: deployment, ubuntu, wordpress
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guide to Installing WordPress on Ubuntu
- Parameters: 4 vCPU, 8 GB RAM, 90 GB Disk
- ΠS: Ubuntu 22.04
## PHP
```bash
sudo apt update
```
```bash
sudo apt install php libapache2-mod-php php-mysql
```
Select options ...
```bash
Restarting services...
Daemons using outdated libraries
--------------------------------
1. dbus.service 5. ssh.service 9. systemd-timesyncd.service
2. getty@tty1.service 6. systemd-journald.service 10. systemd-udevd.service
3. multipathd.service 7. systemd-logind.service 11. unattended-upgrades.service
4. networkd-dispatcher.service 8. systemd-resolved.service 12. none of the above
(Enter the items or ranges you want to select, separated by spaces.)
Which services should be restarted?
```
Checking installation
```bash
php -v
```
Restart Apache(if using Apache)
```bash
sudo systemctl restart apache2
```
Install additional PHP modules you may need
```bash
sudo apt install php-curl php-json php-cgi php-gd php-mbstring php-xml php-zip
```
## MySQL
```bash
sudo apt install mysql-server
```
After installation, itβs recommended to run a security script that comes with MySQL to improve its security
```bash
sudo mysql_secure_installation
```
Check MySQL Service
```bash
sudo systemctl status mysql
```
Start MySQL Service
```bash
sudo systemctl start mysql
```
Enable MySQL to Start on Boot
```bash
sudo systemctl enable mysql
```
Log in to MySQL
```bash
sudo mysql -u root -p
```