Fedora 安装

从U盘启动安装

1. Download ISO image. 
2. Identify the name of your USB device partition. Then run the following command replacing sdX with the name of your USB, e.g sdb.
$sudo dd if=/path/to/image.iso of=/dev/sdX bs=8M status=progress oflag=direct
3. Wait until the command completes then proceed to boot your system from USB stick.

升级

1. sudo dnf upgrade --refresh
2. sudo dnf install dnf-plugin-system-upgrade
3. sudo dnf system-upgrade download --releasever=32
Download complete! Use 'dnf system-upgrade reboot' to start the upgrade.
To remove cached metadata and transaction use 'dnf system-upgrade clean'
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.

Aliyun镜像

sudo mv fedora-updates.repo fedora-updates.repo.back
sudo mv fedora.repo fedora.repo.back
wget -O /etc/yum.repos.d/fedora.repo http://mirrors.aliyun.com/repo/fedora.repo
sudo wget -O /etc/yum.repos.d/fedora.repo http://mirrors.aliyun.com/repo/fedora.repo
sudo wget -O /etc/yum.repos.d/fedora-updates.repo http://mirrors.aliyun.com/repo/fedora-updates.repo
sudo yum makecache

标签:

发表评论

电子邮件地址不会被公开。