File tree Expand file tree Collapse file tree 4 files changed +23
-29
lines changed
Expand file tree Collapse file tree 4 files changed +23
-29
lines changed Original file line number Diff line number Diff line change 1- # x86_64 运行 arm64
1+ # 在 ` x86_64 ` 平台模拟 ` arm64 `
22
3- > 使用 qemu-user-static 实现
3+ 使用 ` qemu-user-static ` 实现
44
55## 参考文档
66
7- qemu
8- https://www.qemu.org/
9- https://github.com/qemu/qemu.git
10-
11- qemu-user-static
12- https://github.com/multiarch/qemu-user-static.git
13-
14- x86 平台利用 qemu-user-static 实现 arm64 平台 docker 镜像的运行和构建
15- https://www.cnblogs.com/chen2ha/p/17180287.html
16-
17- Docker在x86架构的物理机上跑Qemu-arm 容器
18- https://blog.csdn.net/sunSHINEEzy/article/details/80015638
7+ - [ qemu 官网] ( https://www.qemu.org/ )
8+ - [ qemu GitHub] ( https://github.com/qemu/qemu.git )
9+ - [ qemu-user-static] ( https://github.com/multiarch/qemu-user-static.git )
10+ - [ x86 平台利用 qemu-user-static 实现 arm64 平台 docker 镜像的运行和构建] ( https://www.cnblogs.com/chen2ha/p/17180287.html )
11+ - [ Docker在x86架构的物理机上跑Qemu-arm 容器] ( https://blog.csdn.net/sunSHINEEzy/article/details/80015638 )
1912
2013
Original file line number Diff line number Diff line change 1- # 当环境中没有 PHP 解释器时 可以快速安装 PHP 解释器
1+ # 常见问题
22
3- ``` bash
3+ ## 快速安装 ` PHP ` 解释器
44
5- # alpine
5+ ### Alpine
66
7- sh sapi/quickstart/linux/extra/alpine-php-init.sh
7+ ``` bash
8+ sh sapi/quickstart/linux/extra/alpine-php-init.sh
9+ ```
810
9- # # debian
11+ ### Debian/Ubuntu
1012
13+ ``` bash
1114bash sapi/quickstart/linux/extra/debian-php-init.sh
12-
1315```
1416
15- ## download composer
17+ ## 安装 ` Composer `
1618
1719``` bash
1820curl -Lo /usr/local/bin/composer.phar https://getcomposer.org/download/latest-stable/composer.phar
@@ -22,8 +24,8 @@ chmod a+x /usr/local/bin/composer
2224
2325```
2426
25- ## c c++编译器 组合
27+ ## ` C/C++ ` 编译器组合
2628
27- - 组合一 clang clang++
28- - 组合二 gcc g++
29+ - ` clang ` + ` clang++ `
30+ - ` gcc ` + ` g++ `
2931
Original file line number Diff line number Diff line change 4242
4343if [ -n " $http_proxy " ] || [ -n " $https_proxy " ] || [ -n " $HTTP_PROXY " ] || [ -n " $HTTPS_PROXY " ]; then
4444 set +u
45- uset http_proxy
46- uset https_proxy
47- uset HTTP_PROXY
48- uset HTTPS_PROXY
45+ unset http_proxy
46+ unset https_proxy
47+ unset HTTP_PROXY
48+ unset HTTPS_PROXY
4949 set -u
5050fi
5151
Original file line number Diff line number Diff line change 1- #! /usr/bin/env bash
21<?php
32/**
43 * @var $this SwooleCli\Preprocessor
You can’t perform that action at this time.
0 commit comments