Table of Contents
3. Install Rocky Linux in VMware workstation" >3. Install Rocky Linux in VMware workstation
3.1. Installation preparation
3.2、安装Rocky Linux
4、常用命令的使用体验" >4、常用命令的使用体验
Home Computer Tutorials Computer Knowledge CentOS alternative, Rocky Linux operating system installation and use

CentOS alternative, Rocky Linux operating system installation and use

Mar 15, 2024 am 09:00 AM
linux centos Linux operating system System installation rocky

1. The background of Rocky Linux

The background of

Rocky Linux is closely related to the changes in the CentOS community.

CentOS (Community ENTerprise Operating System) was previously an open source Linux distribution built on the Red Hat Enterprise Linux (RHEL) source code. It is very popular in enterprise environments because it provides similar functionality and performance to RHEL without the commercial licensing fees of RHEL.

However, over time, the development direction of the CentOS project has changed.

Red Hat decided to stop maintaining the traditional version of CentOS, and then launched CentOS Stream, which is a rolling update version mainly used for upstream development.

This change has caused unease among many enterprises and individual users who rely on stable CentOS versions, because they need a stable and reliable alternative to maintain their systems and applications.

It is against this background that Gregory Kurtzer, one of the founders of CentOS, led a community project aimed at creating a system compatible with RHEL Compatible stable Linux distribution.

This project is Rocky Linux, the name of Rocky Linux is a tribute to the early CentOS co-founder Rocky McGaugh, and at the same time It also symbolizes the spiritual inheritance of this new release and CentOS.

The goal of

Rocky Linux is to provide users with a highly compatible, stable and reliable alternative to RHEL.

It is rebuilt directly from the source code of RHEL, inherits the advantages of RHEL, and continues to develop with the support of the community.

The emergence of

Rocky Linux provides a new choice for users who are looking for a stable, reliable and free Linux distribution.

In general, the background of Rocky Linux is the changes in the CentOS community and the user's demand for a stable and reliable Linux distribution.

Rocky Linux As an open source, community-driven project, it inherits the advantages of CentOS and RHEL and is committed to providing users with a powerful production level platform.

2. Obtain the Rocky Linux image file

Currently, the latest version is 9.3.

Method 1: Rocky Linux official website

https://rockylinux.org/download
Copy after login

CentOS替代品,Rocky Linux操作系统安装和使用

Select X86_64 architecture above, then ISOS select DVD, then download the file Rocky-9.3-x86_64-dvd.iso image .

Method Two: Domestic Mirror Station

For example, Alibaba Cloud Developer Community Page:

https://developer.aliyun.com/mirror/?spm=a2c6h.13651102.0.0.6b5b1b11ZAr5AO&serviceType=mirror&tag=%E7%B3%BB%E7%BB%9F
Copy after login

CentOS替代品,Rocky Linux操作系统安装和使用

Select the OS mirror as above, search for rockylinux in the mirror warehouse, and click rockylinux to enter the next introduction page:

CentOS替代品,Rocky Linux操作系统安装和使用

That is, the Alibaba Cloud image download address:

https://mirrors.aliyun.com/rockylinux/
Copy after login

The introduction to Rocky Linux on Alibaba Cloud is the same:

Rocky Linux is a fork of CentOS, which is downstream of Red Hat Enterprise Linux (RHEL). Like CentOS, it provides a stable version of Linux that is very suitable for servers. It is intended as a fully compatible replacement for CentOS.

In addition, configure the default source:

sed -e 's|^mirrorlist=|#mirrorlist=|g' 
-e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' 
-i.bak 
/etc/yum.repos.d/Rocky-*.repo

dnf makecache
Copy after login

3. Install Rocky Linux in VMware workstation

3.1. Installation preparation

New virtual machine

CentOS替代品,Rocky Linux操作系统安装和使用

Select Custom or Typical:

CentOS替代品,Rocky Linux操作系统安装和使用

CentOS替代品,Rocky Linux操作系统安装和使用

Next, choose to install the operating system later:

CentOS替代品,Rocky Linux操作系统安装和使用

For the guest operating system, select LINUX, and for the version, select RHEL 8 64. There is no 9 version here, so you can select version 8.

CentOS替代品,Rocky Linux操作系统安装和使用

CentOS替代品,Rocky Linux操作系统安装和使用

CentOS替代品,Rocky Linux操作系统安装和使用

CentOS替代品,Rocky Linux操作系统安装和使用

3.2、安装Rocky Linux

虚拟机创建好以后,点击启动虚拟机,开始安装系统:

选择Install Rocky Linux 9.3

CentOS替代品,Rocky Linux操作系统安装和使用

语言选择,默认就是中文,简体中文(中国), 点击“继续”按钮。

CentOS替代品,Rocky Linux操作系统安装和使用

系统安装总览

包括本地化、软件、系统,本地化和软件如下图,已设置好:

CentOS替代品,Rocky Linux操作系统安装和使用

用户设置中设置admin的密码,并创建一个普通用户。

CentOS替代品,Rocky Linux操作系统安装和使用

手动分区

CentOS替代品,Rocky Linux操作系统安装和使用

CentOS替代品,Rocky Linux操作系统安装和使用

接受更改,点击完成。

CentOS替代品,Rocky Linux操作系统安装和使用

开始安装系统,并完成安装,重启系统:

CentOS替代品,Rocky Linux操作系统安装和使用

系统界面如下:

CentOS替代品,Rocky Linux操作系统安装和使用

4、常用命令的使用体验

基本命令

CentOS替代品,Rocky Linux操作系统安装和使用

CentOS替代品,Rocky Linux操作系统安装和使用

安装常用软件,比如tmux

[root@localhost ~]# yum -y install tmux
上次元数据过期检查:0:05:06 前,执行于 2024年03月14日 星期四 13时10分46秒。
依赖关系解决。
================================================================================
 软件包 架构 版本仓库大小
================================================================================
安装:
 tmux x86_64 3.2a-5.el9baseos 475 k

事务概要
================================================================================
安装1 软件包

总下载:475 k
安装大小:1.1 M
下载软件包:
tmux-3.2a-5.el9.x86_64.rpm1.1 MB/s | 475 kB 00:00
--------------------------------------------------------------------------------
总计361 kB/s | 475 kB 00:01 
Rocky Linux 9 - BaseOS1.7 MB/s | 1.7 kB 00:00
导入 GPG 公钥 0x350D275D:
 Userid: "Rocky Enterprise Software Foundation - Release key 2022 <releng@rockylinux.org>"
 指纹: 21CB 256A E16F C54C 6E65 2949 702D 426D 350D 275D
 来自: /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
导入公钥成功
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中: 1/1 
安装: tmux-3.2a-5.el9.x86_641/1 
运行脚本: tmux-3.2a-5.el9.x86_641/1 
验证: tmux-3.2a-5.el9.x86_641/1 

已安装:
tmux-3.2a-5.el9.x86_64

完毕!
[root@localhost ~]# 
Copy after login

CentOS替代品,Rocky Linux操作系统安装和使用

The above is the detailed content of CentOS alternative, Rocky Linux operating system installation and use. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

deepseek web version entrance deepseek official website entrance deepseek web version entrance deepseek official website entrance Feb 19, 2025 pm 04:54 PM

DeepSeek is a powerful intelligent search and analysis tool that provides two access methods: web version and official website. The web version is convenient and efficient, and can be used without installation; the official website provides comprehensive product information, download resources and support services. Whether individuals or corporate users, they can easily obtain and analyze massive data through DeepSeek to improve work efficiency, assist decision-making and promote innovation.

How to install deepseek How to install deepseek Feb 19, 2025 pm 05:48 PM

There are many ways to install DeepSeek, including: compile from source (for experienced developers) using precompiled packages (for Windows users) using Docker containers (for most convenient, no need to worry about compatibility) No matter which method you choose, Please read the official documents carefully and prepare them fully to avoid unnecessary trouble.

How to solve the permissions problem encountered when viewing Python version in Linux terminal? How to solve the permissions problem encountered when viewing Python version in Linux terminal? Apr 01, 2025 pm 05:09 PM

Solution to permission issues when viewing Python version in Linux terminal When you try to view Python version in Linux terminal, enter python...

BITGet official website installation (2025 beginner's guide) BITGet official website installation (2025 beginner's guide) Feb 21, 2025 pm 08:42 PM

BITGet is a cryptocurrency exchange that provides a variety of trading services including spot trading, contract trading and derivatives. Founded in 2018, the exchange is headquartered in Singapore and is committed to providing users with a safe and reliable trading platform. BITGet offers a variety of trading pairs, including BTC/USDT, ETH/USDT and XRP/USDT. Additionally, the exchange has a reputation for security and liquidity and offers a variety of features such as premium order types, leveraged trading and 24/7 customer support.

Anbi app official download v2.96.2 latest version installation Anbi official Android version Anbi app official download v2.96.2 latest version installation Anbi official Android version Mar 04, 2025 pm 01:06 PM

Binance App official installation steps: Android needs to visit the official website to find the download link, choose the Android version to download and install; iOS search for "Binance" on the App Store. All should pay attention to the agreement through official channels.

Get the gate.io installation package for free Get the gate.io installation package for free Feb 21, 2025 pm 08:21 PM

Gate.io is a popular cryptocurrency exchange that users can use by downloading its installation package and installing it on their devices. The steps to obtain the installation package are as follows: Visit the official website of Gate.io, click "Download", select the corresponding operating system (Windows, Mac or Linux), and download the installation package to your computer. It is recommended to temporarily disable antivirus software or firewall during installation to ensure smooth installation. After completion, the user needs to create a Gate.io account to start using it.

Ouyi okx installation package is directly included Ouyi okx installation package is directly included Feb 21, 2025 pm 08:00 PM

Ouyi OKX, the world's leading digital asset exchange, has now launched an official installation package to provide a safe and convenient trading experience. The OKX installation package of Ouyi does not need to be accessed through a browser. It can directly install independent applications on the device, creating a stable and efficient trading platform for users. The installation process is simple and easy to understand. Users only need to download the latest version of the installation package and follow the prompts to complete the installation step by step.

How to automatically set permissions of unixsocket after system restart? How to automatically set permissions of unixsocket after system restart? Mar 31, 2025 pm 11:54 PM

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

See all articles