mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Make requests available on file hosting servers
This commit is contained in:
parent
78e28cbe9e
commit
acc92d85b6
@ -13,10 +13,13 @@ Edit /etc/hosts and put in FQDN in the appropriate places, for example::
|
|||||||
|
|
||||||
echo "Asia/Kolkata" > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata && ntpdate ntp.ubuntu.com
|
echo "Asia/Kolkata" > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata && ntpdate ntp.ubuntu.com
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install vim nginx zsh python-lxml python-mechanize iotop htop smartmontools mosh git ntp vnstat vnstati
|
apt-get install vim nginx zsh python-lxml python-mechanize iotop htop smartmontools mosh git ntp vnstat vnstati python-pyasn1 python-openssl
|
||||||
chsh -s /bin/zsh
|
chsh -s /bin/zsh
|
||||||
mkdir -p /root/staging /root/work/vim /srv/download /srv/manual
|
mkdir -p /root/staging /root/work/vim /srv/download /srv/manual
|
||||||
|
wget https://bootstrap.pypa.io/get-pip.py
|
||||||
|
python get-pip.py
|
||||||
|
apt-get remove requests
|
||||||
|
pip install requests ndg-httpsclient
|
||||||
Edit /etc/vnstat.conf and change the default interface to whatever the interface for
|
Edit /etc/vnstat.conf and change the default interface to whatever the interface for
|
||||||
the server is and change the max bandwidth to 1024
|
the server is and change the max bandwidth to 1024
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user