Cd to ~/.ssh
cd .ssh
Create ssh key (pass any)
ssh-keygen -t rsa -C "your_email@youremail.com"
Cd to ~/.ssh
cd .ssh
Create ssh key (pass any)
ssh-keygen -t rsa -C "your_email@youremail.com"
Go to /etc/nginx/conf.d
delete all files in it and create two files MyAppDevelopment.conf
and MyAppProduction.conf
(change MyApp
to your app name).
Add to MyAppDevelopment.conf
:
upstream MyAppDevelopment {
server unix:///tmp/MyAppDevelopment.sock;
}
self.request.headers.each do |header| | |
next if !header[1].is_a?(String) | |
@@debug["#{header[0]}"] = header[1] | |
end |
Install mod_proxy_http:
a2enmod proxy_http
Add to /etc/apache2/apache2.conf
(change ip):
<VirtualHost 11.1.11.111:80 >
ServerName site.com
Options>preferences>Advanced...
Turn all these settings to false:
left_rail_offer
gui.show_plus_upsell
sponsored_torrent_offer_enabled
bt.enable_pulse
gui.show_notorrents_node
offers.content_offer_autoexec
Here’s a tip to fix it: the s3cmd upload/download speed can be tuned by modifying send_chunk
/recv_chunk
variables in the s3cfg
configuration file (the default is 4096 – 4KB). source
wget http://nmap.org/dist/nmap-6.40.tar.bz2
tar -jxvf nmap-6.40.tar.bz2
cd nmap-6.40
./configure
make "LUA_LIBS=../liblua/liblua.a -ldl -lm"
sudo checkinstall
sudo dpkg -i nmap_6.40-1_amd64.deb