- nix script
- TermuxArch установка
- Требования
- Установка
- Настройка
- Сервисы
- Статьи
- Видео
- Подсказки (Tips)
- Контакты
- хостинг
- RebelLion420 / TermuxArchSetup2020.md
- Arch Linux ARM в Termux
- TermuxArch
- TermuxArch
- Screenshot from an Android smartphone 2018
- FACTS ABOUT THIS PROJECT:
- Arch linux termux установка
- Latest commit
- Git stats
- Files
- README.md
nix script
Keep it simple, stupid !
TermuxArch установка
Требования
- Смартфон с Android 5+
- Объём оперативной памяти — чем больше, тем лучше. У меня 6 гигабайт, вполне комфортно. На 3-х гигабайтах, думаю будет не очень шустро работать.
- Процессор — лучше 64-битный и чем больше ядер, тем лучше.
- Termux с обновлениями.
Установка
Сначала ставим Termux, просто по ссылке из Play Market Google или F-Droid
Примечание: Если Termux ставите с F-Droid, то и всё остальное для Termux ставьте оттуда же. Версии для Google и F-Droid несовместимы.
После установки Termux, если нужно, можете доустановить Termux-API или ещё что-то. Можно это сделать и позже, в любой момент.
Теперь надо (может и не всё надо, но будет удобно) дать разрешения к ресурсам смартфона. Найдите Termux в настройках Android и разрешите в первую очередь доступ к данным (файлы, фотографии), всё остальное по желанию.
Войдите в Termux:
Необходимый минимум от Termux мы получили. Теперь идём на github.com/sdrausty/TermuxArch и качаем скрипт установки. Сразу его запускаем:
Спокойно блокируем смартфон и идём пить чай/кофе, играть в приставку. процесс займёт время, в зависимости от ресурсов смартфона и скорости сети. У меня ставился минут 15-20.
После установки вы сразу окажетесь в TermuxArch пользователем root, будет выведена подсказка с приветствием и приглашение bash.
Это нормально. В системе уже есть пользователь alarm, но я его удалил и создал себя самого. Не моими руками — лучше удалить.
Создать пользователя просто, но об этом позже.
Прежде всего стоит добавить репозитории, если вам нужны. Для этого открываем фалй конфиг пакмана и добавляем всё, что нужно:
Репозиторий blackarch предлагает недоверенный ключ PGP. Если вы решитесь его добавить, то на свой страх и риск.
Я добавил 😁. Но с этим не всё так просто. Я воспользовался костылём, как всегда. Просто под строкой сервера blackarch добавил опцию SigLevel = Optional TrustAll .
Теперь надо подхватить индексы пакетов из добавленных репозиториев:
На этом основная часть закончена. Запрашивайте пакеты pacman -Ss
Настройка
Удаляем юзера alarm
Если ругается, что не может удалить директорию /home/alarm, гасите её руками
Создаём нового юзера. Для этого выходим из Arch и входим с добавление юзера
Примечание виндолюбам: прекращайте вести себя как идиоты. 😁 Начинайте думать головой, прежде чем что-то выполнить/запустить. Замените newuserlogin на тот логин, которым хотите обозвать нового юзера.
После этого вы снова попадёте в Arch, но уже новым юзером.
Совет: заходите в Arch сначала под root, а уже из под root входите юзером с помощью команды su — newuserlogin . Ибо именно root должен стартануть процессы, а юзер их юзать. Короче, X не запустится. 😁
Ну вот, собственно, предварительно, это всё. Хотите X-windows — читайте wiki.archlinux.org и мою статью по VNC XFCE4
Разберётес как запустить графику через X.org XSDL, свисните мне.
Статья написана в формате MarkDown и сконвертирована в HTML с помощью скрипта Parsedown.
Сервисы
Статьи
Видео
Подсказки (Tips)
Контакты
- VKontakte:@nixscript
- instagram:@nixscript
- facebook:@nixscript
- youtube:@NixScript
- GitHub:@nixscript
- own git:@nixscript
- Сайт Михаила Новосёлова:NixTux.ru
хостинг
Новым клиентам скидка 25% на первый месяц по этой 👉 ссылке или по промокоду: 648148526
Источник
RebelLion420 / TermuxArchSetup2020.md
So, to get started you need to get the base OS installed using the instructions from the official docs .
$ pkg install bsdtar wget proot tergent tmux openssh
Tmux is a multiplexer that lets you run multiple persistent windows and sessions on a single terminal. I had trouble getting it working in the Arch proot, so a workaround is configuring tmux from your host Termux and then creating a tmux session and starting the chroot from there. For more information on using tmux read this article, and to learn how to customize the appearance and behaviors more try this one as well as looking at the tmux-plugins Github organization for community-built add-ons.
This should download and install the Arch system. The install itself will take around 10-30 minutes depending on your device. When the process finishes you’ll be in a root shell in your new Arch distro! Of course like any new Linux distro, not everything will work out of the box.
You will want to change the password and maybe even the username of your new Linux user. This can be done with 2 commands.
To add your user:
$ useradd -mG root -s /bin/bash
For the password:
Once you’re user is set up, you can use a crash-tested script I made that should run through and handle any exceptions. If not, it should at least make it easy enough to figure out what went wrong. First download and run it with sudo to avoid repeating your password:
$ sudo pacman -Syyu wget
$ wget —no-check-certificate ‘https://docs.google.com/uc?export=download&id=107Fh0l_p0ItVkUufOhP9to-OU_6KYhPW’ -O fresharch.sh
$ chmod +x fresharch.sh
$ sudo bash fresharch.sh
If all the instructions were followed correctly yay should install and you’ll have a functional Arch Linux with AUR support on your Android device.
Источник
Arch Linux ARM в Termux
Реквестирую гайд по установке arch linux (или другого аналогичного дистрибутива) chroot окружения в Termux. Васяноскрипт не предлагать.
Собственно, все васяноскрипты основаны на PRoot. На той странице, думаю, инфы более чем достаточно.
Потратил 1.5 часа вчера, не встал нормально. Утром быстренько поставил без васяноскрипта, классическим методом из вики. Пришлось делать изыскания, как предлагают тут: arch.sh:
Команду для запуска proot, взял из arch-start.sh (есть в ссылке на 1 скрипт)
Всё, можно пользоваться.
P.S. ссылку на репо с корявеньким сериптом, я нашёл в f-droid, в их приложении с инструкцией. Там есть скрипты для других ОС (но с rootfs оффициальным, всего несколько вариантов). И есть скрипт для установки LXDE в арч (ещё не пробовал).
Пасиб милый человек
Как я и ожидал, их скрипт просто поставил DE и vnc
Лучше расскажи, как это нормально с ДЕ использовать. Поставил MultiVNC, там мышкой чтобы двигать — надо двигать медленно пальцем по экрану. Потом внизу экрана «кликать» мышкой. Чтобы вылезла клавиатура на пол экрана, нужно вызывать её через меню каждый раз. У меня планшет 7″ с норм разрешением, так пользоваться невозможно (разве что показать кому-то: «О, смотри чё есть»). И ещё масштабирования не нашёл, в lxde встроенного не припоминаю. Ще какой-то ад.
Только с компа нормально покликал-попечатал, но зачем оно мне там.
В скрипте есть такое
Что то это не приводит к созданию shm. При этом после установки firefox ругается, что shm function not implemented я так понимаю в юзермодном ядре. Кто знает как побороть?
Источник
TermuxArch
TermuxArch
-r–r–r– setupTermuxArch
-rwxrwxrwx setupTermuxArch
This Termux bash setup shell script will attempt to set Arch Linux up in your Termux environment. Please see install for options how to run setupTermuxArch on device. You can use bash setupTermuxArch[.
Screenshot from an Android smartphone 2018
Thank you for making this project work better and please contribute 🔆 Contributors and Notice to Contributors have more information about this project.
PRoot has more information about Linux on device with Termux.
Please share https://wiki.termux.com/wiki/Development everwhere🌎🌍🌏🌐!
Install Arch Linux into a Termux PRoot container with curl -OL https://TermuxArch.github.io/TermuxArch/setupTermuxArch && bash setupTermuxArch . After succesfull installation start the container with startarch .
Please see https://TermuxArch.github.io/TermuxArch/docs/install for options how to run setupTermuxArch on device.
Please see https://TermuxArch.github.io/docsTermuxArch/startingArch for options how to start the Arch Linux container startarch on device. If you find any errors, then please feel free open both a pull request, and an accompanying issue referencing it in the appropriate repository.
This repository uses submodules. To get all the pieces of this repository you can run the following code after cloning in the root directory of this repository:
FACTS ABOUT THIS PROJECT:
The core dataset can be viewed and tooled to your wish and desire with command setupTermuxArch bloom which should download all the components of TermuxArch into directory HOME/TermuxArchBloom in the Termux HOME directory. The command setupTermuxArch bloom is much like the command setupTermuxArch manual ; The bloom option is more expansive than setupTermuxArch manual which is primarily used for mirror selection, and can be used to tune the PRoot init statement. Bloom is a much more verbose option in that it provides the CLI user the entire code dataset. Please feel free to use the commands setupTermuxArch h[e[lp]] for additional information how to use setupTermuxArch .
Files setupTermuxArch.
File setupTermuxArch downloads as files setupTermuxArch.[bin,\ \(1\),\ \(2\),etc. ] ’ through Internet browsers into Android Downloads on smartphone and Arch Linux in Termux PRoot can be installed directly from this file in Android with this command bash
Источник
Arch linux termux установка
You can use setupTermuxArch.bash 📲 to install Arch Linux in Amazon, Android, Chromebook and Windows. https://sdrausty.github.io/TermuxArch/docs/install
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
This Termux bash setup shell script will attempt to set Arch Linux up in your Termux environment. Please see install for options how to run setupTermuxArch on device. You can use bash setupTermuxArch to install Arch Linux in a Termux PRoot container on your Android smartphone and tablet, and Chromebook too. When successfully completed, you will be experiencing the pleasure of the Linux command prompt in Arch Linux in Termux PRoot on Android, Chromebook and Fire OS on smartphone, tablet and wearable.
Screenshot from an Android smartphone 2018
Thank you for making this project work better and please contribute 🔆 Contributors and Notice to Contributors have more information about this project.
PRoot has more information about Linux on device with Termux.
Install Arch Linux into a Termux PRoot container with bash setupTermuxArch . After succesfull installation start the container with startarch .
See https://TermuxArch.github.io/docsTermuxArch/startingArch for options how to start the Arch Linux container startarch on device.
This repository uses submodules. To get all the pieces of this repository run the following code after cloning in the root directory of this repository:
Источник