Read the install script before using it.
You may want to understand what the script is doing before executing it.
I will not be responsible for any damage caused to your server.
This file contains hidden or 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
| #!/bin/sh | |
| sudo apt-get remove $(dpkg -l|egrep '^ii linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`) | |
| update-grub |
This file contains hidden or 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
| #!/bin/sh | |
| SRC=/usr/src | |
| NGINX_VERSION=1.8.0 # http://nginx.org/en/download.html | |
| NPS_VERSION=1.9.32.6 # https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source | |
| if [ "$(id -u)" != "0" ]; then | |
| echo "This script must be run as root" 1>&2 | |
| exit 1 | |
| fi |
This file contains hidden or 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
| <form class="form-horizontal" role="form"> | |
| <div class="form-group"> | |
| <label for="sampleAutocomplete" class="col-sm-3 control-label">Sample Autocomplete</label> | |
| <div class="col-sm-9"> | |
| <input type="text" class="autocomplete form-control" id="sampleAutocomplete" data-toggle="dropdown" /> | |
| <ul class="dropdown-menu" role="menu"> | |
| <li><a>Action</a></li> | |
| <li><a>Another action</a></li> | |
| <li><a>Something else here</a></li> | |
| <li><a>Separated link</a></li> |
This file contains hidden or 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
| // Comma-separated values to JSON | |
| function parseCSV(data) { | |
| return parseDSV(data, ","); | |
| } | |
| // Tabulation-separated values to JSON | |
| function parseTSV(data) { | |
| return parseDSV(data, "\t"); | |
| } |
If you don't want to build Squid from scratch, you can simply Setup a Squid anonymous proxy
Please note that this whole manual refers to the version 3.5.23 of Squid. You probably would have to adapt some commands to the version you will actually download.
NewerOlder