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

Audiophile Linux安装

tomosak2年前 (2023-10-11)HIFI865

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安装” 的相关文章

正确看待音响器材的测试数据

正确看待音响器材的测试数据

如果懒得看长文,记住一个最基本的道理即可:用仪器测试音响器材,用的是简单的正弦波信号(THD等测试),而真正播放音乐是高度动态变化的,而功放/耳放所驱动的音箱、耳机,从阻抗到低频响应特性等等都是具有极大差别。所以唯数据论是很低级的行为,特别是某些人更幼稚到把THD失真数据来做音箱器材声音水平的“排名...

piCorePlayer Roon Bridge Extension

This project aims to provide a set of scripts that allow easy installation of Roon Bridge software on recent versions of piCorePlayer (tested on ...

构建自己的moode-player包

构建自己的moode-player包

1. IntroductionThis repository contains scripts to build the packages containing the software components used in moOde audio player.1.1. Origin and bu...

Linux进程管理工具Supervisor使用

安装sudo apt install supervisor进入supervisor配置目录 cd /etc/supervisornano supervisor.conf添加以下行,开启web管理[inet_http_server] port=10.1.11.209:80 us...

ARM系列Linux开发板安装moOde、LMS、RoonBridge、NAA变成HIFI播放器

ARM系列Linux开发板安装moOde、LMS、RoonBridge、NAA变成HIFI播放器推荐固件包下载网站:https://github.com/ophub/https://files.kos.org.cn/https://www.armbian.com/修改系统源nano /etc/apt...

ARM系列主板安装moOde等数播系统

ARM系列主板安装moOde等数播系统 ver:1.0.3 by:Androidnews 2024.08.18 说明: 本安装教程不保证所有arm主板都能安装成功; 本安装教程虽然劲量简单,但是还是需要一定的Linux功底; 本安装教程以Debian的bookworm为基底实现,如...

发表评论

访客

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