Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| /** | |
| * Retrieves all the rows in the active spreadsheet that contain data and logs the | |
| * values for each row. | |
| * For more information on using the Spreadsheet API, see | |
| * https://developers.google.com/apps-script/service_spreadsheet | |
| */ | |
| function readRows() { | |
| var sheet = SpreadsheetApp.getActiveSheet(); | |
| var rows = sheet.getDataRange(); | |
| var numRows = rows.getNumRows(); |
Typing vagrant from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
vagrant up -- starts vagrant environment (also provisions only on the FIRST vagrant up)vagrant status -- outputs status of the vagrant machinevagrant halt -- stops the vagrant machinevagrant reload -- restarts vagrant machine, loads new Vagrantfile configurationvagrant provision -- forces reprovisioning of the vagrant machineOur Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.
The following steps assume you've got a set-up like mine, where:
| # Type(<scope>): <subject> | |
| # <body> | |
| # <footer> | |
| # Type should be one of the following: | |
| # * feat (new feature) | |
| # * fix (bug fix) | |
| # * docs (changes to documentation) |
| # PHP # | |
| ###下載 原始碼 | |
| $ wget http://tw2.php.net/distributions/php-5.3.8.tar.gz | |
| $ wget http://xmlsoft.org/sources/libxml2-2.7.7.tar.gz | |
| $ wget http://zlib.net/zlib-1.2.5.tar.gz | |
| ###解壓縮 | |
| :: 启动后需要保留窗口, 关闭窗口则结束进程 | |
| aria2c --conf-path=aria2.conf -D |