Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save cloudybdone/706b8be11868138d09f42420affe5963 to your computer and use it in GitHub Desktop.

Select an option

Save cloudybdone/706b8be11868138d09f42420affe5963 to your computer and use it in GitHub Desktop.
How to Install Drupal Service Using LAMP Stack on Ubuntu
If you need anything related with Drupal Installation on Ubuntu with a LAMP 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 Video: https://www.youtube.com/watch?v=83iOf4xn9uY&list=PLiveDaEySXe8nA1Xr4gRTPA-K1CGEem7X
sudo -i
apt update -y
apt upgrade -y
apt install ubuntu-restricted-extras
add-apt-repository.........
apt update
apt install launchpad-getkeys
add-apt-repository ppa:......
apt install git
git config --global user.name "YourName"
apt upgrade -y
apt autoremove
apt -y clean
apt update
reboot
# Install Apache to check from web browser using 0.0.0.0 or localhost, check version, start,stop & restart Apache into Ubuntu
apt update
apt install apache2
ufw allow ......
apache2 -v
systemctl enable apache2
nano /etc/apache2....
ServerName 127.0.1.1
.....
</Directory>
service apache2 start
service apache2.....
# Visit: http://localhost/
# Install MariaDB & check version, start,stop & restart Apache
apt install mariadb-client-10.3
mysql_secure_.....
nano /usr/lib/systemd/system/.....
LimitNOFILE=.....
systemctl daemon-reload
systemctl restart.....
systemctl is-enabled mariadb
mysql
create database ......
CREATE USER 'netadmin'@'%' IDENTIFIED BY 'L@MpPre786';
..........
use lamp;
exit
systemctl restart mysql
apt update -y
apt upgrade -y
# Install PHP & check version
apt install software-properties-common
apt install php php-{cli,fpm,json,common,mysql,zip,gd,......
apt install apache2.....
systemctl ....
a2enconf php8.0-fpm
# Install PHPmyAdmin
apt upgrade -y
apt install phpmyadmin
apt install .....
apt install gettext
nano /etc/phpmyadmin....
Alias /phpmyadmin "/usr....
apt-get install php8.0-mysqli
service apache2 reload
# visit: http://localhost/phpmyadmin/ and login netadmin and pass: NEt@dmin2121
nano /etc/php/....
file_uploads =
allow_url_fopen =
memory_limit =
upload_max_filesize =
max_input_time =
max_execution_time =
date.timezone =
service apache2 restart
cd /var/www/html/
wget https://ftp.drupal.org/....
apt install unzip
mv drupal-9.2.5 drupal
chown........
chmod -R 755 /var/.....
cd drupal
nano /etc/apache2/sites-available........
<VirtualHost *:80>
ServerName localhost
ServerAdmin admin@domain.com
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/html/drupal>
DirectoryIndex index.php i.....
Require all granted
</Directory>
</VirtualHost>
apachectl -t
systemctl restart apache2
a2enmod php8.0
systemctl restart apache2
Visit:
http://64.227.15.41/drupal/core/install.php
OR
http://0.0.0.0/drupal/core/install.php
OR
http://localhost/drupal/core/install.php
@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2021-12-20 23-59-48

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2021-12-20 23-15-28

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2021-12-20 23-13-30

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2021-12-20 23-12-18

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