-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
# x86_64 运行 arm64 | ||
# 在 `x86_64` 平台模拟 `arm64` | ||
|
||
> 使用 qemu-user-static 实现 | ||
使用 `qemu-user-static` 实现 | ||
|
||
## 参考文档 | ||
|
||
qemu | ||
https://www.qemu.org/ | ||
https://github.com/qemu/qemu.git | ||
|
||
qemu-user-static | ||
https://github.com/multiarch/qemu-user-static.git | ||
|
||
x86 平台利用 qemu-user-static 实现 arm64 平台 docker 镜像的运行和构建 | ||
https://www.cnblogs.com/chen2ha/p/17180287.html | ||
|
||
Docker在x86架构的物理机上跑Qemu-arm 容器 | ||
https://blog.csdn.net/sunSHINEEzy/article/details/80015638 | ||
- [qemu 官网](https://www.qemu.org/) | ||
- [qemu GitHub](https://github.com/qemu/qemu.git) | ||
- [qemu-user-static](https://github.com/multiarch/qemu-user-static.git) | ||
- [x86 平台利用 qemu-user-static 实现 arm64 平台 docker 镜像的运行和构建](https://www.cnblogs.com/chen2ha/p/17180287.html) | ||
- [Docker在x86架构的物理机上跑Qemu-arm 容器](https://blog.csdn.net/sunSHINEEzy/article/details/80015638) | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
# 当环境中没有 PHP 解释器时 可以快速安装 PHP 解释器 | ||
# 常见问题 | ||
|
||
```bash | ||
|
||
# alpine | ||
|
||
sh sapi/quickstart/linux/extra/alpine-php-init.sh | ||
## 快速安装 `PHP` 解释器 | ||
|
||
## debian | ||
### Alpine | ||
```bash | ||
sh sapi/quickstart/linux/extra/alpine-php-init.sh | ||
``` | ||
|
||
### Debian/Ubuntu | ||
```bash | ||
bash sapi/quickstart/linux/extra/debian-php-init.sh | ||
|
||
``` | ||
|
||
```bash | ||
wget -O composer.phar https://mirrors.aliyun.com/composer/composer.phar | ||
## 安装 `Composer` | ||
|
||
```bash | ||
wget -O composer.phar https://mirrors.aliyun.com/composer/composer.phar | ||
``` | ||
|
||
## c c++编译器 组合 | ||
## `C/C++` 编译器组合 | ||
|
||
- 组合一 clang clang++ | ||
- 组合二 gcc g++ | ||
- `clang` + `clang++` | ||
- `gcc` + `g++` | ||
|
This file contains 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