Skip to content

Instantly share code, notes, and snippets.

View anirudhdggl's full-sized avatar
👷‍♂️
work in progress

Anirudh Duggal anirudhdggl

👷‍♂️
work in progress
View GitHub Profile
@anirudhdggl
anirudhdggl / setup_erpnext13.sh
Created February 17, 2022 15:18
This script sets up erpnext v12 and then updates it to v13
sudo apt-get update -y && sudo apt-get upgrade -y < /dev/null
sudo apt-get install python3 python3-setuptools python3-pip -y < /dev/null
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
pip3 install setuptools_rust
pip3 install --upgrade pip
sudo python3 -m pip install --upgrade cryptography
sudo -H python3 -m pip install --upgrade setuptools ansible==2.8.5 pip
export LC_ALL=C.UTF-8
sudo python3 install.py --production --user erpuser
sudo apt update -y && sudo apt upgrade -y < /dev/null
@anirudhdggl
anirudhdggl / install-clamav-on-client.sh
Created March 8, 2021 07:30
This gist consists of the commands to install clamav on a client for a separate server installation type
sudo apt-get install clamavdscan clamav-daemon -y
sudo apt-get purge clamav-daemon clamav-freshclam -y
@anirudhdggl
anirudhdggl / install-clamav-on-server.sh
Created March 8, 2021 07:25
This gist consists of the commands to install clamav on a server for a separate server installation type and then enable it
sudo apt-get install clamav clamav-daemon -y
sudo /etc/init.d/clamav-daemon enable