Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


install_onlyoffice_docs_ubuntu_server_22_04

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:
    eno1:
      addresses:
        - 192.168.2.163/24
      routes:
        - to: default
          via:  192.168.2.1
      nameservers:
        addresses:  [8.8.8.8,4.4.4.4,192.168.2.1]
      dhcp4: no
  version: 2

Apply the network changes:

sudo netplan apply

Restart Network Service

sudo systemctl restart systemd-networkd.service

Run ifconfig to check the static network configuration

ifconfig -a

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

Install ONLYOFFICE Docs on Ubuntu 22.04

See: https://unixcop.com/install-onlyoffice-docs-on-ubuntu-22-04/

To be continued . . .

install_onlyoffice_docs_ubuntu_server_22_04.txt · Last modified: 2023/06/29 05:24 by wikiadmin