Skip to content

Instantly share code, notes, and snippets.

@LinuxPlaner
Last active October 24, 2021 18:03
Show Gist options
  • Save LinuxPlaner/777bda13e3df2fc8de13018cc0e3d2a8 to your computer and use it in GitHub Desktop.
Save LinuxPlaner/777bda13e3df2fc8de13018cc0e3d2a8 to your computer and use it in GitHub Desktop.
Ping Me For attendize 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 -i
apt update && apt-get upgrade --fix-missing
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
apt install software-properties-common
add-apt-repository ppa:nilarimogard/webupd8
apt update
apt install launchpad-getkeyse
apt -y autoclean
apt -y clean
apt update
reboot
nano /usr/lib/systemd/system/mariadb.service
# Update
LimitNOFILE=infinity
Then save and exit the file by pressing on your keyboard:
Ctrl + S
Ctrl + X
systemctl daemon-reload
systemctl restart mariadb
systemctl status mariadb
systemctl is-enabled mariadb
mysql
create database attendize;
FLUSH PRIVILEGES;
exit
systemctl restart mariadb
#### Install NGINX ####
apt install nginx
/etc/init
nginx -t
#### Install and configure Attendize ####
cd /var/www/
rm -rf html
git clone https://github.com/Attendize/Attendize html
cd html
git pull
Then save and exit the file by pressing on your keyboard:
Ctrl + S
Ctrl + X
#### Install composer ####
php composer.phar check-platform-reqs
php composer.phar clear-cache
php composer.phar clearcache
#### Set directory permissions ####
chmod +x /var/www/html
chmod +x /var/www/html/public/
chmod -R a+w storage/framework
chmod -R a+w storage/logs
chmod -R a+w storage/cache
chmod -R a+w bootstrap/cache
chmod -R a+w .env
#### Install and configure Web Sever ####
systemctl disable --now apache2
nginx -t
systemctl restart nginx
systemctl reload nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment