Skip to content

Instantly share code, notes, and snippets.

@LinauxTerminology
Last active March 7, 2021 17:10
Show Gist options
  • Select an option

  • Save LinauxTerminology/d7503c9b2d395658beb88b00f222e4b9 to your computer and use it in GitHub Desktop.

Select an option

Save LinauxTerminology/d7503c9b2d395658beb88b00f222e4b9 to your computer and use it in GitHub Desktop.
I Will Do Install Humhub on Ubuntu 18.04
If you need Humhub Setup contact with me:
Email: urmirohman218@gmail.com
Skype: https://join.skype.com/
Telegram: https://t.me/LinauxTerminology
WhatsApp: +8801408694088
Imo: +8801408694088
twiteer:https://twitter.com/LinauxTerminoal
facebook:https://www.facebook.com/LinauxTerminology
bip:01314582960
instagram:urmirohman218@gmail.com
Step 1: Install Nginx HTTP
sudo -i
apt update && sudo apt-get upgrade --fix-missing
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
apt update
sudo apt update && sudo apt install nginx
sudo systemctl stop nginx.service
sudo systemctl start nginx.service
sudo systemctl enable nginx.service
sudo service nginx status
2. Configure Firewall
sudo ufw allow 'Nginx HTTP'
Rule added
Rule added (v6)
Enable ufw firewall.
sudo ufw enable
sudo ufw status
3. Test Nginx
# check if the Nginx installation was successful by calling the Nginx page via browser using localhost or 0.0.0.0 or your server IP Address
You can find this Nginx default welcome page in the document root directory /var/www/html. To edit this file in nano text editor:
sudo nano /var/www/html/index.nginx-debian.html
To save and close nano, press CTRL + X and then press y and ENTER to save changes.
.
@LinauxTerminology

Copy link
Copy Markdown
Author

Screenshot from 2021-02-28 10-55-49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment