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镜像
(做以上升级操作时最好切换到原来的yum repo,至少升级32到33时报错)

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 dnf makecache

清华镜像
https://mirrors.tuna.tsinghua.edu.cn/help/fedora/

cockpit

sudo dnf install cockpit -y
sudo dnf enable cockpit
sudo dnf start cockpit
http://localhost:9090/ #system user/passwd
sudo firewall-cmd –add-service=cockpit –permanent
or,
sudo firewall-cmd –add-port=9090/tcp –permanent
sudo firewall-cmd –reload

标签:

发表评论