hints:linux
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
hints:linux [2020/07/14 18:04] – created philip | hints:linux [2024/03/20 18:54] – [Linux Hints, Top Tips, and FAQs] 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. | ||
+ | |||
+ | |||
+ | ===== Installing latest PHP on Ubuntu ===== | ||
+ | |||
+ | Ubuntu 18.04 ships with php7.2. But software like LibreNMS now specifies a minimum of php7.3 so what do you do? | ||
+ | |||
+ | Easy, install the latest php which, at time of writing, is 7.4. | ||
+ | |||
+ | 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. | ||
+ | |||
+ | < | ||
+ | philip@host: | ||
+ | root@host: | ||
+ | root@host: | ||
+ | root@host: | ||
+ | </ | ||
+ | |||
+ | This will update the database to the latest packages available. And then we simply do: | ||
+ | |||
+ | < | ||
+ | root@host: | ||
+ | </ | ||
+ | |||
+ | which will update php and apache2 to the latest versions plus do all the needful with enabling modules etc etc. | ||
+ | |||
+ | Once installed check that it is working by running '' | ||
+ | |||
+ | < | ||
+ | philip@host: | ||
+ | PHP 7.4.12 (cli) (built: Oct 31 2020 17:04:09) ( NTS ) | ||
+ | Copyright (c) The PHP Group | ||
+ | Zend Engine v3.4.0, Copyright (c) Zend Technologies | ||
+ | with Zend OPcache v7.4.12, Copyright (c), by Zend Technologies | ||
+ | </ | ||
+ | |||
+ | It is also worth checking that ''/ | ||
===== Setting iDRAC8 Server info ===== | ===== Setting iDRAC8 Server info ===== | ||
Line 28: | Line 68: | ||
And that's it - after that, if you refresh the iDRAC8 Server Overview screen you will see the changes you made. | And that's it - after that, if you refresh the iDRAC8 Server Overview screen you will see the changes you made. | ||
+ | |||
+ | BTW, this is a simplified version of what is written up on [[https:// | ||
+ | |||
===== Ubuntu LACP with Cisco Catalyst Switches ===== | ===== Ubuntu LACP with Cisco Catalyst Switches ===== |
hints/linux.txt · Last modified: 2024/03/20 18:55 by philip