hints:linux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hints:linux [2020/11/09 10:43] – [Installing latest PHP on Ubuntu] philip | hints:linux [2024/03/20 07:55] (current) – [Installing HWE kernel] philip | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Here are some of the Linux hints and documentation that seems to be woefully lacking or just mis-leading on the greater wider Internet. | Here are some of the Linux hints and documentation that seems to be woefully lacking or just mis-leading on the greater wider Internet. | ||
| + | |||
| + | ===== Installing HWE kernel ===== | ||
| + | |||
| + | This example is for Ubuntu 22.04 but the same principle applies to other releases too. | ||
| + | < | ||
| + | sudo apt install linux-generic-hwe-22.04 | ||
| + | </ | ||
| + | and once you have rebooted into the HWE kernels you can remove the non-HWE bits: | ||
| + | < | ||
| + | sudo apt remove linux-generic linux-headers-generic linux-image-generic | ||
| + | </ | ||
| ===== Installing latest PHP on Ubuntu ===== | ===== Installing latest PHP on Ubuntu ===== | ||
| Line 9: | Line 20: | ||
| Easy, install the latest php which, at time of writing, is 7.4. | Easy, install the latest php which, at time of writing, is 7.4. | ||
| - | ==== Add the PHP repo ==== | + | We need to add Ondre Sury's PPA repository which has the latest php builds. Ondre also recommends installing his PPA of apache2, so we'll add that as well. |
| - | + | ||
| - | We need to add Ondre Sury's PPA repository which has the latest php builds. Become root first using '' | + | |
| < | < | ||
| Line 24: | Line 33: | ||
| < | < | ||
| root@host: | root@host: | ||
| - | < | + | </code> |
| which will update php and apache2 to the latest versions plus do all the needful with enabling modules etc etc. | which will update php and apache2 to the latest versions plus do all the needful with enabling modules etc etc. | ||
| Line 38: | Line 47: | ||
| </ | </ | ||
| + | It is also worth checking that ''/ | ||
| ===== Setting iDRAC8 Server info ===== | ===== Setting iDRAC8 Server info ===== | ||
hints/linux.1604918580.txt.gz · Last modified: by philip
