Skip to content

xlui/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scripts

license

Some useful scripts.

Now Includes

ArchLinux

The script will do all installation things without partition, so please make sure you have parted and mounted before run the script.

You can choose which method to boot: UEFI or LEGACY, just follow the prompts.

Please make sure you have a good network.

Please note that, this script will add archlinuxcn to pacman.conf and will delete the origin mirrorlists and set it to ustc mirror.

By default, your language environment will be set to en_US.UTF-8, and you can change it through file /etc/locale.conf.

By default, your timezone will be set to Asia/Shanghai, and you can change it using commands below:
ln -sf /usr/share/zoneinfo/YOURTIMEZONE /etc/localtime
hwclock --systohc --local

By default, your hostname will be set as ArchLinux, and you can change is through changing file /etc/hostname.

By default, root's password is rootpasswd, please change it after the scripts stop immediately! ! !

Software will be Intalled: vim net-tools dnsutils git grub os-prober ntfs-3g dialog wpa_supplicant openssh wget

At last, you can choose to install a desktop environment or not :).

BBR

Configure BBR:

wget https://s.akise.app/bbr | bash

Vimrc

wget https://s.akise.app/vim
cat vim > ~/.vimrc

Git Config

Script to change git config can be destructive, so I just post my git config here:

[alias]
    st = status
    lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative

[push]
    default = simple

have a good experience with git 😏

iptables

Clear iptables with script:

wget https://s.akise.app/iptables | bash

LICENSE

MIT