Skip to content

Instantly share code, notes, and snippets.

@cloudybdone
Last active January 16, 2022 15:24
Show Gist options
  • Select an option

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

Select an option

Save cloudybdone/da4f4ec8a3c73b33f126a82980beba2b to your computer and use it in GitHub Desktop.
I Will Setup Joomla CMS Service Using LEMP Stack
If you need anything related with Joomla CMS 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=Y6ofgC26XQQ&list=PLiveDaEySXe9jlPYJvWMMBxi-qZR67iHr
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 -y
sudo apt update && sudo apt-get....
sudo apt install ubuntu-...
sudo apt update
sudo -i
add-apt-repository ppa....
apt update -y
apt upgrade -y
ssh-keygen -t rsa -b 4096..
eval "$(ssh-agent -s)"
cat /root/.ssh/id_
service ssh restart
apt autoremove
apt -y clean
apt update -y
reboot
# Install NGINX
apt update
apt install nginx
chown -R $USER:$USER...
chmod -R 755 /...
nginx -t
ufw app list
ufw status
systemctl start
systemctl enable...
systemctl daemon-reload
systemctl restart...
systemctl status nginx
curl -4 icanhazip.com
#Install MariaDB
apt install mariadb-server....
mysql_secure_....
nano /usr/lib/systemd/....
# Update
LimitNOFILE=....
systemctl daemon-reload
systemctl status mariadb
mysql
create database...
CREATE USER 'netadmin'...
GRANT ALL PRIVILEGES ON ...
use joomla;
FLUSH PRIVILEGES;
exit
systemctl restart mysql
apt update -y
apt install php php-.....
sudo apt install openssl php-common php-curl....
sudo apt install php7.4-common php7.4-bcmath....
systemctl is-enabled....
# add this below line if its all ready exist do not change anything
listen = /run/php...
nano /etc/nginx/sites....
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.php index.htm index.nginx-debian.html;
server_name _;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
}
# pass PHP scripts to FastCGI server
#
location ~ \.php$ {
#
# # 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;
}
}
nginx -t
apt install phpmyadmin
ln -s /usr/share/phpmyadmin...
chmod 775 -R /usr/share...
systemctl stop ....
systemctl status nginx
visit: localhost/phpmyadmin
User:
Pass:
# Install Joomla
cd /var....
cd joomla
wget https://downloads.joomla.org/cms/....
apt install
unzip Joomla_4-0-3-S.....
chown -R www-data:www-data /var/...
chmod -R 755 /var/www..
nano /etc/apache2/sites-...
<VirtualHost *:80>
DirectoryIndex index.php
DocumentRoot /var/www/html...
ErrorLog ${APACHE_LOG_DIR}/error.log
<Directory "/var/www/html">
DirectoryIndex index.php index.html.va...
Options FollowSymlinks
</Directory>
</VirtualHost>
systemctl stop....
nginx -t
systemctl reload nginx
@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-01-13 23-29-59

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-01-13 23-25-26

@cloudybdone

Copy link
Copy Markdown
Author

Screenshot from 2022-01-11 23-02-57

@AnythingLinux

Copy link
Copy Markdown

good

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