通过ubuntu的apt-get安装的squid没有启用ssl功能,需要手动编译。
编译squid步骤如下。
apt-get install openssl libssl-dev ssl-cert
apt-get source squid
$ sudo npm install -g hexo-cli
$ hexo -v
hexo-cli: 0.1.9
| #!/bin/bash | |
| # Backup Phabricator database, storage engine, and config files | |
| # NOTE: This script is to be run by cron. See /etc/cron.d/phabricator | |
| # Don't use unset variables | |
| set -u | |
| # Exit if any commands fail (unless they begin a pipe, etc.) | |
| set -e | |
| # Output an error message and set the errors flag |
These instructions are based on Mistobaan's gist but expanded and updated to work with the latest tensorflow OSX CUDA PR.
| # Install QEMU OSX port with ARM support | |
| sudo port install qemu +target_arm | |
| export QEMU=$(which qemu-system-arm) | |
| # Dowload kernel and export location | |
| curl -OL \ | |
| https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.1.7-jessie | |
| export RPI_KERNEL=./kernel-qemu-4.1.7-jessie | |
| # Download filesystem and export location |
| Country | Alpha-2 code | Alpha-3 code | Numeric code | Latitude (average) | Longitude (average) | |
|---|---|---|---|---|---|---|
| Afghanistan | AF | AFG | 4 | 33 | 65 | |
| Åland Islands | AX | ALA | 248 | 60.116667 | 19.9 | |
| Albania | AL | ALB | 8 | 41 | 20 | |
| Algeria | DZ | DZA | 12 | 28 | 3 | |
| American Samoa | AS | ASM | 16 | -14.3333 | -170 | |
| Andorra | AD | AND | 20 | 42.5 | 1.6 | |
| Angola | AO | AGO | 24 | -12.5 | 18.5 | |
| Anguilla | AI | AIA | 660 | 18.25 | -63.1667 | |
| Antarctica | AQ | ATA | 10 | -90 | 0 |