Arch Linux Install Script (or alis) installs unattended, automated and customized Arch Linux system.
It is a simple bash script that fully automates the installation of a Arch Linux system after booting from the original Arch Linux installation media. It contains the same commands that you would type and execute one by one interactively to complete the installation. The only user intervention needed is to edit a configuration file to choose the installation options and preferences from partitioning, to encryption, bootloader, file system, language and keyboard mapping, desktop environment, kernels, packages to install and graphic drivers. This automation makes the installation easy and fast.
If some time later after an system update for any reason the system does not boot correctly a recovery script is also provided to enter in a recovery mode that allows to downgrade packages or execute any other commands to restore the system. Also a log of the installation can be taken with asciinema.
Warning! This script can delete all partitions of the persistent storage. It is recommended to test it first in a virtual machine like VirtualBox.
Currently these scripts are for me but maybe they are useful for you too.
Follow the Arch Way of doing things and learn what this script does. This will allow you to know what is happening.
Please, don't ask for support for this script in Arch Linux forums, first read the Arch Linux wiki, the Installation Guide and the General Recommendations, later compare those commands with the commands of this script.
For new features, improvements and bugs fill an issue in GitHub or make a pull request. You can test it in a VirtualBox virtual machine (strongly recommended) before run it in real hardware. If you test it in real hardware please send me an email to pico.dev@gmail.com with the machine description and tell me if something goes wrong or all works fine. Pull request and new feature request are welcome!
Arch Linux Install Script (alis) is based on Arch Linux but is NOT approved, sponsored, or affiliated with Arch Linux or its related projects.
If you find useful this script, you can support me with a small donation through PayPal to continue adding features, updating the script, accepting pull request and responding to any question. Also there are other ways you can contribute in the How you can help section.
Download and boot from the latest original Arch Linux installation media. After boot use the following commands to start the installation.
Follow the Arch Way of doing things and learn what this script does. This will allow you to know what is happening.
Internet connection is required, with wireless WIFI connection see Wireless_network_configuration to bring up WIFI connection before start the installation.
# # Start the system with latest Arch Linux installation media
# loadkeys [keymap] # Load keyboard keymap, eg. loadkeys es, loadkeys us, loadkeys de
# iwctl --passphrase "[WIFI_KEY]" station [WIFI_INTERFACE] connect "[WIFI_ESSID]" # (Optional) Connect to WIFI network. _ip link show_ to know WIFI_INTERFACE.
# curl -sL https://raw.githubusercontent.com/picodotdev/alis/master/download.sh | bash # Download alis scripts
# # curl -sL https://bit.ly/2F3CATp | bash # Alternative download URL with URL shortener
# ./alis-asciinema.sh # (Optional) Start asciinema video recording
# vim alis.conf # Edit configuration and change variables values with your preferences (system configuration)
# vim alis-packages.conf # (Optional) Edit configuration and change variables values with your preferences (packages to install)
# # (The preferred way to install packages is after system installation, see Packages installation)
# ./alis.sh # Start installation
# ./alis-reboot.sh # (Optional) Reboot the system, only necessary when REBOOT="false"
If you fork alis repository you can host your own configuration and changes in your repository.
# curl https://raw.githubusercontent.com/picodotdev/alis/master/download.sh | bash -s -- -u [github user]
After the base Arch Linux system is installed, alis can install packages with pacman, Flatpak, SDKMAN and from AUR.
# # After system installation start a user session
# curl -sL https://raw.githubusercontent.com/picodotdev/alis/master/download.sh | bash # Download alis scripts
# # curl -sL https://bit.ly/2F3CATp | bash # Alternative download URL with URL shortener
# ./alis-packages-asciinema.sh # (Optional) Start asciinema video recording
# vim alis-packages.conf # Edit configuration and change variables values with your preferences (packages to install)
# ./alis-packages.sh # Start packages installation
Boot from the latest original Arch Linux installation media. After boot use the following commands to start the recovery, this will allow you to enter in the arch-chroot environment.
# # Start the system with latest Arch Linux installation media
# loadkeys [keymap] # Load keyboard keymap, eg. loadkeys es, loadkeys us, loadkeys de
# iwctl --passphrase "[WIFI_KEY]" station [WIFI_INTERFACE] connect "[WIFI_ESSID]" # (Optional) Connect to WIFI network. _ip link show_ to know WIFI_INTERFACE.
# curl -sL https://raw.githubusercontent.com/picodotdev/alis/master/download.sh | bash # Download alis scripts
# # curl -sL https://bit.ly/2F3CATp | bash # Alternative download URL with URL shortener
# ./alis-recovery-asciinema.sh # (Optional) Start asciinema video recording
# vim alis-recovery.conf # Edit configuration and change variables values with your last installation configuration with alis (mainly device and partition scheme)
# ./alis-recovery.sh # Start recovery
# ./alis-recovery-reboot.sh # Reboot the system
VirtualBox and Packer are required.
$ ./alis-packer.sh -c alis-packer-efi-ext4-systemd.sh
$ ./alis-packer.sh -c alis-packer-efi-ext4-systemd-gnome.sh
$ ./alis-packer.sh -c alis-packer-efi-ext4-luks-lvm-grub.sh
$ ./alis-packer.sh -c alis-packer-efi-btrfs-luks-lvm-systemd.sh
$ ./alis-packer.sh -c alis-packer-efi-f2fs-luks-lvm-systemd.sh
$ ./alis-packer.sh -c alis-packer-efi-ext4-grub-gnome.sh
$ ./alis-packer.sh -c alis-packer-efi-ext4-grub-kde.sh
$ ./alis-packer.sh -c alis-packer-efi-ext4-grub-xfce.sh
https://www.archlinux.org/download/
最长不下降子序列问题 Description 给定正整数序列 x1,…,xn 。 (1)计算其最长不下降子序列的长度 s 。 (2)计算从给定的序列中最多可取出多少个长度为 s 的不下降子序列。 (3)如果允许在取出的序列中多次使用 x1 和 xn ,则从给定序列中最多可取出多少个长 度为 s 的不下降子序列。 Input 文件第 1 行有 1 个正整数 n ,表示给定序列的长度。 接下来的 1
//AListener不是抽象的,也不会覆盖抽象方法actionPerform(ActionEvener)中的ActionListener????
我有以下代码,在调用.getList()时抛出。get(0)为空。 如何编写安全的java 8可选代码(使用. map等),以防止. getList(). get(0)抛出?
List接口不强制复制Javadoc中添加的元素,但和都复制它们(如果我正确理解源代码的话)。 那么,在此代码中添加的列表安全吗?我想不是吧? 在代码检查中,看到这样的问题,添加的列表在addAll()之后被清除,不确定我是否可以让它通过。
Alist 是一个支持多存储的文件列表程序,使用 Gin 和 React 。 支持 多种存储 本地存储 阿里云盘 OneDrive / Sharepoint(国际版, 世纪互联,de,us) 天翼云盘 (个人云, 家庭云) GoogleDrive 123云盘 蓝奏云 Alist FTP PikPak 闪电盘 S3 WebDav Teambition(中国,国际) 分