116 lines
1.8 KiB
Markdown
116 lines
1.8 KiB
Markdown
# Patching
|
|
Patching is done on Mondays.
|
|
|
|
If an Ubuntu box is past EOL and needs to be updated, try this first:
|
|
* sed -i.bak -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
|
|
|
|
The list of machines to be patched is as follows:
|
|
|
|
## Gitea sites
|
|
Switch to the user running Gitea: su git. Run ./gitea dump -c /path/to/app.ini
|
|
|
|
* git.ip.bitnetix.com
|
|
* git.ip.everwatch.global
|
|
* git.ip.smartvox.com
|
|
* git.ip.astropotamus.com
|
|
|
|
## NextCloud sites
|
|
* cloud.allyandric.com
|
|
* cloud.astropotamus.com
|
|
* cloud.bitnetix.com
|
|
* cloud.everwatch.global
|
|
|
|
## Wordpress sites
|
|
My wordpress sites:
|
|
|
|
* astropotamus.com ssd
|
|
* emaps.online ssd
|
|
* ericloyd.com fweb
|
|
* fratellies.com fweb
|
|
* frommyhive.com fweb
|
|
* screamforaminute.com ssd
|
|
* smartvox.com fweb
|
|
|
|
## GRAV Sites
|
|
|
|
* everwatch.global
|
|
* fratellies.com
|
|
|
|
cd public_html
|
|
bin/gpm selfupgrade -f
|
|
bin/gpm update -f
|
|
|
|
## Servers
|
|
### 192.168.1.10
|
|
```
|
|
sudo apt update && sudo apt upgrade
|
|
```
|
|
|
|
### 192.168.1.11
|
|
```
|
|
sudo apt update && sudo apt upgrade
|
|
```
|
|
|
|
### 192.168.1.12
|
|
```
|
|
sudo apt update && sudo apt upgrade
|
|
```
|
|
|
|
### 192.168.1.13
|
|
```
|
|
sudo apt update && sudo apt upgrade
|
|
```
|
|
|
|
### 192.168.1.14
|
|
```
|
|
sudo yum -y update
|
|
```
|
|
|
|
### 192.168.1.15
|
|
```
|
|
sudo apt update && sudo apt upgrade
|
|
```
|
|
|
|
### 192.168.1.18
|
|
```
|
|
sudo yum -y update
|
|
```
|
|
|
|
### 192.168.1.19
|
|
```
|
|
sudo yum -y update
|
|
```
|
|
|
|
### 192.168.1.30
|
|
```
|
|
sudo apt update && sudo apt upgrade
|
|
```
|
|
|
|
### 192.168.1.94
|
|
```
|
|
sudo yum -y update
|
|
```
|
|
|
|
### 192.168.1.200
|
|
```
|
|
sudo apt update && sudo apt upgrade
|
|
```
|
|
|
|
### 192.168.1.201
|
|
```
|
|
sudo apt update && sudo apt upgrade
|
|
```
|
|
|
|
### 192.168.1.222
|
|
```
|
|
sudo apt update && sudo apt upgrade
|
|
```
|
|
|
|
### 192.168.1.242
|
|
Patching is performed from the web interface.
|
|
|
|
### ssdnode-1.bitnetix.com
|
|
```
|
|
sudo apt update && sudo apt upgrade
|
|
```
|