在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:RubenKelevra/pacman.store开源软件地址:https://github.com/RubenKelevra/pacman.store开源编程语言:Shell 100.0%开源软件介绍:The toolset has been split off and is now here available. pacman.storeCurrent status and any announcements, as well as a maintenance log, can be found here Under the domain pacman.store are package mirrors provided via the IPFS-Network. If you choose this as your mirror, Pacman will download the files from a local http-proxy and the accessed files will be shared with the IPFS-Network. If you run on multiple machines in your local network IPFS will exchange the files locally rather than downloading the same file multiple times from the internet. The data is held and shared by a collaborative cluster, which is provided by volunteers. UsageInstall IPFS as a service:Install Start the service with: # systemctl enable --now ipfs IPFS configurationI recommend enabling the build-in router module gossipsub which accelerates the lookup of names, like "pacman.store" significantly: # su ipfs -c /bin/bash -c "ipfs config Pubsub.Router gossipsub" Note: If you don't use my AUR package go-ipfs-git, make sure to modify your service file to include
Ipfs uses by default up to 10 GB of disk space in /var/lib/ipfs. If you want to lower or increase this value, you can do this by: # su ipfs -c /bin/bash -c "ipfs config Datastore.StorageMax '10GB'" After changing the settings you need to restart the daemon with # systemctl restart ipfs General Pacman configIt makes sense to set the parallel downloads to two and disable the download timeout, to avoid unnecessary aborts if ipfs needs initially a bit more time to find the right peers in the network (especially on high latency internet connections). Add the following lines to your pacman config (misc config section):
RepositoriesArchlinuxInstall the Archlinux-IPFS-Mirrorlist file into $ wget https://raw.githubusercontent.com/RubenKelevra/pacman.store/master/mirrorlists/mirrorlist.ipfs
$ sudo chown root: mirrorlist.ipfs
$ sudo mv mirrorlist.ipfs /etc/pacman.d/ Now add an include line (as first entry) for all regular archlinux repositories. They should look like this: [core]
Include = /etc/pacman.d/mirrorlist.ipfs
Include = /etc/pacman.d/mirrorlist Chaotic-AURInstall the Chaotic-AUR-IPFS-Mirrorlist file into $ wget https://raw.githubusercontent.com/RubenKelevra/pacman.store/master/mirrorlists/chaotic-mirrorlist.ipfs
$ sudo chown root: chaotic-mirrorlist.ipfs
$ sudo mv chaotic-mirrorlist.ipfs /etc/pacman.d/ Now add an include line (as first entry) for the Chaotic-Aur repository. It should look like this: [chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist.ipfs
Include = /etc/pacman.d/chaotic-mirrorlist ALHPInstall the ALHP-IPFS-Mirrorlist file into $ wget https://raw.githubusercontent.com/RubenKelevra/pacman.store/master/mirrorlists/alhp-mirrorlist.ipfs
$ sudo chown root: alhp-mirrorlist.ipfs
$ sudo mv alhp-mirrorlist.ipfs /etc/pacman.d/ Now add an include line (as first entry) for all AHLP repositories. They should look like this: [core-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist.ipfs
Include = /etc/pacman.d/alhp-mirrorlist EndeavourOSFirst execute the ArchLinux installation instructions above. After that install the Endeavouros-IPFS-Mirrorlist file into $ wget https://github.com/RubenKelevra/pacman.store/blob/master/mirrorlists/endeavouros-mirrorlist.ipfs
$ sudo chown root: endeavouros-mirrorlist.ipfs
$ sudo mv endeavouros-mirrorlist.ipfs /etc/pacman.d/ Now add an include line (as first entry) for the EndeavourOS repository. It should look like this: [endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist.ipfs
Include = /etc/pacman.d/endeavouros-mirrorlist ManjaroFollow the ArchLinux installation instructions, but use the Manjaro-IPFS-Mirrorlist with URL Manjaro (ARM)Follow the ArchLinux installation instructions, but use the Manjaro-ARM-IPFS-Mirrorlist with URL Cluster members
Import Server uptime (last month)
Join the ClusterIf you want to join and contribute bandwidth and disk space, feel free to do so. The repo size is about 430 GB. Since the data is rotating quite quickly it's recommended to enable the Garbage Collector with The default storage size for IPFS needs to be altered in the config file. If you're running your cluster follower on a computer with a static IP or a static domain name: Feel free to add it to the list of Details on how to join the cluster are available on the collab cluster website. tl;dr: You need a locally running IPFS node. Your IPFS StorageMax setting may need to be adjusted. You need ipfs-cluster-follow, then run: ipfs-cluster-follow pkg.pacman.store run --init cluster.pkg.pacman.store On low power machines use the following command: ipfs-cluster-follow pkg.pacman.store run --init lowpower.cluster.pkg.pacman.store FAQIf you have any questions, feel free to ask in the IPFS-chat on matrix, after consulting the FAQ Get an ISO/bootstrap image from IPFSISO and bootstrap files are also stored on the cluster: ArchLinux ISO/bootstrap images
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论