Linux Deploy使用chroot容器安装linux发行版

3a25f63e901382f4466b03a9a80878f4.png

一、先下载好软件

Linux Deploy(一)Linux Deploy简介与软件安装_吻等离子的博客-CSDN博客

二、搭建debian

首先手机要获取root权限

linux Deploy支持许多发行版linux,发行版建议选择Debian,这个版本最好装,Ubuntu 或者 Centos 容易安装失败。(经过测试后期安装宝塔应用Debian最稳定)

1、安装配置BusyBox

安装busybox,进入后点击安装,并记下安装路径,一般为/system/xbin

打开 BusyBox。安装的过程中,记录下 BusyBox 的安装位置。在下图中,BusyBox 安装到了"/system/xbin"。稍后我们会用到这个位置。

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
This application is open source software for quick and easy installation of the operating system (OS) GNU/Linux on your Android device. The application creates a disk image or a directory on a flash card or uses a partition or RAM, mounts it and installs an OS distribution. Applications of the new system are run in a chroot environment and working together with the Android platform. All changes made on the device are reversible, i.e. the application and components can be removed completely. Installation of a distribution is done by downloading files from official mirrors online over the internet. The application can run better with superuser rights (root). The program supports multi language interface. You can manage the process of installing the OS, and after installation, you can start and stop services of the new system (there is support for running your scripts) through the UI. The installation process is reported as text in the main application window. During the installation, the program will adjust the environment, which includes the base system, SSH server, VNC server and desktop environment. The program interface can also manage SSH and VNC settings. Installing a new operating system takes about 15 minutes. The recommended minimum size of a disk image is 1024 MB (with LXDE), and without a GUI - 512 MB. When you install Linux on the flash card with the FAT32 file system, the image size should not exceed 4095 MB! After the initial setup the password for SSH and VNC generated automatically. The password can be changed through "Properties -> User password" or standard OS tools (passwd, vncpasswd). The app is available for download in Google Play and GitHub.
### 回答1: 好的,下面是在Android设备上使用Linux Deploy安装CentOS的步骤: 1. 首先,在Google Play商店下载并安装Linux Deploy应用程序。 2. 打开Linux Deploy应用程序并单击右上角的设置按钮。 3. 在设置菜单中,将Distribution更改为“CentOS”。 4. 在Architecture中选择“armhf”。 5. 在Mirror中选择“default”。 6. 在Suite中选择“stable”。 7. 在目标文件夹中选择安装CentOS的位置。建议使用外部存储器以避免设备存储空间不足。 8. 在其他设置中,选择“SSH”以便在安装完成后通过SSH连接到CentOS。 9. 单击“安装”按钮并等待Linux Deploy下载并安装CentOS。 10. 安装完成后,您可以通过SSH连接到CentOS并开始使用它了。 需要注意的是,Linux Deploy在Android设备上模拟Linux环境。因此,它需要足够的RAM和CPU来运行CentOS。建议使用高端设备进行安装以获得更好的体验。 ### 回答2: 在Android设备上安装CentOS操作系统可以通过使用Linux Deploy应用程序来实现。以下是安装CentOS的步骤: 1. 在Google Play商店中下载并安装Linux Deploy应用程序。 2. 打开Linux Deploy应用,并确保您的设备已经取得了Root权限。 3. 在Linux Deploy的主界面上,点击右上角的菜单按钮。 4. 在菜单列表中选择"Properties"(属性)选项。 5. 在属性设置中,选择"Manage distributions"(管理发行版)选项。 6. 在发行版管理界面,点击右上角的加号按钮。 7. 在发行版列表中选择"CentOS"作为要安装的操作系统。 8. 在操作系统设置中,可以更改CentOS的版本和其他参数,然后点击"Save"(保存)按钮。 9. 返回到Linux Deploy的主界面,点击右上角的三个点按钮。 10. 在菜单列表中选择"Start"(启动)选项。 11. Linux Deploy将自动下载CentOS的镜像文件,并开始安装。 12. 安装完成后,Linux Deploy会显示CentOS的IP地址和用户名密码等信息。 通过这些步骤,您就可以成功地在Android设备上安装CentOS操作系统,并开始使用它进行各种任务和操作。请注意,安装过程可能需要一段时间,取决于您的设备性能和网络状况。 ### 回答3: 要使用Linux Deploy在Android设备上安装CentOS,您需要遵循以下步骤: 1. 首先,安装Linux Deploy应用程序。您可以在Google Play商店中搜索并下载它。 2. 打开Linux Deploy应用程序。在主界面上,您将看到各种配置选项。 3. 在“属性”选项卡中,选择“操作系统”并选择CentOS。 4. 然后,单击“更新列表”按钮以获取最新的CentOS发行版列表。 5. 从列表中选择适合您的版本,并通过点击“安装”按钮来下载和安装CentOS。 6. 安装过程可能需要一些时间,具体取决于您的设备性能和网络速度。 7. 安装完成后,您将看到一个新的CentOS根文件系统的选项。 8. 在“配置”选项卡中,您可以根据需要调整各种设置,例如用户名、密码和SSH访问等。 9. 完成配置后,单击“启动”按钮以启动CentOS。 10. 等待一段时间,直到Linux Deploy成功启动CentOS。 11. 在Linux Deploy界面上,您将看到“SSH终端”和“VNC控制台”选项。您可以选择其中任何一种方式来访问和控制CentOS。 通过按照上述步骤,您可以使用Linux Deploy在Android设备上成功安装CentOS。请注意,安装过程可能因使用的设备和网络状况而有所不同。因此,对于某些用户,可能需要进行某些额外的设置或配置。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

吻等离子

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值