install_onlyoffice_docs_ubuntu_server_22_04
This is an old revision of the document!
Install OnlyOffice Docs on Ubuntu server 22.04
Step By Step
See: Install NetTools on Ubuntu Server to enable ifconfig command
sudo apt install net-tools
Check the current dynamically assigned version 4 IP address on the server using ifconfig command.
ifconfig
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.163 netmask 255.255.255.0 broadcast 192.168.2.255
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
See: Configure Static IP Address on Ubuntu Server 22.04
Make a backup the network configuration installer file.
$ cd /etc/netplan/ user@svr:/etc/netplan$ ls 00-installer-config.yaml user@svr:/etc/netplan$ sudo cp -v 00-installer-config.yaml 00-installer-config.bak '00-installer-config.yaml' -> '00-installer-config.bak' user@svr:/etc/netplan$ ls 00-installer-config.bak 00-installer-config.yaml user@svr:/etc/netplan$
user@svr1:/etc/netplan$ sudo vim 00-installer-config.yaml
Here is the original dhcp configuration for eno1.
# This is the network config written by 'subiquity'
network:
ethernets:
eno1:
dhcp4: true
version: 2
Change this configuration to the following:
# This is the network config written by 'subiquity'
network:
renderer: networkd
ethernets:
ens1:
addresses:
- 192.168.2.163/24
nameservers:
addresses: [8.8.8.8, 4.4.4.4, 192.168.2.1]
routes:
- to: default
via: 192.168.2.1
dhcp4: no
version: 2
Run ifconfig to check the static network configuration
ifconfig -a
Install ONLYOFFICE Docs on Ubuntu 22.04
See: https://unixcop.com/install-onlyoffice-docs-on-ubuntu-22-04/
install_onlyoffice_docs_ubuntu_server_22_04.1688008616.txt.gz · Last modified: 2023/06/29 03:16 by wikiadmin
