北京建站免费模板,织梦网站怎么更换模板,赚钱平台网站,优未网络科技秦皇岛有限公司目录 1. 前言
2. 效果图展示
3. 安装termux
4. 安装Centos系统
4.1 更换源
4.2 拉取镜像
4.3 启动centos
5.结尾 1. 前言 大家好#xff0c;我是jiaoxingk 今天这篇文章让你能够在手机或者平板上使用Linux-Centos系统 让你随时随地都能操作命令行进行装13 2. 效果图展示…目录 1. 前言
2. 效果图展示
3. 安装termux
4. 安装Centos系统
4.1 更换源
4.2 拉取镜像
4.3 启动centos
5.结尾 1. 前言 大家好我是jiaoxingk 今天这篇文章让你能够在手机或者平板上使用Linux-Centos系统 让你随时随地都能操作命令行进行装13 2. 效果图展示 3. 安装termux
废话不多说咋们直接开干
首先下载termux并且安装到手机或者平板上面 链接https://pan.baidu.com/s/1LUhUqHyevYfuIYXjpf1oUQ 提取码yrcf 4. 安装Centos系统
安装完之后应该是这样的 4.1 更换源
我们先更换源加速下载 sed -i s^\(deb.*stable main\)$#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main $PREFIX/etc/apt/sources.listsed -i s^\(deb.*games stable\)$#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/game-packages-24 games stable $PREFIX/etc/apt/sources.list.d/game.listsed -i s^\(deb.*science stable\)$#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/science-packages-24 science stable $PREFIX/etc/apt/sources.list.d/science.listpkg update
4.2 拉取镜像
先安装依赖
pkg install proot git python -y
接着执行
git clone https://github.com/sqlsec/termux-install-linux
cd termux-install-linux
python termux-linux-install.py
此时会出现这种 我们选择7就好了然后等待安装完成
4.3 启动centos
等待安装完成后我们ctrl c退出
依次执行
cd ..
cd Termux-Linux/
cd CentOS
最后执行
./start-centos.sh ok当显示出[rootlocalhost]就算成功啦
5.结尾
通过本篇文章你就可以愉快地操作Centos系统了。