From acc92d85b61d9680e9030906aac3a67da821bc6e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 4 Sep 2014 21:45:29 +0530 Subject: [PATCH] Make requests available on file hosting servers --- setup/file_hosting_servers.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/setup/file_hosting_servers.rst b/setup/file_hosting_servers.rst index 7e85305699..cb41ea435c 100644 --- a/setup/file_hosting_servers.rst +++ b/setup/file_hosting_servers.rst @@ -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 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 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 the server is and change the max bandwidth to 1024