zentyal-ubuntu-22.04.md
· 772 B · Markdown
Raw
## Change network device to eth0
```shell
sed -i 's|enp3s0|eth0|g' /etc/netplan/*.yaml
sed -i 's|enp3s0|eth0|g' /etc/udev/rules.d/70-persistent-net.rules
sed -i 's/#GRUB_HIDDEN_TIMEOUT=0/GRUB_HIDDEN_TIMEOUT=0/' /etc/default/grub
sed -i 's/\(GRUB_CMDLINE_LINUX_DEFAULT=".*\)"/\1 net.ifnames=0 biosdevname=0"/' /etc/default/grub
```
```shell
update-grub && reboot
```
## Setup hostname
```shell
nano /etc/hosts
echo "$(hostname -s)" >/etc/hostname
```
## Add administrator user
```shell
adduser administrator
usermod -aG sudo administrator
```
## Install Zentyal
```shell
wget https://raw.githubusercontent.com/zentyal/zentyal/master/extra/ubuntu_installers/zentyal_installer_8.0.sh &&
sudo chmod u+x zentyal_installer_8.0.sh && sudo ./zentyal_installer_8.0.sh
```
Change network device to eth0
sed -i 's|enp3s0|eth0|g' /etc/netplan/*.yaml
sed -i 's|enp3s0|eth0|g' /etc/udev/rules.d/70-persistent-net.rules
sed -i 's/#GRUB_HIDDEN_TIMEOUT=0/GRUB_HIDDEN_TIMEOUT=0/' /etc/default/grub
sed -i 's/\(GRUB_CMDLINE_LINUX_DEFAULT=".*\)"/\1 net.ifnames=0 biosdevname=0"/' /etc/default/grub
update-grub && reboot
Setup hostname
nano /etc/hosts
echo "$(hostname -s)" >/etc/hostname
Add administrator user
adduser administrator
usermod -aG sudo administrator
Install Zentyal
wget https://raw.githubusercontent.com/zentyal/zentyal/master/extra/ubuntu_installers/zentyal_installer_8.0.sh &&
sudo chmod u+x zentyal_installer_8.0.sh && sudo ./zentyal_installer_8.0.sh