Bird-HM-Laptop
Version vom 14. September 2021, 17:55 Uhr von Hamatoma (Diskussion | Beiträge) (→Schnellinstallation)
Kategorie:Host
Hardware
- Acer
Architecture: x86_64 CPU(s): 12 Thread(s) per core: 2 Core(s) per socket: 6 Socket(s): 1 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 104 Model name: AMD Ryzen 5 5500U with Radeon Graphics CPU MHz: 1397.011 CPU max MHz: 4056,4451 CPU min MHz: 1400,0000 BogoMIPS: 4191.91
Schnellinstallation
vi /etc/apt/sources.list
# ... main contrib non-free, auch security
apt install rsync firmware-linux firmware-linux-free firmware-linux-nonfree
bash /tmp/basic_install.sh
restoretool -v3 init linuxserver
vi /etc/default/zramswap
# ===
adduser coder -uid 1001
adduser wk -uid 1002
function Usr(){
groupadd -g$2 $1
useradd -u$2 -g$2 $1
}
Usr bupsrv 201
Usr bupsupply 202
Usr extcloud 204
Usr extdata 205
Usr exthome 206
Usr extcave 212
Usr exttmp 215
btrfs filesystem label / fs.debian11
mkdir /media/fs.sys /media/fs.cave /media/space
- /etc/fstab:
#LABEL=fs.debian11 / btrfs noatime,nodiratime,compress=lzo,autodefrag,subvol=@rootfs 0 0 LABEL=fs.debian11 /media/fs.sys btrfs noatime,nodiratime,compress=lzo,autodefrag,subvolid=5 0 0 LABEL=fs.cave /media/fs.cave btrfs noatime,nodiratime,compress=lzo,autodefrag,ssd,space_cache,subvolid=5 0 0 LABEL=fs.cave /opt btrfs noatime,nodiratime,compress=lzo,autodefrag,ssd,space_cache,subvol=/opt 0 1 LABEL=fs.cave /home btrfs noatime,nodiratime,compress=lzo,autodefrag,ssd,space_cache,subvol=/home 0 1 LABEL=fs.space /media/fs.space ext4 defaults,noatime,nodiratime 0 1
restoretool -v3 init nginx
restoretool -v3 init mariadb
restoretool -v3 init cms
sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" \
> /etc/apt/sources.list.d/php.list'
wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -
apt update
restoretool -v3 init php 7.3
/usr/bin/apt-get -y install php7.4-fpm php7.4-cli php7.4-json php7.4-curl \
php7.4-imap php7.4-gd php7.4-mysql php7.4-xml php7.4-zip php7.4-intl \
php7.4-imagick php7.4-mbstring php7.4-memcached memcached php7.4-xdebug \
php7.4-igbinary php7.4-msgpack
apt install x2goserver x2goclient geany meld gitk libsqlite3-0 filezilla \
thunderbird xsane sane-airscan
# Install aus /opt/down: virtualbox chrome anydesk