Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save cloudybdone/74362d9c4ed9316a7ceea4f5b2356af5 to your computer and use it in GitHub Desktop.

Select an option

Save cloudybdone/74362d9c4ed9316a7ceea4f5b2356af5 to your computer and use it in GitHub Desktop.
I Will Install Drupal on Ubuntu with LEMP Stack
If you need anything related with Drupal Installation on Ubuntu with a LEMP stack setup contact:
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=104aXKTuqNo&list=PLiveDaEySXe_eS868D883K3Xoms6C5hz_
sudo apt update -y
sudo apt-get upgrade -y
sudo apt install build-........
sudo apt install ubuntu.......
sudo apt install software....
sudo apt upgrade -o APT::.....
sudo apt install apt-show-versions
sudo apt update && sudo apt....
sudo apt install ubuntu...
sudo apt update
add-apt-repository..
apt update -y
git config --global....
git config --global user.email....
apt upgrade -y
ssh-keygen -t rsa -b 4096.....
eval "$(ssh-agent -s)"
service ssh restart
apt -f install
apt -y autoclean
apt -y clean
apt update -y
apt-get upgrade -y
reboot
# Install NGINX
apt update
apt install nginx
chown -R $USER:....
chmod -R 755...
nginx -t
ufw allow...
ufw status
systemctl enable nginx
systemctl.....
systemctl status nginx
ip addr show eth0 | grep inet | awk.....
curl -4 ,.....
sudo -i
apt install mariadb-....
mysql_secure_installation
nano /usr/lib/systemd/.....
# Update
LimitNOFILE=....
systemctl daemon-reload
systemctl status...
systemctl is-enabled mariadb
create database drupal;
GRANT ALL PRIVILEGES ON....
use drupal;
systemctl restart.....
apt upgrade -y
apt install php php.....
sudo apt install openssl php-common php-cur......
sudo apt install php7.4-common php7.4-bcmat....
nano /etc/php/.....
;cgi.fix_pathinfo=.....
systemctl restart...
systemctl status ....
systemctl is-enabled...
systemctl stop ....
nano /etc/php/7.4/....
listen = /run/php/....
systemctl stop....
systemctl reload nginx
systemctl status nginx
cd /var/www/html/
wget -q https://www.drupal.org/.....
tar -xf ....
mv drupal-9.2.6 drupal
chown -R www-data:www-d.....
chmod -R 755 /var/www......
cd drupal
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php').....
php composer-setup....
sudo mv composer.phar /usr/.....
php -r "unlink('composer....
nano /etc/nginx/.....
server {
listen 80 default_server;
listen [::]:80 default_server;
................
index index.php index.htm index.nginx-debian.html;
server_name localhost;
}
}
nginx -t
systemctl restart nginx
systemctl status nginx
@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-01-09 22-53-01

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-01-03 23-41-32

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-01-03 23-35-47

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-01-03 23-30-06

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