diff --git a/archive/rocky_linux_installation_8.4.md b/archive/rocky_linux_installation_8.4.md deleted file mode 100644 index f3bbeb9da2..0000000000 --- a/archive/rocky_linux_installation_8.4.md +++ /dev/null @@ -1,274 +0,0 @@ ---- -Title: Installing Rocky Linux 8.4 ---- - -# Installing Rocky Linux 8.4 - -This guide walks through the detailed steps to install a 64-bit version of the Rocky Linux distribution on a stand-alone system. - -**** -In this guide we will be performing a server class install using an operating system installer image downloaded from the Rocky Linux project website. We will step through the installation and customization steps in the following sections. -**** - -!!! Note - - Wherever there is a command which is run from the command prompt it will be assumed that you are logged in as a standard user (not the superuser). The command to type will not show the command prompt which could be different depending on the system and operating system you are using. - -## OS Installation Prerequisites - -First, you need to download the ISO to be used for this installation of Rocky Linux. - -The latest ISO image for the version of Rocky Linux that we will be using for this installation can be downloaded from here: - -``` -https://www.rockylinux.org/download/ -``` - -To download the ISO directly from the command line use the `wget` command: - -``` -wget https://download.rockylinux.org/pub/rocky/8.4/isos/x86_64/Rocky-8.4-x86_64-minimal.iso -``` - -Rocky Linux ISOs are named following this convention: - -``` -Rocky-.--.iso -``` - -For example, `Rocky-8.4-x86_64-minimal.iso` - -!!! Note - - Rocky project web page has a listing of several mirrors located all over the world. Whenever possible, you should choose the mirror geographically closest to you. The list of official mirrors can be found [here](https://mirrors.rockylinux.org/mirrormanager/mirrors). - -## Verifying the Installer ISO File - -If you've downloaded the Rocky Linux ISO(s) on an existing Linux distribution, you can use the `sha256sum` utility to verify that file(s) you downloaded are not corrupt. We will show an example of how to verify the `Rocky-8.4-x86_64-minimal.iso` file by checking its checksum. - -First download the file that contains the official checksums for the available ISOs. While still in the folder that contains the downloaded Rocky Linux ISO download the checksum file for the ISO, type: - -``` -wget https://download.rockylinux.org/pub/rocky/8.4/isos/x86_64/CHECKSUM -``` - -Use the `sha256sum` utility to verify the integrity of the ISO file against corruption and/or tampering. - -``` -sha256sum -c CHECKSUM --ignore-missing Rocky-8.4-x86_64-minimal.iso -``` - -The output should show: - -``` -Rocky-8.4-x86_64-minimal.iso: OK -``` - -## The Installation - -!!! Tip - - Before starting the installation proper, the system’s Unified Extensible Firmware Interface (UEFI) or Basic Input/Output System (BIOS) should be preconfigured to boot from the correct medium. - -If the computer is setup to boot from the media that has the ISO file we can begin the installation process. - -Insert and boot from the installation medium (optical disk, USB flash drive, and so on). - -Once the computer has booted you will be presented with the Rocky Linux 8 welcome splash screen. - -![Rocky Linux installation splash screen](images/installation-F01.png) - -If you do not press any key the installer will begin a countdown, after which the installation process will automatically execute the default, highlighted, option: - -`Test this media & install Rocky Linux 8` - -You can also press enter at any time to start the process immediately. - -A quick media verification step will take place. This media verification step can save you the trouble of starting the installation only to find out halfway through that the installer has to abort because of bad installation media. - -After the media check runs to completion and the media is successfully verified to be usable, the installer will automatically continue to the next screen. - -Select the language you want to use to perform the installation in this screen. For this example, we select _English (United States)_. Then click the Continue button. - -## Installation Summary - -The _Installation Summary_ screen is an all-in-one area where you make the important decisions about the operating system to be installed. - -The screen is roughly divided into the following sections: - -- _Localization_: (Keyboard, Language Support, and Time & Date) -- _Software_: (Installation Source and Software Selection) -- _System_: (Installation Destination and Network & Hostname) - -We will delve into each of these sections next and make changes where necessary. - -### Localization Section - -This section is used for customizing items related to the locale of the system. This includes – Keyboard, Language Support, Time and Date. - -#### Keyboard - -On our demo system in this guide, we accept the default value (_English US_) and make no changes. - -However if you need to make any changes here, from the _Installation Summary_ screen, click the Keyboard option to specify the keyboard layout of the system. You can add additional keyboard layouts if you need to in the ensuing screen and specify their order. - -Click Done when you are finished with this screen. - -#### Language Support - -The Language Support option on the _Installation Summary_ screen enables you to specify support for additional languages that you may need on the finished system. - -We will accept the default value (__English – United States__) and make no change, click Done. - -#### Time & Date - -Click the Time & Date option on the main _Installation Summary_ screen to bring up another screen that will allow you to select the time zone in which the machine is located. Scroll through the list of regions and cities and select the area closest to you. - -Depending on your installation source, the _Network Time_ option could be set to _ON_ or _OFF_ by default. Accept the default _ON_ setting; this allows the system to automatically set the correct time using the Network Time Protocol (NTP). Click Done after making any changes. - -### Software Section - -Under the _Software_ section of the _Installation Summary_ screen, you can select the installation source as well as additional packages (applications) that get installed. - -#### Installation Source - -Since we are performing our installation using a full Rocky 8 image, you will notice that _Local Media_ is automatically specified under the Installation Source section of the main _Installation Summary_ screen. We'll accept the preset defaults. - -#### Software Selection - -Clicking the Software Selection option on the main _Installation Summary_ screen presents you with the section of the installation where you can pick the exact software packages that get installed on the system. The software selection area is divided into : - -- _Base Environment_ : Server, Minimal Install, Custom Operating System -- _Additional software for Selected Environment area_ : Selecting a Base Environment on the left side presents a variety of related additional software that can be installed for the given environment on the right side. - -Select the _Minimal Install_ (Basic functionality) option instead. - -Click Done at the top of the screen. - -### System Section - -The System section of the _Installation Summary_ screen is used for customizing and making changes to the underlying hardware of the target system. This is where you create your hard drive partitions or volumes, specify the file system to be used, and specify the network configuration. - -#### Installation Destination - -From the _Installation Summary_ screen, click the Installation Destination option. This takes you to the corresponding task area. - -You will see a screen displaying all the candidate disk drives that you have available on the target system. If you have only one disk drive on the system, as on our sample system, you will see the drive listed under _Local Standard Disks_ with a check mark beside it. Clicking the disk icon will toggle on or off the disk selection check mark. We want it selected/checked here. - -Under the _Storage Configuration_ Options section, select the Automatic radio button. - -Then click Done at the top of the screen. - -Once the installer determines that you have a usable disk, you will be returned to the _Installation Summary_ screen. - -### Network & Hostname - -The final task of the installation procedure deals with network configuration, where you can configure or tweak network-related settings for the system. - -!!! Note - - After you click on the Network & Hostname option, all correctly detected network interface hardware (such as Ethernet, wireless network cards, and so on) will be listed in the left pane of the network configuration screen. Depending on the Linux distribution and the specific hardware setup, Ethernet devices in Linux have names similar to `eth0`, `eth1`, `ens3`, `ens4`, `em1`, `em2`, `p1p1`, `enp0s3`, and so on. - -For each interface, you can either configure it using DHCP or manually set the IP address. If you choose to configure manually, be sure to have all the pertinent information ready, such as the IP address, netmask, and so on. - -Clicking the Network & Hostname button in the main _Installation Summary_ screen opens the corresponding configuration screen. Among other things, you have the option to configure the hostname of the system (the name defaults to `localhost.localdomain`). - -!!! Note - - You can easily change this name later on after the OS has been installed. For now, accept the default value supplied for the hostname. - -The next important configuration task is related to the network interfaces on the system. First, verify that an Ethernet card (or any network card) is listed in the left pane. Click any of the detected network devices in the left pane to select it. The configurable properties of the selected network adapter will appear in the right pane of the screen. - -!!! Note - - On our sample server, we have four Ethernet devices (`ens3`, `ens4`, `ens5` and `ens6`), all of which are in a connected state. The type, name, quantity, and state of the network devices on your system may vary from the ones on our sample system. - -Make sure the switch of the device you want to configure is flipped to the `ON` position in the right pane. -We'll accept all the defaults in this section. - -Click Done to return to the main _Installation Summary_ screen. - -!!! Warning - - Pay attention to the IP address of the server in this section of this installer. If you don’t have physical or easy console access to the system, this information will come in handy later on when you need to connect to the server to continue working on it. - -## Installer Phase - -Once you are satisfied with your choices for the various installation tasks, the next phase of the installation process will begin the installation proper. - -### User Settings Section - -This section can be used for creating a password for the `root` user account and also for creating new administrative or non-administrative accounts. - -### Set the Root Password - -Click the _Root Password_ field under _User Settings_ to launch the _Root Password _ task screen. In the _Root Password_ text box, set a strong password for the root user. - -!!! Warning - - The root superuser is the most privileged account on the system. Therefore, if you choose to use or enable it, it is crucial that you protect this account with a strong password. - -Enter the same password again in the _Confirm_ text box. - -Click Done. - - -### Create a User Account - -Next click the _User Creation_ field under _User Settings_ to launch the _Create User_ task screen. This task area allows you to create a privileged or non-privileged (non-administrative) user account on the system. - -!!! Info - - Creating and using a non-privileged account for day-to-day tasks on a system is a good system administration practice. - -We’ll create a regular user that can invoke superuser (administrator) powers, the same as the root user, when needed. - -Complete the fields in the _Create User_ screen with the following information and then click Done: - -_Full name_: -`rockstar` - -_Username_: -`rockstar` - -_Make this user administrator_: -Checked - -_Require a password to use this account_: -Checked - -_Password_: -`04302021` - -_Confirm password_: -`04302021` - -### Start the Installation - -Once you are satisfied with your choices for the various installation tasks, click the Begin Installation button on the main _Installation Summary_ screen. The installation will begin, and the installer will show the progress of the installation. - -!!! Note - - If you do not wish to continue after clicking the Begin Installation button, you can still safely back out of the installation without any loss of data. To quit the installer, simply reset your system either by clicking the Quit button, pressing ctrl-alt-del on the keyboard, or pushing the reset or power switch. - -When the installation begins, various tasks will begin running in the background, such as partitioning the disk, formatting the partitions or LVM volumes, checking for and resolving software dependencies, writing the operating system to the disk, and so on. - -### Complete the Installation - -After you have completed all of the mandatory subtasks, and the installer has run its course, you will be presented with a final installation progress screen with a complete message. - -Finally, complete the entire procedure by clicking the Reboot System button. The system will restart. - -### Log In - -The system is now set up and ready for use. You will see the Rocky Linux console. - -![Rocky Linux Welcome Screen](images/installation-F04.png) - -To log onto the system, type `rockstar` at the login prompt and press enter. - -At the Password prompt, type `04302021` (rockstar’s password) and press enter (the password will ***not*** be echoed to the screen, that is normal). - -We will run the `whoami` command after login, this command shows the name of the currently logged in user. - -![Login Screen](images/installation-F06.png) diff --git a/backup/TOC-version-index.zh_CN.bak b/backup/TOC-version-index.zh_CN.bak deleted file mode 100644 index 3043203014..0000000000 --- a/backup/TOC-version-index.zh_CN.bak +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: 家 ---- - -# 目录 - -本文包含 Rocky Linux 文档的章节和小节标题,以及每个章节/小节中的文章链接。 - -章节的顺序非常重要,但尚未最终确定,因此请随时根据需要重新排序。 - -## 操作系统安装和设置 -| Rocky 经典安装 | 在 Windows 下的 Linux 子系统上安装 Rocky | -| --- | --- | -| [Rocky 8 安装](guides/installation.md) | [Rocky & WSL (rinse method)](guides/interoperability/rocky_to_wsl_howto.md) | -| [将 CentOS(或其他)转换为 Rocky Linux](guides/migrate2rocky.md) | [Rocky & WSL2 (virtualbox 和 docker)](guides/interoperability/import_rocky_to_wsl_howto.md) | -| [在 Rocky Linux 上安装 MATE](guides/desktop/mate_installation.md) | | -| [在 Rocky Linux 上安装 XFCE](guides/desktop/xfce_installation.md) | | - -## 开发和打包 - -开始 | SRPM 源 | 重新打包 | 构建 | 签名 | 部署 ---- | --- | --- | --- | --- | --- -[设置开发环境](guides/package_management/package_dev_start.md) | [如何重新打包](guides/package_management/package_debranding.md) | [如何签名](guides/package_management/package_signing.md)
[构建故障处理](guides/package_management/package_build_troubleshooting.md) - - -## 安全 - -| 防火墙 | 网络安全 | 密码安全 | -| --- | --- | --- | -|[IPTABLES](guides/security/enabling_iptables_firewall.md) | [网络配置](guides/network/basic_network_configuration.md) | [SSH 密钥](guides/security/ssh_public_private_keys.md) | -| | [SSL 密钥](guides/security/ssl_keys_https.md) | -| | [生成 SSL 密钥和 Let's Encrypt](guides/security/generating_ssl_keys_lets_encrypt.md) | - - -## 守护进程/服务器 - -| Web 服务器 | FTP | 内容管理系统 | 数据库 | -| --- | --- | --- | --- | -|[强化 Apache Web 服务器](guides/web/apache_hardened_webserver/index.md) | [VSFTPD](guides/file_sharing/secure_ftp_server_vsftpd.md) | [DokuWiki](guides/cms/dokuwiki_server.md) | [MariaDB 服务器](guides/database/database_mariadb-server.md) | -|[启用网站](guides/web/apache-sites-enabled.md) | | [Nextcloud](guides/cms/cloud_server_using_nextcloud.md) | | -|[ModSecurity](guides/web/apache_hardened_webserver/modsecurity.md) | | | -|[Ossec-Hids](guides/web/apache_hardened_webserver/ossec-hids.md) | | | -|[RkHunter](guides/web/apache_hardened_webserver/rkhunter.md) | | | - -## 系统维护和管理 - -| 数据安全 | 系统管理与调试 | 管理用户与组 | -| --- | --- | --- -| [通过 SSH 同步](guides/backup/rsync_ssh.md) | [Postfix](guides/email/postfix_reporting.md) | | -| [RSnapshot](guides/backup/rsnapshot_backup.md) | [Cron(tab)](guides/automation/cron_jobs_howto.md) | | -| [Lsyncd](guides/backup/mirroring_lsyncd.md) | | -| [Bind](guides/dns/private_dns_server_using_bind.md) | | - -## 虚拟化 - -| QEMU | KVM | -| --- | --- | -| | | - -## 容器化 - -| LXC/LXD | -| --- | -| [创建完整的 LXD 服务器](guides/containers/lxd_server.md) | - -## 教育/培训 - -| 管理 | 安全 | 常规 | -|----------------|----------|---------| -| [系统管理](books/admin_guide/00-toc.md) | [安全实验室](labs/security/index.md) | [学习 Ansible](books/learning_ansible/00-toc.md) - -## 系统自动化与维护 - -| Ansible | Puppet | Salt | Chef | -|-------------------|--------|------|------| -| [使用 Packer 创建 VM 模板并使用 Ansible 在 Vmware 中进行部署](guides/automation/templates-automation-packer-vsphere.md) | | | |