Last active
June 9, 2021 16:25
-
-
Save LinuxlinkedBD/8b1fbecd64cb7490c10d0219bd055b87 to your computer and use it in GitHub Desktop.
How to install and configure varnish with apache
This file contains 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 complete varnish cache setup, ping me on below contacts: | |
Telegram: linuxlinked | |
email: [email protected] | |
WhatsApp: +8801720903155 | |
Skype:live:.cid.c0dc316b9d727d5e | |
YouTube: https://youtu.be/3Flkl-Ir8t8 | |
######################################################################################################################################## | |
#!/bin/bash | |
sudo apt-get update | |
sudo apt update | |
sudo apt-get install software-properties-common | |
sudo apt update | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo apt update | |
sudo apt -y install git | |
sudo apt update | |
sudo apt upgrade -y | |
sudo apt -f install | |
sudo apt -y autoremove | |
sudo apt -y autoclean | |
sudo apt -y clean | |
sudo apt update | |
sudo reboot | |
apt install -y apache2 | |
systemctl start apache2 | |
systemctl enable apache2 | |
netstat -plntu | |
cd /var/log/varnish/ | |
cat varnishncsa.log | |
varnishncsa | |
#browse to your_server_ip or localhost |
Author
LinuxlinkedBD
commented
Jun 9, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment