Audiophile Linux安装

tomosak2年前HIFI673

If you are for example going to use “/dev/sda” disk to create partition for AP-Linux, execute this commands:

# fdisk /dev/sda

 or

# cfdisk /dev/sda

#fdisk -l

To summarize, these are all commands you need to run after disk partitioning:

# mkfs.ext4 /dev/sdXX

# mount /dev/sdXX /mnt

# time cp -ax / /mnt

# arch-chroot /mnt /bin/bash

# cd /etc/apl-files

# ./runme.sh

# grub-install --target=i386-pc /dev/sdX 

# grub-mkconfig -o /boot/grub/grub.cfg

# passwd root

# ln -s /usr/share/zoneinfo/Europe/Dublin /etc/localtime

# hwclock --systohc --utc

# ./autologin.sh

# exit

# genfstab -U /mnt >> /mnt/etc/fstab

# reboot

When AP-Linux boots, open terminal. Make sure your internet is working. You can check if internet is working with:

$ ping 114.114.114.114

You should see something like this:

PING 114.114.114.114(114.114.114.114) 56(84) bytes of data.

 64 bytes from 114.114.114.114: icmp_seq=1 ttl=56 time=25.9 ms

 64 bytes from 114.114.114.114: icmp_seq=2 ttl=56 time=21.9 ms

 64 bytes from 114.114.114.114: icmp_seq=3 ttl=56 time=25.4 ms

Then become root with:

$ su

Execute these commands. First command will take a while…

# pacman-key --init

# pacman-key --populate archlinux

# pacman -Sy

Now we need to do few more tweaks. If you have installed AP-Linux on SSD disk, edit /etc/fstab file with

# nano /etc/fstab

and add ‘noatime,discard’ option. Your “/dev/sdX1” line should look like this

Example config:

/dev/sda1 / ext4 rw,noatime,discard,data=ordered 0 1

If you didn’t install AP-Linux on SSD, remove the ‘discard’ part.

/dev/sda1 / ext4 rw,noatime,data=ordered 0 1

7.本地化设置,移除对应语言前的注释符号(en_US.UTF-8 UTF-8,zh_CN.UTF-8 UTF-8)

# vi /etc/locale.gen

# locale-gen

# echo.UTF-8 > /etc/locale.conf

(如果要添加中文支持,解决歌曲名,文件名乱码等问题。可自行设置配置文件并且安装中文字体,Linux的乱码问题很多情况是因为基础系统里面没有对应的字库)

10.主机名

# echo audiophilelinux > /etc/hostname


标签: HIFILinux

相关文章

苹果MacOS系统启动U盘制作

1、下载macOS 11.6.5https://pan.baidu.com/s/1uuL99sFR9BjRNaDm2xRfQQ?pwd=ykip2、在macOS系统加载镜像,拷贝安装macOS Big Sur.app到桌面3、打开 “应用程序 → 实用工具 → 磁盘工具”,将U盘「抹掉」(格式化)...

数播网播Daphile系统开通ssh登录

目前,影响较大的数播/网播系统有roon、volumio、moode、daphile,此外还有一个AudioLinux,似乎是个大杂烩,有个开源的Audiophile Linux(AP Linux),很久不更新了。 Daphile是个定制的HIFI数播系统,底层是Gento...

[S905X]私家云2免拆刷机使用攻略

[S905X]私家云2免拆刷机使用攻略

1、下载地址:链接: https://pan.baidu.com/s/1szVDmA80ubi2jg6GciEn2Q?pwd=skn3 提取码: skn32、--来自百度网盘超级会员v6的分享3、到手后不要联网,不管是有线还是无线;4、准备一套无线鼠标键盘套装,罗技最好;5、电脑...

树莓派使用pishrink压缩备份镜像

准备一个存有要被压缩镜像的sd卡,用读卡器插入树莓派中,输入以下命令,对应插入的是哪个接口lsblk下载pishrink,pishrink是一个大佬写的压缩镜像的脚本wget   chmod +x pishrink.sh sudo mv ...

Mac OS系统不能使用su命令问题

sudo su是当前用户暂时申请root权限,所以输入的不是root用户密码,而是当前用户的密码。sudo是用户申请管理员权限执行一个操作,而此处的操作就是变成管理员。一.sudo和su的区别在哪里?1.su 是一个具体的指令,而 sudo 则是用来修饰一个指令的“前缀”。2.su :切换到root...

群晖都有哪些型号?群晖NAS各产品型号命名规则

群晖都有哪些型号?群晖NAS各产品型号命名规则

群晖 (Synology) 在 NAS 界的影响力比肩苹果、微软的,群晖NAS在定价比同行高的情况下,依然成为市场上销量和口碑双赢的产品。那么群晖都有哪些型号,各型号之间市场功能需求定位及价格是怎样的?群晖科技(Synology)创立于 2000 年,自始便专注于打造高效能、可靠、功能丰富...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。