-
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.
Merge pull request #900 from jingjingxyk/experiment-t
pull main code
- Loading branch information
Showing
24 changed files
with
111 additions
and
138 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
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
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
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
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
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
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,18 +1,13 @@ | ||
# x86_64 运行 arm64 | ||
> 使用 qemu-user-static 实现 | ||
# 在 `x86_64` 平台模拟 `arm64` | ||
|
||
## 参考文档 | ||
qemu | ||
https://www.qemu.org/ | ||
https://github.com/qemu/qemu.git | ||
|
||
qemu-user-static | ||
https://github.com/multiarch/qemu-user-static.git | ||
使用 `qemu-user-static` 实现 | ||
|
||
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ __DIR__=$( | |
|
||
cd ${__DIR__} | ||
|
||
docker exec -it swoole-cli-alpine-dev sh | ||
docker exec -it woole-cli-builder sh |
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,25 +1,27 @@ | ||
# | ||
# 常见问题 | ||
|
||
## 当环境中没有 PHP 解释器时 可以快速安装 PHP 解释器 | ||
```bash | ||
## 快速安装 `PHP` 解释器 | ||
|
||
# alpine | ||
### Alpine | ||
|
||
sh sapi/quickstart/linux/extra/alpine-php-init.sh | ||
```bash | ||
sh sapi/quickstart/linux/extra/alpine-php-init.sh | ||
``` | ||
|
||
## debian | ||
### 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
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
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
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
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
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
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
File renamed without changes.
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 构建window PHP 工具 和 参考 | ||
|
||
[download windows PHP ](https://windows.php.net/download#php-8.2) | ||
|
||
[windows build php 步骤](https://wiki.php.net/internals/windows/stepbystepbuild) | ||
|
||
## windows 环境下 git 配置 | ||
|
||
```shell | ||
git config --global core.autocrlf false | ||
git config --global core.eol lf | ||
git config --global core.ignorecase false | ||
git config core.ignorecase false # 设置 Git 在 Windows 上也区分大小写 | ||
``` | ||
|
||
[Latest VC++](https://learn.microsoft.com/en-AU/cpp/windows/latest-supported-vc-redist) | ||
[7zip](https://7-zip.org/) | ||
[visualstudio](https://visualstudio.microsoft.com/zh-hans/downloads/) | ||
[windows-sdk](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) | ||
|
||
## windows 软连接例子 | ||
|
||
```bash | ||
|
||
mklink composer composer.phar | ||
|
||
``` |
Oops, something went wrong.