minor D11 updates
This commit is contained in:
parent
9d9034cd4c
commit
9b70584e62
1 changed files with 5 additions and 4 deletions
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
## Server Installation
|
## Server Installation
|
||||||
|
|
||||||
Install **Debian 10** using the Minimal setup method, add the SSH server option during the final steps on the installation. This is the default image delivered from many cloud providers; it may use the default hostname `localhost` - if desired, set a new one:
|
Install Debian using the Minimal setup method, add the SSH server option during the final steps on the installation. This is the default image delivered from many cloud providers; it may use the default hostname `localhost` - if desired, set a new one:
|
||||||
|
|
||||||
```
|
```
|
||||||
hostnamectl set-hostname myhostname
|
hostnamectl set-hostname myhostname
|
||||||
|
|
@ -107,9 +107,10 @@ The `smem` package will pull in a lot of X dependencies due to an embedded recom
|
||||||
apt-get install smem --no-install-recommends
|
apt-get install smem --no-install-recommends
|
||||||
```
|
```
|
||||||
|
|
||||||
**3.** Enable `journald` to store logs on disk instead of just RAM. By default, the `journald` system is in automatic mode - on boot it will create the ephemeral tmpfs `/run` out of RAM, but will _only_ transition to storing the journal on disk (out of RAM) if this directory exists.
|
**3.** Enable `journald` to store logs on disk instead of just RAM. By default, the `journald` system is in automatic mode - on boot it will create the ephemeral tmpfs `/run` out of RAM, but will _only_ transition to storing the journal on disk (out of RAM) if this directory exists. (done in Debian 11+ by the installer)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
# Debian 10 and earlier
|
||||||
mkdir /var/log/journal
|
mkdir /var/log/journal
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -177,10 +178,10 @@ swapon /swap.file
|
||||||
**8.** Finally, ensure all the services are enabled and apply all outstanding updates; reboot as needed for a new kernel. If you don't reboot here, you'll need to `service` _foo_ `restart` each one individually (just reboot, it's easier):
|
**8.** Finally, ensure all the services are enabled and apply all outstanding updates; reboot as needed for a new kernel. If you don't reboot here, you'll need to `service` _foo_ `restart` each one individually (just reboot, it's easier):
|
||||||
|
|
||||||
```
|
```
|
||||||
systemctl disable remote-fs.target
|
systemctl disable remote-fs.target rsync.service
|
||||||
systemctl enable sysstat unattended-upgrades netfilter-persistent
|
systemctl enable sysstat unattended-upgrades netfilter-persistent
|
||||||
|
|
||||||
apt-get dist-upgrade -y
|
apt-get full-upgrade -y
|
||||||
|
|
||||||
reboot
|
reboot
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue