Commit 162192d 1 parent 907d93b commit 162192d Copy full SHA for 162192d
File tree 3 files changed +22
-28
lines changed
3 files changed +22
-28
lines changed Original file line number Diff line number Diff line change 1
- # x86_64 运行 arm64
1
+ # 在 ` x86_64 ` 平台模拟 ` arm64 `
2
2
3
- > 使用 qemu-user-static 实现
3
+ 使用 ` qemu-user-static ` 实现
4
4
5
5
## 参考文档
6
6
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 )
19
12
20
13
Original file line number Diff line number Diff line change 1
- # 当环境中没有 PHP 解释器时 可以快速安装 PHP 解释器
1
+ # 常见问题
2
2
3
- ``` bash
4
-
5
- # alpine
6
-
7
- sh sapi/quickstart/linux/extra/alpine-php-init.sh
3
+ ## 快速安装 ` PHP ` 解释器
8
4
9
- # # debian
5
+ ### Alpine
6
+ ``` bash
7
+ sh sapi/quickstart/linux/extra/alpine-php-init.sh
8
+ ```
10
9
10
+ ### Debian/Ubuntu
11
+ ``` bash
11
12
bash sapi/quickstart/linux/extra/debian-php-init.sh
12
-
13
13
```
14
14
15
- ``` bash
16
- wget -O composer.phar https://mirrors.aliyun.com/composer/composer.phar
15
+ ## 安装 ` Composer `
17
16
17
+ ``` bash
18
+ wget -O composer.phar https://mirrors.aliyun.com/composer/composer.phar
18
19
```
19
20
20
- ## c c++编译器 组合
21
+ ## ` C/C++ ` 编译器组合
21
22
22
- - 组合一 clang clang++
23
- - 组合二 gcc g++
23
+ - ` clang ` + ` clang++ `
24
+ - ` gcc ` + ` g++ `
24
25
Original file line number Diff line number Diff line change 1
- #! /usr/bin/env bash
2
1
<?php
3
2
/**
4
3
* @var $this SwooleCli\Preprocessor
8
7
use SwooleCli \Preprocessor ;
9
8
10
9
?>
10
+ #!/usr/bin/env bash
11
11
__PROJECT_DIR__=$(cd "$(dirname "$0")"; pwd)
12
12
CLI_BUILD_TYPE=<?= $ this ->getBuildType () . PHP_EOL ?>
13
13
SRC=<?= $ this ->phpSrcDir . PHP_EOL ?>
You can’t perform that action at this time.
0 commit comments