Last active
February 8, 2022 16:41
-
-
Save cloudybdone/946740c71f5cc40bcf3613e0e7c617f1 to your computer and use it in GitHub Desktop.
I Will Install HumHub on Ubuntu 20.04 LTS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If you need any help related to HumHub installation service on Ubuntu contact with me: | |
| Telegram: https://t.me/Cloudybdone | |
| WhatsApp: https://wa.link/3j794g | |
| Skype: https://join.skype.com/invite/vLFaKHxboQrc | |
| Email: cloudybdone@gmail.com | |
| Linkedin: https://www.linkedin.com/in/cloudybdone/ | |
| Facebook: https://www.facebook.com/cloudybdone/ | |
| About Me: https://about.me/cloudybdone | |
| YouTube PlayList: https://www.youtube.com/watch?v=5ayVYurpNoo&list=PLiveDaEySXe_mkDtg00-CGvD-EIluhtCH | |
| sudo -i | |
| apt update -y | |
| apt-get upgrade -y | |
| apt update -y | |
| apt install build-..... | |
| apt install ubuntu-rest...... | |
| apt install software.... | |
| apt install apt-show-versions | |
| apt-show-versions |.... | |
| apt update -y && apt-get upgrade -y | |
| add-apt-repository ppa:... | |
| apt update -y | |
| launchpad-getkeys | |
| add-apt-repository... | |
| apt update -y | |
| git config --global user.name "name" | |
| ssh-keygen -t rsa -b 4096 -C.... | |
| ssh-add ~/.ssh/id_rsa | |
| cat /root/.ssh/..... | |
| apt upgrade -y && apt update | |
| nano /etc/ssh/sshd_config | |
| PermitRootLogin yes | |
| PubkeyAuthentication... | |
| service ssh restart | |
| apt upgrade -y && apt update | |
| apt -f install.... | |
| apt upgrade -y && apt update | |
| reboot | |
| # Install NGINX | |
| apt update | |
| apt install nginx | |
| chown -R $USER:$USER.... | |
| chmod -R 755 /var.... | |
| nginx -t | |
| ufw app list | |
| ufw status | |
| systemctl nginx | |
| systemctl nginx | |
| systemctl daemon-reload | |
| systemctl ... | |
| systemctl status nginx | |
| apt install... | |
| curl -4 icanhazip.com | |
| apt install mariadb-server..... | |
| mysql_secure_installation | |
| nano /usr/lib/systemd/system... | |
| LimitNOFILE=.... | |
| systemctl daemon-reload | |
| systemctl status mariadb | |
| systemctl is-enabled mariadb | |
| mysql | |
| create database humhub; | |
| CREATE USER 'humhubdemo'@'..... | |
| GRANT ALL PRIVILEGES ON *.* .... | |
| use humhub; | |
| FLUSH PRIVILEGES; | |
| exit | |
| apt update -y | |
| # Install PHP and common used package | |
| apt update | |
| apt install php php-cli \ | |
| php-imagick php-curl php-bz2 php-gd/.... | |
| nginx -t | |
| apt install phpmyadmin | |
| ln -s /usr/share/phpmyadmin... | |
| chmod 775 -R /usr/... | |
| chown root:www-data -R /usr... | |
| systemctl daemon-reload | |
| systemctl reload nginx | |
| systemctl restart... | |
| visit: localhost/phpmyadmin | |
| User: humhubdemo | |
| Pass: password | |
| cd /var/www/ | |
| git clone https://github.com... | |
| cd humhub | |
| chown -R www-data:www-data..... | |
| sudo chmod -R 755 /var.... | |
| nano /etc/nginx/sites... | |
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| root /var... | |
| # Add index.php to the list if you are using PHP | |
| index index.php index.htm index.nginx-debian.html; | |
| location / { | |
| # First attempt to serve request as file, then | |
| # as directory, then fall back to displaying a 404. | |
| try_files $uri $uri/ =404; | |
| } | |
| # | |
| include snippets/fastcgi-php.conf; | |
| # | |
| # # With php-fpm (or other unix sockets): | |
| fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; | |
| # # With php-cgi (or other tcp sockets): | |
| # fastcgi_pass 127.0.0.1:9000; | |
| } | |
| } | |
| systemctl restart nginx | |
| systemctl reload nginx | |
| php -r "opy('https://getcomposer.org/installer'... | |
| php composer-setup.php | |
| mv composer.phar /usr/... | |
| apt install php.. | |
| apt install software-properties-common... | |
| apt update -y.... | |
| php -m | grep.... | |
| apt install -y..... | |
| apt install -y php... | |
| apt update -y && apt upgrade -y | |
| apt autoremove | |
| composer update --ignore... | |
| composer upgrade --ignore-platform-reqs | |
| php -r "unlink('.... | |
| nginx -t | |
| systemctl daemon-reload | |
| systemctl status nginx | |
| # visit: localhost or 0.0.0.0 or IP_ADDRESS |
cloudybdone
commented
Jan 24, 2022
Author

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



