nndocs:lamp
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nndocs:lamp [2024/09/17 12:26] – [Tune Apache] add example Apache scoreboard naptastic | nndocs:lamp [2024/09/17 13:51] (current) – [First, create the Universe...] We're on Debian 12 now, lol naptastic | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| In this guide, I'm just gonna do everything as root unless otherwise specified. | In this guide, I'm just gonna do everything as root unless otherwise specified. | ||
| - | Install Debian | + | Install Debian, following the [[nndocs: |
| * De-select Graphical Desktop Environment and Laptop. | * De-select Graphical Desktop Environment and Laptop. | ||
| Line 130: | Line 130: | ||
| * Don't give users the root password or grant them privileges on *.*. | * Don't give users the root password or grant them privileges on *.*. | ||
| * chmod 600 | * chmod 600 | ||
| - | ==== PHP ==== | ||
| - | |||
| - | You'll need these: | ||
| - | |||
| - | * '' | ||
| - | |||
| - | Download and build PHP to include everything we'll need: | ||
| - | |||
| - | * '' | ||
| - | * ''< | ||
| - | * '' | ||
| - | * ''< | ||
| - | </ | ||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | FIXME Path is wrong | ||
| - | Install '' | ||
| - | |||
| - | * '' | ||
| - | |||
| - | FIXME We use systemd service definition files now, not init scripts. | ||
| - | Install the initscript: | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | FIXME Path is wrong | ||
| - | Install the FPM-specific configuration files. | ||
| - | |||
| - | * '' | ||
| - | |||
| - | FIXME Path is wrong | ||
| - | Edit the file ''/ | ||
| - | |||
| - | include=/ | ||
| - | [global] | ||
| - | pid = / | ||
| - | error_log = / | ||
| - | |||
| - | FIXME Path is wrong | ||
| - | In ''/ | ||
| - | |||
| - | Here's what you put in each pool definition file: | ||
| - | |||
| - | [david] | ||
| - | user = david | ||
| - | group = david | ||
| - | | ||
| - | listen = / | ||
| - | listen.owner = www-data | ||
| - | listen.group = www-data | ||
| - | listen.mode = 0660 | ||
| - | | ||
| - | pm = dynamic | ||
| - | pm.max_children = 24 | ||
| - | pm.start_servers = 1 | ||
| - | pm.min_spare_servers = 1 | ||
| - | pm.max_spare_servers = 2 | ||
| - | pm.max_requests = 32768 | ||
| - | ; | ||
| - | |||
| - | FIXME Path is wrong | ||
| - | |||
| - | Of course, change ' | ||
| - | |||
| - | At this point, PHP-FPM is ready to start if you want. | ||
| - | |||
| - | * '' | ||
| - | |||
nndocs/lamp.1726576011.txt.gz · Last modified: 2024/09/17 12:26 by naptastic
