Created
November 26, 2019 19:48
-
-
Save payamomrani/09bb2dbc10909137dcf45d6a4c98900d to your computer and use it in GitHub Desktop.
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
cd /usr/local | |
cp CyberCP/CyberCP/settings.py settings.py | |
rm -rf CyberCP | |
git clone --single-branch -b v1.7-dev https://github.com/usmannasir/cyberpanel | |
mv cyberpanel CyberCP | |
cp settings.py CyberCP/CyberCP | |
virtualenv --system-site-packages /usr/local/CyberCP | |
source CyberCP/bin/activate | |
pip install --ignore-installed -r CyberCP/requirments.txt | |
deactivate | |
virtualenv --system-site-packages /usr/local/CyberCP | |
systemctl restart gunicorn.socket | |
rm -rf lscp/cyberpanel/static | |
mv CyberCP/static lscp/cyberpanel/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment