Skip to content

Commit 162192d

Browse files
committed
细节优化
1 parent 907d93b commit 162192d

File tree

3 files changed

+22
-28
lines changed

3 files changed

+22
-28
lines changed

sapi/quickstart/linux/arm64/README.md

+7-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
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

sapi/quickstart/linux/extra/README.md

+14-13
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
1-
# 当环境中没有 PHP 解释器时 可以快速安装 PHP 解释器
1+
# 常见问题
22

3-
```bash
4-
5-
# alpine
6-
7-
sh sapi/quickstart/linux/extra/alpine-php-init.sh
3+
## 快速安装 `PHP` 解释器
84

9-
## debian
5+
### Alpine
6+
```bash
7+
sh sapi/quickstart/linux/extra/alpine-php-init.sh
8+
```
109

10+
### Debian/Ubuntu
11+
```bash
1112
bash sapi/quickstart/linux/extra/debian-php-init.sh
12-
1313
```
1414

15-
```bash
16-
wget -O composer.phar https://mirrors.aliyun.com/composer/composer.phar
15+
## 安装 `Composer`
1716

17+
```bash
18+
wget -O composer.phar https://mirrors.aliyun.com/composer/composer.phar
1819
```
1920

20-
## c c++编译器 组合
21+
## `C/C++` 编译器组合
2122

22-
- 组合一 clang clang++
23-
- 组合二 gcc g++
23+
- `clang` + `clang++`
24+
- `gcc` + `g++`
2425

sapi/src/template/make.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env bash
21
<?php
32
/**
43
* @var $this SwooleCli\Preprocessor
@@ -8,6 +7,7 @@
87
use SwooleCli\Preprocessor;
98

109
?>
10+
#!/usr/bin/env bash
1111
__PROJECT_DIR__=$(cd "$(dirname "$0")"; pwd)
1212
CLI_BUILD_TYPE=<?= $this->getBuildType() . PHP_EOL ?>
1313
SRC=<?= $this->phpSrcDir . PHP_EOL ?>

0 commit comments

Comments
 (0)