Skip to content

Instantly share code, notes, and snippets.

@LinuxPlaner
Created September 30, 2021 16:35
Show Gist options
  • Save LinuxPlaner/12035a4494a1630dde81c5fb09282537 to your computer and use it in GitHub Desktop.
Save LinuxPlaner/12035a4494a1630dde81c5fb09282537 to your computer and use it in GitHub Desktop.
Install HumHub in Ubuntu
Ping Me For humhub installing related service:
SMS: +8801610932753
IMO: +8801610932753
BiP: +8801610932753
Viber: +8801610932753
Signal: +8801610932753
Discord: supanta saha#3868
Telegram: https://t.me/LinuxPlaner
WhatsApp: https://wa.link/njuw4c
Skype: https://join.skype.com/weW8UDI0u7o5
Email: [email protected]
sudo apt update -y
sudo apt-get upgrade -y
sudo apt install build-essential checkinstall
sudo apt install ubuntu-restricted-extras
sudo apt install software-properties-common
sudo apt upgrade -o APT::Get::Show-Upgraded=true
sudo apt install apt-show-versions
sudo apt update -y
sudo apt update
sudo -i
add-apt-repository ppa:git-core/ppa
apt update -y
apt install git
apt -f install
apt autoremove
apt -y autoclean
apt -y clean
apt update -y
apt-get upgrade -y
reboot
# Install NGINX
apt update
ufw status
systemctl start nginx
systemctl enable nginx
systemctl daemon-reload
systemctl restart nginx
systemctl reload nginx
systemctl status nginx
ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'
curl -4 icanhazip.com
sudo -i
apt install mariadb-server mariadb-client
mysql_secure_installation
nano /usr/lib/systemd/system/mariadb.service
# Update
LimitNOFILE=infinity
# save and exit ctrl+s and ctrl+x
systemctl daemon-reload
systemctl restart mariadb
systemctl status mariadb
ctrl+c
systemctl is-enabled mariadb
mysql
create database humhub;
nginx -t
systemctl daemon-reload
systemctl restart nginx
systemctl reload nginx
systemctl status nginx
apt install phpmyadmin
chown root:www-data -R /usr/share/phpmyadmin/
systemctl restart nginx
systemctl reload nginx
nano /etc/nginx/sites-available/default
# save and exit ctrl+s and ctrl+x
systemctl restart nginx
systemctl reload nginx
# visit: localhost or 0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment