当前位置:首页 > HIFI > 正文内容

Audiophile Linux安装

tomosak2年前 (2023-10-11)HIFI692

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


扫描二维码推送至手机访问。

版权声明:本文由Androidnews发布,如需转载请注明出处。

本文链接:https://www.androidnews.top/?id=23

标签: HIFILinux
分享给朋友:

“Audiophile Linux安装” 的相关文章

Linux安装RoonServer

Audiophile音乐Linux为蓝本介绍安装RoonServer1、使用工具上传roonserver-installer-linuxx64_Roon_100800795.sh和RoonServer_linuxx64.tar.bz2两个文件到tmp目录2、进入etc目录,编辑hostsnano /...

Windows、daphile、Audiophile三个系统共存

Windows、daphile、Audiophile三个系统共存最为重要的一个过程就是使用DG分区软件对硬盘进行分区,这里根据硬盘大小和三个系统需求进行分区,我们可以把Windows分区尽量的大,daphile和Audiophile尽可能的小,因为我们到时候可以把音乐文件放到Windows的分区,d...

老陈谈QA390

当别的优秀播放器都卖到3万、4万的价格时,QA390定了一个可能是市面上性价比最高的价格8699,或许还能把“可能”去掉。8699元,还不到某些品牌一条旗舰耳塞的价格,但它且可以把这些耳塞推出一片新天地, 上能推好很多大耳机。为什么QA390要定这么低的价格呢?要从乾龙盛公司的研发说起了, 大家都知...

月光宝盒TVBox解析地址

TVBox类解析地址:单播:https://raw.liucn.cc/box/m.json多播:https://jihulab.com/duomv/apps/-/raw/main/duo.json...

发表评论

访客

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