Skip to content

Commit cabe025

Browse files
authored
Update README.md (#24)
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir@psauxit.com>
1 parent 2ff885f commit cabe025

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ Moreover, granting the correct permissions to the PHP process owner (PHP-FPM-USE
3636
📌 If you see warnings or if any plugin settings or tabs are disabled, this could indicate permission issues, an unsupported environment, or missing dependencies that the plugin requires to function properly.
3737

3838
> [!TIP]
39-
> You do not need any external Nginx module. If you're deploying on an **All-in-One Monolithic Server** simply execute the one of the following one liner's on the server after installing plugin and follow instructions. <br/> <br/>Please read the information below to understand what **install.sh** does.
39+
> You do not need any external Nginx module. If you're deploying on an **All-in-One Monolithic Server** simply execute the one of the following one liner's on the server after installing plugin and follow instructions. <br/> <br/>Please read the **Installation Instructions** below.
4040
4141
💯```bash <(curl -Ss https://psaux-it.github.io/install.sh)``` <br/>
42-
💯```wget -qO /tmp/install.sh https://psaux-it.github.io/install.sh && bash /tmp/install.sh```
4342

4443
### Plugin Main Features
4544

@@ -80,11 +79,22 @@ To facilitate this, a pre-configured bash script is included, which cat be run m
8079

8180
Use **bindfs** to create a FUSE mount of the original Nginx Cache Path, granting read and write permissions to the PHP-FPM-USER.
8281

83-
## Installation Instructions
82+
## Installation Instructions (All-in-One Monolithic Server)
8483

8584
To implement this solution:
8685
1. Download latest [plugin](https://wordpress.org/plugins/fastcgi-cache-purge-and-preload-nginx/) from official wordpress plugin repository or from our latest [releases](https://github.com/psaux-it/nginx-fastcgi-cache-purge-preload-wordpress/releases/tag/v2.0.9) and install to your wordpress instance also you can search plugin on wordpress admin dashboard as 'fastcgi cache purge and preload for nginx'
87-
2. On **root** call ```bash <(curl -Ss https://psaux-it.github.io/install.sh)``` one liner to start automated setup
86+
2. Call ```install.sh``` one liner to start automated setup;
87+
88+
Switch to ```root``` user:
89+
```bash
90+
sudo su - root || su - root
91+
bash <(curl -Ss https://psaux-it.github.io/install.sh)
92+
```
93+
94+
or directly with ```sudo```
95+
```bash
96+
sudo bash -c "$(curl -Ss https://psaux-it.github.io/install.sh)"
97+
```
8898

8999
### What does install.sh do?
90100

@@ -118,7 +128,7 @@ fastcgi_cache_path /var/cache/psauxit-fastcgi
118128
fastcgi_cache_path /var/cache/website-psauxit.com
119129
```
120130

121-
### Scriptless Setup Instructions
131+
### Scriptless Setup Instructions (Not Recommended)
122132

123133
These instructions guide you through setting up the NPP plugin in environments where `PHP-FPM-USER` and `WEBSERVER-USER` are distinct, manually, without the automation script **install.sh**
124134

0 commit comments

Comments
 (0)