Mass-mirroring Wikileaks
Wikileaks is currently under heavy attack.
In order to make it impossible to ever fully remove Wikileaks from the Internet, we need your help.
if you have a unix-based server which is hosting a website on the Internet and you want to give wikileaks some of your hosting resources, you can help!
Please follow the following instructions:
* Setup an account where we can upload files using RSYNC+SSH (preferred) or FTP * Put our SSH key in this server or create an FTP account * Create a virtual host in your web server, which, for example, can be wikileaks.yourdomain.com * send the IP address of your server to us, and the path where we should upload the content. (just fill the form below)
We will take care of all the rest: Sending pages to your server, updating them each time data is released, maintaining a list of such mirrors. If your server is down or if the account don’t work anymore, we will automatically remove your server from the list.
Our content is only html/css/javascript/png static files, so we don’t require much resource to host it.
The complete website should not take more than a couple of GB at the moment (with base website and cablegate data)
To add your mirror to the list, please download the SSH key you will find below, then fill the following form to add your website to our mirror list :
How to setup Debian/Ubuntu Apache2-based server to host a WikiLeaks mirror
#1 Create a DNS A record (here 'wikileaks.mydomain.com') in your domain's DNS zone and make it point to your server's IP
#2 Create on your webserver the user Wikileaks staff will use to upload the website
useradd -m -d /home/wikileaks wikileaks
#3 Set the Wikileaks SSH Public Key
mkdir /home/wikileaks/.ssh
wget http://213.251.145.96/id_rsa.pub -O /home/wikileaks/.ssh/authorized_keys
# Also available on http://46.59.1.2/id_rsa.pub if the first server is down
#4 Create the directory which will be used to host the file and give wikileaks user's write permissions:
mkdir /var/www/wikileaks.mydomain.com
chown wikileaks:wikileaks /var/www/wikileaks.mydomain.com
chmod u+w /var/www/wikileaks.mydomain.com
#5 Create Apache virtual host
nano /etc/apache2/sites-available/wikileaks.mydomain.com
# With the following content (modify it according to your needs)
<VirtualHost *:80>
ServerName wikileaks.mydomain.com
DocumentRoot /var/www/wikileaks.mydomain.com
<Directory /var/www/wikileaks.mydomain.com>
AllowOverride None
</Directory>
<Location />
Order Allow,Deny
Allow from All
</Location>
</VirtualHost>
#6 Enable the vhost
a2ensite wikileaks.mydomain.com
#7 Verify configuration files
apache2ctl configtest
#8 If no errors are given you can load the new configuration files
apache2ctl graceful