Linux 安装部署手册
- 格式:docx
- 大小:1.46 MB
- 文档页数:47
如何安装和使用Linux操作系统第一章:引言和背景知识Linux操作系统是一种免费开源的操作系统,以其稳定性和安全性而闻名。
本章将介绍Linux操作系统的背景知识,包括其起源、发展和主要特点。
第二章:选择适合您的Linux发行版Linux操作系统有许多不同的发行版本,每个版本都具有自己的特点和用途。
本章将指导您选择适合您需求的Linux发行版,并对常见发行版进行介绍。
第三章:准备安装所需材料在安装Linux操作系统之前,您需要准备一些必要的材料和设备。
本章将介绍您需要准备的硬件设备、安装介质和其他必要的准备步骤。
第四章:安装Linux操作系统本章将详细介绍如何安装Linux操作系统。
涵盖的内容包括从镜像文件创建安装介质、启动计算机并进入安装程序、分区和格式化磁盘、选择安装选项、设置用户账户和密码等。
第五章:初次启动和基本配置当安装完成后,您需要进行一些初次启动和基本设置,以确保Linux操作系统正常运行。
本章将介绍如何进行初次启动、配置网络连接、更新软件包、设置系统时区等。
第六章:使用Linux命令行界面Linux操作系统以其强大的命令行界面而著名,熟练使用命令行界面是运维人员的必备技能。
本章将介绍基本的Linux命令,包括文件和目录操作、用户和权限管理、进程管理等。
第七章:安装和配置常用应用程序本章将介绍如何安装和配置常用的Linux应用程序,例如Web 服务器、数据库、邮件服务器等。
同时,还将介绍如何使用包管理器进行软件的安装和更新。
第八章:远程访问和文件传输远程登录和文件传输是管理Linux系统的常见任务之一。
本章将介绍如何通过SSH协议远程登录Linux系统,并使用SCP或SFTP实现文件的传输和管理。
第九章:系统监控和故障排除在运维过程中,系统监控和故障排除是非常重要的。
本章将介绍常用的系统监控工具和技术,以及处理常见故障的方法。
第十章:安全性和更新Linux操作系统以其高度的安全性而闻名,但仍然需要采取一些额外的措施来确保系统的安全。
https://arch.d3sox.me/installation/#why-this-guidehttps://youtu.be/DPLnBPM4DhI/dev/nvme0n1p1 EFI SYSTEM/dev/nvme0n1p2 MICROSOFT BASIC DATA/dev/nvme0n1p3 WINDOWS RECOVERY ENVIRONMENT /dev/nvme0n1p4 LINUX FILESYSTEM/dev/nvme0n1p5 LINUX SWAPip addr a || ip a || ap addr showiwctl## device list## station <> scan## station <> get-networks## station <> connect “<>”ping -c 5 8.8.8.8ping -c 5 (600M) /dev/nvme0n1p1 EFI SYSTEM(080G) /dev/nvme0n1p2 LINUX SWAP(600M) /dev/nvme0n1p3 LINUX FILESYSTEM (REM) /dev/nvme0n1p4 LINUX LVM----------UEFI w/ ENCRYPTION----------fdisk -l ## Obtain hard disk namefdisk <Hard-Disk-Name>(create GPT partition)## Format Partitionmkfs.fat -F32 /dev/nvme0n1p1mkfs.ext4 /dev/nvme0n1p3## Swap Drivemkswap /dev/nvme0n1p2swapon /dev/nvme0n1p2## Encrypt Partitioncryptsetup luksFormat /dev/nvme0n1p4<Create-A-Passphrase>## Decrypt Partitioncryptsetup open --type luks /dev/nvme0n1p4 lvm<Enter-Passphrase>## Create Physical Volumepvcreate --dataalignment 1m /dev/mapper/lvm## Create Volume Groupvgcreate volgroup0 /dev/mapper/lvmlvcreate -L 30GB volgroup0 -n lv_rootlvcreate -l 100%FREE volgroup0 -n lv_home## Activate volumesmodprobe dm_modvgscanvgchange -ay## Format volumesmkfs.ext4 /dev/volgroup0/lv_rootmount /dev/volgroup0/lv_root /mntmkdir /mnt/bootmount /dev/nvme0n1p3 /mnt/bootmkfs.ext4 /dev/volgroup0/lv_homemkdir /mnt/homemount /dev/volgroup0/lv_home /mnt/home## Setup FSTAB filemkdir /mnt/etcgenfstab -U -p /mnt >> /mnt/etc/fstabcat /mnt/etc/fstab ## Take a look at that file## Rank Mirrorlistreflector -c 'United States' -a 15 -p https --sort rate --save /etc/pacman.d/mirrorlist pacman -Syy## Start the Installpacstrap -i /mnt base## Change rootarch-chroot /mnt## Core Installationpacman -S base-devel linux linux-firmware linux-headers dkms## Core pacman -S linux-lts-headers linux-ltspacman -S jshon expac git wget acpid avahi net-tools xdg-user-dirspacman -S nano less which man-db man-pages ## Help, editing, and info tools pacman -S amd-ucode (OR intel-ucode)systemctl enable acpid avahi-daemon systemd-timesyncdpacman -S extra/nvidia## SSDsystemctl enable fstrim.timer## Encryption and LVM2pacman -S lvm2nano /etc/mkinitcpio.confHOOKS=(base udev autodetect modconf block encrypt lvm2 filesystems keyboard fsck) mkinitcpio -p linuxmkinitcpio -p linux-lts ## If LTS is installed run it against linux-lts## Modify Localenano /etc/locale.genen_US.UTF-8 UTF-8locale-gen## Set Root Passwordpasswd## Create Standard Useruseradd -m -g users -G wheel <username>passwd <username>## Sudopacman -S sudo ## Check if pacman is installedwhich sudoEDITOR=nano visudo%wheel ALL=(ALL) ALL ## Uncomment thisgptfdisk fatresize## Install Bootloader (non-UEFI)pacman -S grub dosfstools os-prober mtoolsgrub-install –target=i386-pc --recheck /dev/nvme0n1## Install Bootloader (UEFI)pacman -S grub efibootmgr os-prober mtoolsmkdir /boot/EFImount /dev/nvme0n1p1 /boot/EFI ## Mounting of EFI Partitiongrub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck --efi-directory=/boot/ EFI --recheck##Create locate directoryls -l /boot/grub/mkdir /boot/grub/locale## Relatively Long commandcp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo## Encryption Finalization With Grubnano /etc/default/grubGRUB_CMDLINE_LINUX_DEFAULT=“cryptdevice=/dev/nvme0n1p4:volgroup0:allow-discards loglevel=3 quiet” ## Add UnderlinedGRUB_ENABLE_CRYPTDISK=y ## Uncomment## Generate Grub Configuration Filegrub-mkconfig -o /boot/grub/grub.cfgexitumount -areboot## Network Profilespacman -S systemd-networkd## Wired Networkingpacman -S networkmanager networkmanager-openvpnpacman -S networkmanager-pptp networkmanager-vpncpacman -S inetutils ## Bunch of internet toolspacman -S openssh ## SSH (included in inetutils)systemctl enable sshdsystemctl enable NetworkManager## Wireless Connection #1pacman -S wireless_tools wpa_supplicant wpa_cli dialog## Wireless Connection #2pacman -S systemd (alt to openresolv) dhcpcd iwd (alt to wpa_supplicant) ## Wireless systemctl enable dhcpcd.servicesystemctl enable iwd.servicesystemctl mask wpa_supplicant## Enabling interface DHCP using systemd-networkd# nano /etc/systemd/entwork/work# [Match]# Name=< name of your wifi interface or * for every interface ># [Network]# DHCP=yes## Configure DNSnano /etc/iwd/main.conf# [Network]# NameResolvingService=systemd## IWD Configuration File for Auto-Connect# /var/lib/iwd/spaceship.psk# [General]# use_default_interface=true# [Security]# Passphrase=test1234# PreSharedKey=aafb192ce2da24d8c78...# [Settings]# AutoConnect=true (or false to disable)# [Network]# DHCP=yes# IPv6PrivacyExtensions=true## Time Setuptimedatectl list-timezone | grep -i “US”timedatectl set-timezone “US/Eastern”hwclock --showhwclock --systohc## Window Managerpacman -S xfce4 xfce4-goodiespacman -S lightdm lightdm-gtk-greeter xorg ## (xorg-server)pacman -S accountsservicesystemctl enable lightdm## Media Codecspacman -S gst-libav gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gstreamer-vaapi gst-transcoder x265 x264 lame## Printer support - Add some packages needed for printing and scanning pacman -S system-config-printer foomatic-db foomatic-db-engine gutenprint gsfonts cups cups-pdf cups-filters sanesystemctl enable cups.service saned.socket## UI for HP Printerspacman -S hplip## Bluetooth supportpacman -S bluez bluez-utils pulseaudio-bluetoothsystemctl enable bluetooth## Input Driverpacman -S xf86-input-synaptics xf86-input-libinput xf86-input-evdev ##When installing inside a virtual machine:pacman -S xf86-input-vmmouse## Intel Graphicspacman -S vulkan-intel (utilities) xf86-video-intel (video driver)## Add kernel modulenano /etc/mkinitcpio.confChange MODULES=() toMODULES=(i915) if you installed xf86-video-intel mkinitcpio -P## Archive and file system utilspacman -S p7zip unrar unarchiver unzip unace xz rsyncpacman -S nfs-utils cifs-utils ntfs-3g exfat-utils## Audiopacman -S alsa-utils pulseaudio-alsa pulseaudio-equalizer## Decrypt Partitioncryptsetup open --type luks /dev/nvme0n1p4 lvm<Enter-Passphrase>mount /dev/volgroup0/lv_root /mntmount /dev/nvme0n1p3 /mnt/bootmount /dev/volgroup0/lv_home /mnt/homearch-chroot /mnt## Format Everythingmkfs.fat -F32 /dev/nvme0n1p1mkfs.ext4 /dev/nvme0n1p3cryptsetup open --type luks /dev/nvme0n1p4 lvm<Enter-Passphrase>cryptsetup luksFormat /dev/nvme0n1p4mkfs.ext4 /dev/volgroup0/lv_root mkfs.ext4 /dev/volgroup0/lv_home。
目录目录 (1)1. 安装JDK (2)1.1. 安装准备 (2)1.2. 安装步骤 (2)1.3. 配置环境变量 (3)1.4. 检查JDK是否安装成功 (4)2. 安装Tomcat (4)2.1. 安装准备 (4)2.2. 安装步骤 (4)2.3. 检查Tomcat是否安装成功 (5)2.4. 设置Tomcat管理员 (6)2.5. 设置Tomcat随机启动 (6)3. 安装Mysql (7)3.1. 安装准备 (7)3.2. 安装步骤 (7)3.3. 测试机修改root密码 (8)3.4. 远程连接Mysql (10)3.5. 数据库字符集设置,开机启动 (11)3.6. 忘记密码,重设密码 (11)3.7. 卸载Mysql (13)1.安装JDK1.1. 安装准备准备jdk安装文件jdk-6u27-linux-i586-rpm.bin1.2. 安装步骤进入local文件夹#cd /usr/local建立jdk安装目录#mkdir 755 –p jdk1.6进入家目录#cd /home#cp jdk-6u27-linux-i586-rpm.bin /usr/local/jdk1.6 或在远程安装WinSCP将本地jdk-6u27-linux-i586-rpm.bin拷贝到Linux家目录进入jdk安装目录#cd /usr/local/jdk1.6给所有用户添加可执行的权限#chmod +x jdk-6u27-linux-i586-rpm.bin#./jdk-6u27-linux-i586-rpm.bin此时会生成文件jdk-6u27-linux-i586.rpm ,同样给所有用户添加可执行的权限#chmod +x jdk-6u27-linux-i586.rpm安装程序#rpm -ivh jdk-6u27-linux-i586.rpm出现安装协议等,按接受即可。
1.3. 配置环境变量#vi /etc/profile在里面添加如下容export JAVA_HOME=/usr/java/jdk1.6.0_27export JAVA_BIN=/usr/java/jdk1.6.0_27/binexport PATH=$PATH:$JAVA_HOME/binexportCLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jarexport JAVA_HOME JAVA_BIN PATH CLASSPATH让/etc/profile文件修改后立即生效,可以使用如下命令:# . /etc/profile注意: . 和/etc/profile 有空格.或者使用以下命令也可使环境变量生效# source /etc/profile1.4. 检查JDK是否安装成功# java -version如果看到JVM版本及相关信息,即安装成功!2.安装Tomcat2.1. 安装准备准备jdk安装文件apache-tomcat-6.0.16.tar.gz2.2. 安装步骤1.首先确保JDK安装及配置成功。
Installing Linux on Power Systems serversVersion 1.0.1IBM®Quick Start Guide for installing Linux on Power Systems servers This guide helps you install Linux on a stand-alone Power Systems server that has a graphics card.OverviewUse this information to install Linux on a Power Systems server that has a graphics card installed. This installation assumes an unmanaged (stand-alone) system.1Step 1: Complete the prerequisitesBefore you install Linux on your system, ensure that you have the following items:•USB keyboard and mouse•Monitor•Power cords and outlet for your system. Depending on your configuration, your system might require 220 V. For instructions, see the IBM Knowledge Center and search for your Power hardware model: IBM Knowledge Center.•Distribution media2Step 2: Prepare to power onBefore you power on the system, follow these steps:•If your system belongs in a rack, install your system into that rack. For instructions, see the IBM Knowledge Center and search for your Power hardware model: IBM Knowledge Center.•Remove the shipping brackets from the power supplies. Ensure that the power supplies are fully seated in the system.•Connect the monitor, mouse, and keyboard•Connect the power cords to the system and plug them into the outlets.After you connect the power cords, your firmware boots. Wait for a few minutes for this process to complete. Look for the green power LED on the control panel to start flashing, indicating that it is ready to use, and for the prompt 01 N V=N to display in the control panel window.For information about accessing and using the control panel, see the Control panel topic at https:///BdYjwz.3Step 3: Power on the systemAfter the firmware boots, you can power on the system. Press and hold the white power-on button on the front of the control panel for 3 seconds to start the server.As the system powers up, you might notice the following:•System reference codes display on the control panel while the system is being started.•The power LED continues to flash and speeds up.•The system cooling fans are activated after approximately 30 seconds and begin to accelerate to operating speed.•The power LED on the control panel stops flashing and remains on, indicating that system power is on.Note: If you system fails to start, verify that the prompt 01 N V=N is displaying in the control panel and green power LED is flashing green.When the system is powered on, the monitor activates and the Boot selection window is displayed.Note: You can also connect to your system using the Advanced System Management Interface (ASMI). Forinstructions, see the IBM Knowledge Center and search for your Power hardware model: IBM Knowledge Center.4Step 4: Boot the installer kernelTo set up your server to boot the Linux installer kernel, follow these steps:a.At the Boot selection window, enter 1 to select the SMS Menu. Enter 1 before the firmware boot screen iscompletely shown on the display, because it will disappear when complete. If you miss the screen, reboot thesystem.b.At this time, you can insert the distribution media into the disk drive.c.Enter 2 to Continue to password entry on the Language selection menu. Enter admin.d.On the main SMS menu, enter 5 to select the Select Boot Options option.e.Enter 1 to select Install/Boot Device.f.Enter 7 to view all of the available boot devices.g.Enter the number corresponding to the device you want to use. If your device is not displayed, you can enter N todisplay more.h.Enter 2 to perform a Normal Mode Boot.i.Enter 1 to leave the SMS menu and to start the boot process.j.At the boot prompt from the installer, type linux when installing Red Hat Enterprise Linux or install when installing SUSE Linux Enterprise Server and press Enter. The kernel will begin loading.k.Follow the installer screens to install Linux.5Step 5: Install additional softwareAdditional software is available from the IBM Linux on PowerTools Repository. The IBM Tools Repository is alsocalled the Yum Repository. To install the IBM Tools Repository, follow these steps:a.Download the ibm-power-repo RPM package from https:///BdxnTB. Use the same package for Red HatEnterprise Linux and SUSE Enterprise Linux Server.b.Install the ibm-power-repo RPM package. Run the command: rpm -ivh ibm-power-repo versionnumberAfter you have installed the IBM Tools Repository, you can use it to install the following:•Service and Productivity tools:–For Red Hat Enterprise Linux: yum install ibm-power-nonmanaged-distro where distro is the distribution that you are installing.–For SUSE Linux Enterprise Server: yum install ibm-power-nonmanaged-distro where distro is the distribution that you are installing.•IBM Advance Toolchain for Linux on Power–On Red Hat Enterprise Linux: yum install advance-toolchain-at6* where advance-toolchain-at6 is the version of IBM Advance Toolchain for PowerLinux that you want to install.–On SUSE Linux Enterprise Server: zypper install advance-toolchain-at6* where advance-toolchain-at6 is the version of IBM Advance Toolchain for PowerLinux that you want to install.•IBM SDK for PowerLinux–On Red Hat Enterprise Linux: yum install ibm-sdk-lop.ppc64–On SUSE Linux Enterprise Server: zypper install ibm-sdk-lop.ppc64For more information about using the IBM Linux on Power Tools Repository, see https://ibm/biz.BdYjwG.6Step 6: TroubleshootCheck the control panel for any codes that might be displayed. For example, the code 11002613 indicates thatthere is a problem with power. Ensure that the power supplies are seated correctly and that you are using thecorrect power cords.You can look up any codes that are displayed in IBM Knowledge Center.More informationFor more information, see the following resources:•Linux information for IBM systems at https:///support/knowledgecenter/linuxonibm/liaaa/ic-homepage.htm•IBM Knowledge Center: https:///support/knowledgecenter/.•The Linux on Power developer portal at https:///linuxonpower/.© Copyright IBM® Corp. 2018. U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.IBM, the IBM logo, and ® are trademarks or registered trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" (/legal/copytrade.shtml).。
V1.0版权所有© 2020北京潍鲸科技有限公司。
保留所有权利。
本文档的版权归北京潍鲸科技有限公司所有,未经许可和授权,任何组织或个人不得擅自摘抄、复制本文档的部分或全部内容,并不得以任何形式传播。
免责声明:本文档仅作为使用指导,针对当前版本生效。
由于产品升级或其他原因,文档内容会不定期更新,恕不另行通知。
您购买或试用的产品、服务及特性应受北京潍鲸公司商业合同和条款的约束,文档中描述的部分产品、服务及特性可能不在您购买或使用的范围之内。
目录1 前言 (4)2 BT宝塔介绍 (5)3 服务标准 (7)4 注意事项 (8)5 联系潍鲸 (9)1前言北京潍鲸科技有限公司是一家业务完全基于云计算的服务型公司,是一家面向企业级IT/云服务公司,坚持以客户为中心,聚焦资源整合。
潍鲸集成云厂商的工具资源、服务交付资源,推出针对各云厂商产品的服务解决方案,秉承开放、合作、共赢的原则,做好云生态的积极建设者,为企业用户提供全方位多选择的云服务模式。
潍鲸科技提供一站式运维服务解决方案,专为客户提供上云的咨询、设计、迁移、运维以及运营的云服务,其中包括上云的咨询设计、数据迁移、运维托管、大数据、混合云管理、安全以及集成服务等。
为企业搭建云计算时代的IT基础技术框架及运维服务。
概述本手册主要介绍潍鲸科技关于BT宝塔安装配置说明书。
注:本文下述北京潍鲸科技有限公司简称“潍鲸科技”使用对象安装实施人员、开发工程师、运维工程师。
修订记录修订记录累积了每次文档更新的说明。
最新版本的文档包含以前所有文档版本的更新内容。
文档版本变更记录V1.0.02BT宝塔介绍宝塔Linux面板是提升运维效率的服务器管理软件,支持一键LAMP/LNMP/集群/监控/网站/FTP/数据库/JAVA等100多项服务器管理功能。
BT宝塔面板功能:1)一键配置服务器环境(LAMP/LNMP)2)一键安全重启3)一键创建管理网站、ftp、数据库4)一键配置(定期备份、数据导入、伪静态、301、SSL、子目录、反向代理、切换PHP版本)5)一键安装常用PHP扩展(fileinfo、intl、opcache、imap、memcache、apc、redis、ioncube、imagick)6)数据库一键导入导出7)系统监控(CPU、内存、磁盘IO、网络IO)8)防火墙端口放行9)SSH开启与关闭及SSH端口更改10)禁PING开启或关闭11)方便高效的文件管理器(上传、下载、压缩、解压、查看、编辑等等)12)计划任务(定期备份、日志切割、shell脚本)13)软件管理(一键安装、卸载、版本切换)3服务标准1)BT宝塔安装2)BT宝塔站点配置3)BT宝塔安全配置4)网站程序迁移5)数据库迁移6)漏洞修复4注意事项1)在服务过程中,需要提供云服务器的账号和密码,待服务完成后及时修改密码。
Red Hat Enterprise Linux 5Deployment GuideDeployment, configuration and administration of Red Hat Enterprise Linux 5版 6Last Updated: 2022-06-15Red Hat Enterprise Linux 5 Deployment Guide Deployment, configuration and administration of Red Hat Enterprise Linux 5版 6Landmann********************. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .內容目錄簡介1. 我們需要您的寶貴意見!附錄 A. REVISION HISTORY 章 1. 版本紀錄2234內容目錄1Deployment Guide簡介歡迎使用Red Hat Enterprise Linux 建置指南。
TurboLinux16Aarch64安装手册安装配置步骤1安装准备为Linux系统准备足够的空余硬盘空间,最少20GB的未分区磁盘空间。
2安装介质在光驱中插入T urboLinux Enterprise Server15安装光盘,重新启动计算机,从光驱引导。
出现安装引导程序界面后,选择“Install turbolinux16with GUI mode”,按<ENTER>键,进入图形界面的安装。
3安装语言选择安装过程中界面语言的选择。
按<Continue>键,进入图形界面的下一步安装。
4安装概览大部分设置可以使用默认设置,带有提示符的项需要正确设置5键盘设置(非必需)对于通常的标准键盘,默认选择[美国英国式],也可以添加其他的键盘类型。
按<Done>键,返回安装概览。
6语言支持(非必需)选择安装系统后需要额外支持的语言。
按<Done>键,返回安装概览。
7时间日期设置(按需设置)设置时区和时间,设置是否通过网络获取时间。
按<Done>键,返回安装概览。
8安装源(按需设置)安装源可以是当前的光驱设备,可以是光盘镜像文件,甚至是网络上的一个地址。
默认自动检测当前的安装介质。
按<Done>键,返回安装概览。
9软件选择(按需设置)选择要安装的软件组,不同的需求会默认安装不同的软件包,默认是Minimal Install,这里我们选择的是GNOME。
按<Done>键,返回安装概览。
10安装目标设置系统安装位置及设置系统分区,分别要做的是选择硬盘,设置分区(选择Custom需要手动设置分区,选择Automatic会自动分区)。
按<Done>键,返回安装概览。
11KDUMPKDUMP用于转储系统崩溃后内存信息,用于分析问题原因,可以根据实际情况设置或者使用默认。
按<Done>键,返回安装概览。
12网络和主机名安装时设置IP和主机名,设置是否开机启动网络。
Linux服务器的配置和部署指南Linux服务器在今天的互联网世界中起着至关重要的作用。
本文将为您提供一份Linux服务器的配置和部署指南,以帮助您成功地设置和管理您的服务器。
一、服务器选择和准备在配置和部署Linux服务器之前,首先需要选择合适的服务器。
考虑到您的需求和预算,您可以选择自己搭建一台物理服务器或者使用云计算服务提供商提供的虚拟服务器。
在选择服务器硬件时,您需要考虑以下几个关键因素:1. 处理器性能:选择具有较高性能的多核处理器,以满足服务器的计算需求。
2. 内存容量:确保服务器具有足够的内存来支持同时运行的应用程序和服务。
3. 存储空间:选择适当大小的硬盘驱动器来存储您的数据和文件。
4. 网络连接:选择具有高带宽和稳定连接的网络接口卡。
二、操作系统的选择和安装选择适合您的需求和技术水平的Linux发行版操作系统。
目前,常用的Linux发行版包括Ubuntu、CentOS、Debian等。
在安装操作系统之前,确保您已备份并准备好您的数据。
随后,您可以通过以下步骤完成Linux操作系统的安装:1. 下载操作系统的ISO映像文件。
2. 制作一个启动盘。
3. 将启动盘插入服务器并启动服务器。
4. 按照安装向导中的指示进行操作系统的安装。
三、网络配置在服务器配置和部署过程中,网络配置是至关重要的一步。
这涉及到配置IP地址、子网掩码、默认网关以及DNS设置。
以下是网络配置的基本步骤:1. 进入服务器的终端或控制台界面。
2. 编辑网络配置文件,根据您的网络需求设置IP地址、子网掩码和默认网关。
3. 配置DNS服务器,以便能够解析域名。
四、安全性配置为保护您的服务器免受潜在的安全威胁,您应采取一些安全配置措施。
以下是一些建议的安全性配置:1. 更新操作系统和软件包:定期更新操作系统和软件包以获得最新的安全补丁。
2. 配置防火墙:使用防火墙来限制对服务器的访问并管理网络流量。
3. 设置用户权限:根据需要设置用户权限,以防止未经授权的访问和滥用。
Accessing Red Hat Enterprise Linux installation binariesThe Cloud Paks include entitlement to Red Hat OpenShift Container Platform and Red Hat Enterprise Linux. The preferred method of accessing and installing these offerings is to follow the standard installation documentation from Red Hat and register your systems using your Red Hat Network subscription. Installation binaries, documentation, and entitlement information can all be accessed from the Red Hat Customer Portal at https://. If you are new to the Red Hat Customer Portal, click Getting Started after you have logged in (or use this link: https:///start/) to take a guided tour of the and learn how to get the most out of your Red Hat subscription.Note: The preferred installation method requires an active Red Hat Network subscription and entitlement in a sufficient quantity to for the systems where you are installing, and connectivity to the internet or to a local Red Hat Satellite Server. It is also possible to install Red Hat OpenShift Container Platform before your subscription has been activated in the Red Hat Customer Portal by accessing the installation binaries from IBM Passport Advantage and performing a manual offline installation.Preferred method: using the Red Hat Customer PortalAccessing installation binaries through the Red Hat Customer PortalAfter your Cloud Pak order has been processed, you will receive an email from Red Hat at the address associated with your order indicating that the entitlement quantities for your Red Hat OpenShift Container Platform and subscription has been updated.To verify that the entitlement quantities have been added to your account, log in to the Red Hat Customer Portal and click Subscriptions. Red Hat Open Shift entitlements will be displayed in the table titled OPENSHIFT.Installing Red Hat Enterprise LinuxInstalling OpenShift Container Platform 3.11 requires Red Hat Enterprise Linux 7.6 to be installed on the host systems or virtual machines where OpenShift Container Platform will be installed. Entitlement to Red Hat Enterprise Linux is included with your Cloud Pak entitlement. If you do not already have Red Hat Enterprise Linux installed, use the following documentation to complete the installation of Red Hat Enterprise Linux.Red Hat Enterprise Linux 7.6 installation media can be accessed through the Red Hat Customer portal at https:///downloads/content/69/ver=/rhel---7/7.6/x86_64/product-softwareInstructions for downloading and installing Red Hat Enterprise Linux 7.6, including registering your installation using Subscription Manager, can be found in the Red Hat Customer Portal at:https:///documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-getting-startedInstalling Red Hat OpenShift Container PlatformOnce you have successfully provisioned hosts or virtual machines with Red Hat Enterprise Linux 7.6 installed and registered, proceed to install OpenShift Container Platform3.11 by following the documentation provided in the Red Hat Customer Portal:https:///documentation/en-us/openshift_container_platform/3.11/html/getting_started/getting-started-index Alternate Method: using IBM Passport AdvantageAccessing binaries for manual installation from IBM Passport AdvantageIf you require the ability to install the Cloud Pak before your entitlements have been updated in the Red Hat Customer Portal, all of the binary files necessary to perform a manual installation are available for download from IBM Passport Advantage or the public internet. Installation images and RPMs for Red Hat Enterprise Linux can be downloaded from IBM Passport Advantage (Part number CC3KEEN , which is part of your Cloud Pak eAssembly.) This file has the description “IBM Red Hat OpenShift 3.11 English only eImage” in IBM Passport Advantage. It contains the Red Hat Enterprise Linux installation binaries, including the files that enable you to install Red Hat OpenShift Container Platform 3.11 over the internet. This installation should be registered and associated with your Red Hat Network ID at a later time.The download is approximately 60GB in size, and additional storage will be required when extracting the files.This manual installation process requires the creation of a local HTTP server to host the RPM files that are provided in the above download package. These steps are not required when using the preferred installation method described above, since that scenario enables access to the necessary files through Red Hat Network.To perform a manual installation, follow the procedure outlined below:1.Download the Red Hat Enterprise Linux installation files from Passport Advantage (if youdon’t already have Red Hat Enterprise Linux installed)2.Provision a web server to host a Yum repository3.Copy the downloaded files to the web server4.Install Red Hat Enterprise Linux on the master and worker nodes5.Prepare the worker nodes6.Prepare the master node7.Install OpenShift Container PlatformDownload the Red Hat Enterprise Linux installation files from Passport AdvantageLog into IBM Passport Advantage and download “IBM Red Hat OpenShift 3.11 English only eImage” (part number CC3KEEN) which is associated with the Cloud Pak eAssembly. This will download a file named IBM_RED_HAT_OPENSHIFT_3.11_ENGLISH.tgz. Despite the description and filename, this package contains the files needed to install Red Hat Enterprise Linux.Provision a web server to host a Yum repositoryProvision a physical host or virtual machine with an HTTP server to support the local installation. You can use the web server of your choice as the repository.If you do not have a web server available, you can install and configure the Apache web server on a Red Hat Enterprise Linux system using the documentation provided by Red Hat under the heading “Prepare and populate the repository server”: https:///container-platform/3.11/install/disconnected_install.html#disconnected-repo-serverCopy the downloaded files to the web serverCopy IBM_RED_HAT_OPENSHIFT_3.11_ENGLISH.tgz to the web server and extract it into a subdirectory named “repos” under your web server’s document root (/var/www/html/repos if you have created a web server using the documentation above.)Ensure that the repository files can be read by any user (chmod -R +r /var/www/html/repos) Install Red Hat Enterprise Linux on the master and worker nodesOpenShift Container Platform 3.11 requires Red Hat Enterprise Linux 7.6 to be installed on the host systems or virtual machines where OpenShift Container Platform will be installed. Entitlement to Red Hat Enterprise Linux is included with your Cloud Pak entitlement. If you do not already have Red Hat Enterprise Linux installed, use the following documentation to complete the installation of Red Hat Enterprise Linux.If you don’t already have Red Hat Enterprise Linux installed, provision the hosts or VMs that will be used for the master and worker nodes for the OpenShift Container Platform cluster where you will install the Cloud Pak, and install Red Hat Enterprise Linux using the ISO downloaded from IBM Passport Advantage.Complete instructions for downloading and installing Red Hat Enterprise Linux 7.6, including prerequisites and host preparation, can be found in the Red Hat Customer Portal at:https:///documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-getting-started An ISO image of the installation media (rhel-server-7.6-x86_64-dvd.iso) can be found in the directory where you extracted the file downloaded from IBM Passport Advantageabove. Use these files in place of steps in Chapter 2 of the Red Hat Enterprise Linuxinstallation guide that describe downloading Red Hat Enterprise Linux from the Red Hat Customer Portal. If you are creating virtual machines to provision your nodes, this image can be used directly.If you are installing Red Hat Enterprise Linux on a physical host, refer to Chapter 3 of the Red Hat Enterprise Linux installation guide for information on creating physicalinstallation media or accessing installation media over a network:https:///documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-making-mediaPrepare the worker nodesEnsure that each of the worker nodes has been prepared to meet the requirements described under “Preparing your hosts”: https:///container-platform/3.11/install/host_preparation.html#install-config-install-host-preparationUpdate /etc/yum.repos.d/ose.repo on the master and worker nodes to use the local repository for installing RPMs, by updating the “baseurl” in each collection with the hostname or IP address of the local repository server. In the example shown below, the repository’s hostname is “myserver” – use your own hostname or IP address instead.Sample ose.repo file:[rhel-7-server-rpms]name=rhel-7-server-rpmsbaseurl=http://myserver/repos/rhel-7-server-rpmsenabled=1gpgcheck=0[rhel-7-server-extras-rpms]name=rhel-7-server-extras-rpmsbaseurl=http://myserver/repos/rhel-7-server-extras-rpmsenabled=1gpgcheck=0[rhel-7-server-ansible-2.6-rpms]name=rhel-7-server-ansible-2.6-rpmsbaseurl=http://myseerver/repos/rhel-7-server-ansible-2.6-rpmsenabled=1gpgcheck=0[rhel-7-server-ose-3.11-rpms]name=rhel-7-server-ose-3.11-rpmsbaseurl=http://myserver/repos/rhel-7-server-ose-3.11-rpmsenabled=1gpgcheck=0Refer to the section “Preparing cluster hosts” in the Red Hat OpenShift Container Platform documentation if you require additional information: https:///container-platform/3.11/install/disconnected_install.html#disconnected-openshift-systemsPrepare the master nodeEnsure that the master node has been prepared to meet the requirements described under “Preparing your hosts”: https:///container-platform/3.11/install/host_preparation.html#install-config-install-host-preparation Customize an inventory file on your master node to describe the details of your cluster and set as the registry for installation. Refer to “Customizing inventory files” (https:///container-platform/3.11/install/configuring_inventory_file.html#configuring-ansible) for more information and to review example inventory files.You must set the variable “oreg_url” to “/openshift3/ose-${component}:${version}” in your inventory file exactly as shown below:oreg_url=/openshift3/ose-${component}:${version}Install Red Hat OpenShift Container PlatformFollow the documentation provided by Red Hat to install OpenShift Container Platform 3.11 in the section titled “Installing OpenShift Container Platform”:https:///container-platform/3.11/install/running_install.html#install-running-installation-playbooks。
Linux使用指南Linux使用指南包括以下步骤:1.安装Linux操作系统:首先,您需要下载并安装Linux操作系统。
可以选择适合您的Linux发行版,并按照官方指南进行安装。
2.了解Linux基本概念:在开始使用Linux之前,您需要了解一些基本概念,如文件系统、目录结构、命令行界面等。
3.学习Linux命令行:Linux命令行是Linux操作系统的核心部分,您需要学习一些常用的Linux命令行命令,如ls、cd、pwd、cp、mv、rm等。
4.使用Linux软件包管理工具:Linux具有多种软件包管理工具,如apt、yum、dnf等。
您需要学习如何使用这些工具来安装、更新和卸载软件包。
5.配置网络连接:如果您需要在互联网上使用Linux,您需要配置网络连接。
您需要了解如何设置IP地址、网关、DNS等网络参数。
6.了解Linux文件权限:Linux文件权限是Linux操作系统中非常重要的概念之一。
您需要了解如何设置和修改文件权限,以确保系统的安全性和稳定性。
7.学习使用文本编辑器:Linux中的文本编辑器是常用的工具之一。
您需要学习如何使用Vi、Vim或Nano等文本编辑器来编辑文件。
8.了解Linux系统管理和维护:您需要了解如何进行系统管理和维护,如查看系统资源使用情况、进程管理、磁盘管理等。
9.学习使用shell脚本:shell脚本是自动化Linux任务的重要工具之一。
您需要学习如何编写和执行shell脚本,以实现自动化任务。
10.了解Linux系统安全:最后,您需要了解如何确保Linux系统的安全性,如防火墙配置、加密通信等。
以上是Linux使用指南的一些关键步骤和要点。
当然,要深入了解和熟练使用Linux操作系统,需要不断学习和实践。
Linux系统管理技术手册1. 导言Linux是一种开源的操作系统,具有广泛应用和强大的系统管理功能。
本手册旨在提供关于Linux系统管理的技术指导和实践经验,帮助读者更好地理解和运用Linux系统。
2. Linux系统概述Linux系统是以Unix为原型开发的操作系统,具有稳定性、可靠性和安全性。
它的核心组件包括操作系统内核、系统工具和应用程序。
3. Linux系统安装与配置3.1 硬件要求:在安装Linux系统之前,需确保硬件满足最低配置要求。
3.2 安装过程:详细介绍安装Linux系统的步骤和注意事项。
3.3 系统配置:包括网络配置、用户管理、文件系统管理等内容。
4. Linux命令行工具4.1 Shell介绍:不同的Linux发行版使用不同的Shell,默认为Bash。
4.2 基本命令:介绍常用的Linux命令,如目录操作、文件管理、进程管理等命令。
4.3 命令行通配符和重定向:使用通配符匹配文件名、输出重定向和输入重定向等。
5. 系统和网络管理5.1 进程管理:介绍进程的概念、常用命令和进程管理技巧。
5.2 系统监控:使用系统监控工具对系统性能和资源进行监控和优化。
5.3 网络配置:包括IP地址配置、网络接口配置和网络服务配置等。
5.4 防火墙配置:详细介绍使用iptables命令配置Linux防火墙规则。
6. 软件包管理6.1 软件包管理工具:介绍常用的包管理工具,如yum和apt-get。
6.2 软件包安装和更新:通过包管理工具安装和更新软件包。
6.3 软件包依赖性:解决软件包之间的依赖关系,确保软件正常运行。
7. 安全与备份7.1 用户和权限管理:通过用户和权限管理提高系统的安全性。
7.2 文件系统加密:使用加密文件系统保护敏感数据。
7.3 数据备份与恢复:制定合理的数据备份策略,并恢复丢失的数据。
8. 系统维护与故障排除8.1 日志管理:解析日志文件以诊断和解决系统问题。
8.2 内存管理:监控和优化内存使用,提升系统性能。
Linux安装与使用教程第一章:概述Linux是一种免费的开源操作系统,被广泛应用于服务器、嵌入式系统和个人电脑。
本教程将为用户提供Linux安装与使用的详细指导,帮助读者快速上手Linux系统。
第二章:准备工作在安装Linux之前,我们需要做一些准备工作。
首先,我们需要选择适合自己的Linux发行版。
常见的发行版有Ubuntu、Debian、Fedora和CentOS等。
其次,我们需要确认自己的计算机硬件是否满足Linux的最低系统要求。
最后,我们需要下载所选择发行版的安装镜像,并准备一个空白的USB闪存驱动器或光盘。
第三章:安装过程1. 制作引导设备我们需要将下载好的安装镜像写入准备好的USB闪存驱动器或光盘中,以便在计算机启动时进行安装。
对于USB闪存驱动器,在Windows操作系统下,可以使用Rufus、Etcher等工具进行制作;在Linux下,可以使用dd命令。
2. 启动计算机将制作好的USB闪存驱动器或光盘插入计算机,并重新启动。
在启动过程中,按照屏幕上的提示按键进入引导设备。
3. 进入安装界面进入引导设备后,会出现一个图形化的安装界面。
在这个界面上,我们需要选择安装语言和键盘布局等选项。
4. 分区设置接下来,我们需要对硬盘进行分区。
可以选择手动分区或者自动分区。
手动分区需要用户自行指定分区的大小和文件系统类型,而自动分区会根据硬盘空间自动进行分区设置。
5. 安装系统在分区设置完成后,我们需要选择将Linux安装到哪个分区并选择其他附加选项。
然后,点击安装按钮,等待系统安装完成。
第四章:系统配置1. 用户账户设置系统安装完成后,我们需要设置一个新的用户账户。
这个账户将用于登录系统和进行日常操作。
可以设置用户名、密码和其他相关选项。
2. 网络配置为了能够连接到互联网,我们需要进行网络配置。
可以选择使用DHCP自动获取IP地址,或者手动配置固定的IP地址。
还可以设置DNS服务器和网络代理等选项。
Installing Linux in a partition using IVMVersion 1.0.1IBM®Quick Start Guide for installing Linux on a Power Systems server partition using IVMThis guide helps you install Linux onto a Power Systems server partition using the Integrated Virtualization Manager (IVM).OverviewUse this information to install Linux onto a Power Systems server partition using the Integrated Virtualization Manager (IVM) Web interface. You should already have IVM installed on your system. This installation uses a CD-ROM for the installation.1Step 1: Complete the prerequisitesIn order to perform this task, you should already have your system powered on, VIOS installed, and IVM initially configured.a.PowerLinux system powered onb.Virtual I/O server installedc.Integrated Virtualization Manager initially configuredd.Installation media for your Linux distribution2Step 2: Log into the Integrated Virtualization Manager Web interfacea.Open a Web browser window, and connect using the HTTP or HTTPS protocol to the IP address that wasassigned to the Integrated Virtualization Manager during the installation process. For example, enter https:// 123.456.7.890 in your Web browser, where 123.456.7.890 is the IP address assigned to the Integrated Virtualization Manager. The Welcome window is displayed.b.Enter the default user ID of padmin, and enter the password that you defined during the installation process.The Integrated Virtualization Manager interface is displayed.c.In the Integrated Virtualization Manager interface, select View/Modify Virtual Ethernet.d.Click Initialize Virtual Ethernet. A virtual Ethernet provides Ethernet connectivity among the partitions.e.Click Apply. After Virtual Ethernet is initialized.f.If your installation requires external networking, create a virtual Ethernet bridge:i.Select Virtual Ethernet Bridge tab.ii.Select the physical adapter to bridge.iii.Click Apply.3Step 3: Create a partitionTo create a partition, follow these steps:a.In the Integrated Virtualization Manager Web interface, click View/Modify Partition.b.Click Create Partitionc.Enter a name for the partition. Click Next.d.Specify memory for your partition. If you have created a shared memory pool, your partitions can share memory.Otherwise, select Dedicated. Click Next.e.Specify the number of processors and the processing mode for your partition. Click Next.f.Specify a virtual Ethernet for the partition. If you do not want to configure an adapter, select a virtual Ethernet ofnone. Click Next.g.Create a new virtual disk or assign existing virtual disks and physical volumes that are not currently assigned toa partition. Click Next.h.Verify the Virtual disk and Storage pool name for your virtual disk and specify a Virtual disk size. Click Next.i.Configure optical devices for your partition by expanding the Physical Optical Devices and Virtual Optical Devicesand selecting which devices you want to assign to the partition. Click Next.j.Verify your partition configuration settings and click Finish.The partition is created and available from the View/Modify Partitions list.4Step 4: Activate the partitiona.From the View/Modify Partitions list, select the box next to your partitionb.Select More Tasksc.Select Open a terminal windowd.Click Activate next to your partitione.In the terminal window, enter 1 to start SMS.5Step 5: Boot Linux installation mediaa.At the Boot selection window, enter 1 to select the SMS Menu. Enter 1 before the firmware boot screen iscompletely shown on the display, because it will disappear when complete. If you miss the screen, reboot thesystem.b.At this time, you can insert the VIOS media disk into the disk drive.c.Enter 2 to Continue to password entry on the Language selection menu. Enter admin.d.On the main SMS menu, enter 5 to select the Select Boot Options option.e.Enter 1 to select Install/Boot Device.f.Enter 7 to view all of the available boot devices.g.Enter the number corresponding to the device you want to use. If your device is not displayed, you can enter N todisplay more.h.Enter 2 to perform a Normal Mode Boot.i.Enter 1 to leave the SMS menu and to start the boot process.j.At the boot prompt from the installer, type linux vnc to install Red Hat Enterprise Linux or install vnc=1 vncpassword=abc12345 to install SUSE Linux Enterprise Server and press Enter. The kernel will beginloading.6Step 6: Start VNC session and install LinuxAfter the kernel has started to load, the installer need some information from the system in order to set up a VNCsession. You must have a valid TCP/IP stack in order to use VNC. Either use DHCP or manually define yournetworking information using directions provided by the Linux distribution.a.On the Network device window, select eth0 as your network device. Select OK and enter.b.Select to test your installation media or to skip.c.After the system has started the VNC server, you will see a message to connect your VNC client followed by anIP address. Take note of this IP address.d.Start your VNC client on your laptop or PC.e.Enter the IP address from the system as your VNC Server. Add :1 to the end of the IP address and click connect.plete the installation by following the installer screens to install Linux.More informationFor more information, see the following resources:•Linux information for IBM systems at https:///support/knowledgecenter/linuxonibm/liaaa/ic-homepage.htm•IBM Knowledge Center: https:///support/knowledgecenter/.•The Linux on Power developer portal at https:///linuxonpower/.© Copyright IBM® Corp. 2018. U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.IBM, the IBM logo, and ® are trademarks or registered trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" (/legal/copytrade.shtml).。
飞思网巡软件系列产品安装手册1 安装Linux操作系统安装前请准备好Linux操作系统的安装光盘,如Centos5.4 Linux发行版本DVD光盘,(建议Linux操作系统为CentOS5.x 或RHEL5.x)并且已经准备好用于安装系统的台式机或服务器。
1.1设置电脑CDROM启动将准备用于安装操作系统的电脑设置为CDROM启动。
1.2安装1.2.1 启动将准备好的LINUX DVD光盘放在DVD光驱里,重启电脑。
如果DVD光盘以及设置没有错误,电脑会进入系统开始安装的界面,如下图所示:直接按“(回车)enter”键继续。
出现让确认是否对DVD光盘内容进行校验的界面。
我们假设DVD光盘是完好的,按一下“tab”键,选择“Skip”按钮,按“(回车)enter”键,跳过检查继续。
1.2.2 进入图形安装界面进入图形化安装界面后,如果接了鼠标,就应该可以使用鼠标操作了。
按“Next”按钮,继续。
1.2.3 确认自动重新分区警告执行下面的步骤后,电脑上硬盘的数据将会全部丢失!!!按“Yes”,继续。
按“Yes”,继续。
1.2.4 网络设置1.2.4.1使用DHCP获取IP如果这台电脑是连接到局域网上,并且局域网内有DHCP服务器的,可以使用DHCP服务,按“Next”,继续。
1.2.4.2使用固定IP地址如果这台电脑要分配一个固定的IP地址,点击“Edit”配置IP地址,比如配置IP地址为:192.168.1.155/255.255.255.0,点击OK。
再配置相应的网关和DNS。
按“Next”按钮,继续。
选择Asia/Shanghai的时区后,按“Next”按钮,继续。
设置Linux系统的root密码,按“Next”按钮,继续。
点击一下“Desktop-Gnome”前面的框框,取消选中勾勾,按“Next”继续。
开始安装软件包,按“Next”继续。
安装完成后,按“Reboot”,自动重启电脑。
1.3第一次运行系统1.3.1 取出DVD光盘将DVD光盘重光驱中取出,让电脑从硬盘引导进入新安装的操作系统。
Linux操作系统安装部署安全规范为了规范安装Linux系统,减少平台部署中出现的问题,并且方便管理与维护;体现公司运维规范、专业化,特制定Linux安装部署规范文档一、安装前的准备工作1、操作系统的选择操作系统统一选用Centos 5.X 系统64位版本2、操作系统的安装信息收集1) 服务器的内存大小2)分区的特殊需求3)Ip地址的规划4)防火墙的配置要求5)如未有特殊要求将按照以下规范安装系统二、安装系统过程详细要求操作系统安装过程创建LVM物理卷,使用全部可用空间点击红色框内的LVM(L) 出现下面这个窗口容量),根分区分配20G 空间服务器空间在200G以上者,根分区分配50G空间再继续点击“添加添加swap交换分区分区容量与内存大小相同点击确定然后下一步直接下一步密码默认设置为sd@2012选择“现在定制”安装基本系统里面选择基本、管理工具、系统工具三项应用程序里面选择编辑器一项开发里面选择“开发工具“、“开发库”两项语言支持里面默认选择”中文支持“其他选项里面都不要勾选任何软件包,点击下一步安装系统完成后重启系统三、系统安装完成后设置1.系统setup 设置进入系统后执行setup命令,有时候setup会自动执行选择防火墙配置全部选择Disabled 然后选择OK 退出选择系统服务配置(System services)把acpid apmd autofs cups bluetooth cpuspeed firstboot gpm ip6tables ipm iscsi iscsid netfs nfslock restorecond setroubleshoot smartd xfs yumupdatesd 前面的* 去掉(按空格键去掉) 禁止这些服务开机启动2. 设置系统参数1)sysctl内核参数编辑/etc/sysctl.conf在原有内容的基础上添加以下内容# Addnet.ipv4.ip_forward = 1net.ipv4.tcp_max_syn_backlog = 262144dev_max_backlog = 262144 net.core.somaxconn = 262144net.core.wmem_default = 8388608net.core.rmem_default = 8388608net.core.rmem_max = 16777216net.core.wmem_max = 16777216net.ipv4.tcp_timestamps = 0net.ipv4.tcp_synack_retries = 1net.ipv4.tcp_syn_retries = 1net.ipv4.tcp_tw_recycle = 1net.ipv4.tcp_tw_len = 1net.ipv4.tcp_tw_reuse = 1net.ipv4.tcp_mem = 94500000 915000000 927000000net.ipv4.tcp_max_orphans = 3276800net.ipv4.tcp_fin_timeout = 30net.ipv4.tcp_keepalive_time = 120net.ipv4.ip_local_port_range = 1024 65535fs.file-max=102400net.ipv4.tcp_keepalive_time = 302)设置文件描述符执行echo "ulimit -SHn 102400 ">>/etc/profile3、系统文件安全设置1)vim /etc/inittabca::ctrlaltdel:/sbin/shutdown -t3 -r now 找到此处改成#ca::ctrlaltdel:/sbin/shutdown -t3 –r now 前面加上注释防止ctrl+alt+del 重启服务器2)系统帐户配置账号管理vim /etc/passwd 文件以下账号可以锁定或者删除gopher sync games smmsp xfs shudwon rpc rpcuser uucp postgres news nscd operator halt方法1: usermod –L 用户锁定用户2: userdel 用户删除用户删除不需要的用户组vim /etc/group删除与刚才删除的用户名相同的组删除组groupdel 用户组名修改passwd、shadow、group文件权限cd /etcchown root:root passwd shadow groupchmod 600 passwdchmod 600 groupchmod 400 shadow4、IP地址规划服务器一般情况下有两个、四个或以上网卡要求:如无特殊需求,服务器一概配置一个公网IPEth0:配置为公网IPEth1:配置为内网IP如遇服务器只有内网IP::eth1:配置为内网如果内网有多个、依次排列eth2、eth3等5、添加定时校对时间任务:执行:crontab -e 添加下面一行0 1 * * * /usr/sbin/ntpdate 执行chkconfig crond on 确保crond服务为开机启动6、升级系统执行yum update -y 命令升级系统需要长时间等待7、设置iptables防火墙先清除防火墙规则/sbin/iptables -F/sbin/iptables -X执行iptables-save >/etc/sysconfig/iptables 保存防火墙规则编辑/etc/sysconfig/iptables 文件修改为一下内容----------------------------------------------------*filter:INPUT ACCEPT [47:4040]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [37:3724]-A INPUT -i lo -j ACCEPT-A INPUT -i eth1 -j ACCEPT (如eth1为内网)-A INPUT -s 222.141.219.36 -j ACCEPT-A INPUT -s 125.46.68.0/26 -j ACCEPTWORD格式可编辑-A INPUT -s 125.46.36.128/25 -j ACCEPT-A INPUT -s 182.118.3.128/25 -j ACCEPT-A INPUT -s 61.158.255.0/24 -j ACCEPT-A INPUT -s 202.111.128.0/24 -j ACCEPT-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -j DROPCOMMIT-------------------------------------------------------开启iptables服务chkconfig iptables onservice iptables restart8、执行完以上所有步骤后重启系统四、本文档所涉及配置,针对所有新装linux系统。
服务器系统部署搭建手册在搭建环境之前先需要安装相关工具插件编译工具cmake-3.3解压软件rarlinux- 5.4.0插件编译PHP的时候需要libmcrypt、pcre-8.37、libmcrypt-devel-2.5(后续的插件会在下面说明)一、搭建Mysql-5.6准备安装包:我们先要准备mysql的linux的安装包如果是上传的则需要对包的权限进行修改chmod 755安装依赖包:安装所需的插件和依赖包: yum -y install ncurses-developenssl-devel bison-devel。
在安装完毕后则可以对mysql文件进行解压。
用户组:要进行配置mysql了,首先需要配置用户以及用户组,创建mysql用户,且不允许mysql用户登录系统,seradd -s /sbin/nologin mysql。
创建mysql数据库存放目录:mkdir -p /data/mysql。
设置msql的目录权限:chown -R mysql:mysql /data/mysqlmkdir -p /usr/local/mysql #创建mysql安装目录chown -R mysql:mysql /usr/local/mysql #设置目cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \安装mysql:make && make install修改系统mysql配置:cd /usr/local/mysqlcp support-files/f /etc/f 初始化数据库:./scripts/mysql_install_db --user=mysql --datadir=/data/mysql复制启动文件到开机自动启动:cp ./support-files/mysql.server /etc/rc.d/init.d/mysqlchmod 755 /etc/init.d/mysql #增加执行权限chkconfig --add mysql #添加到启动服务里chkconfig mysql on #加入开机启动chkconfig --list mysqlvi /etc/rc.d/init.d/mysql #编辑启动文件加入下面两行basedir = /usr/local/mysql #mysql程序安装路径datadir = /data/mysql #Mysql数据库存启动服务:service mysql startmysql服务到系统环境变量:vim /etc/profileexport PATH=$PATH:/usr/local/mysql/bin (加在最后一行)mysql库文件链接到系统默认位置可以方便php不用指定路径:ln -s /usr/local/mysql/lib/mysql /usr/lib/mysqlln -s /usr/local/mysql/include/mysql /usr/include/mysql结束后讲服务器重启:shutdown -r now完毕之后设置mysql账号:mysql_secure_installation 根据提示输入两次密码或者直接修改密码:/usr/local/mysql/bin/mysqladmin -u root -p password "123456"。
Linux安装部署规范文档文件修改记录表目录1安装前的准备工作 (6)1.1操作系统版本 (6)1.2操作系统的安装信息搜集 (6)2默认情况的Linux操作系统安装 (7)2.1安装语言的选择 (7)2.2分区的划分 (7)2.2.1boot分区 (13)2.2.2LVM分区 (14)2.2.3根分区 (16)2.2.4Swap空间 (17)2.3IP地址的配置 .............................................................................. 错误!未定义书签。
2.4主机名的设定............................................................................... 错误!未定义书签。
2.5时区的设定 (11)2.6密码的设定 (12)2.7软件包的定制 (17)2.7.1桌面环境 (18)2.7.2应用程序 (20)2.7.3开发环境 (20)2.7.4服务器 (18)2.7.5基础系统........................................................................... 错误!未定义书签。
2.7.6虚拟化 (19)2.7.7语言 (21)2.8安装后的设置 (22)2.8.1防火墙设置 (22)2.8.2SELinux ............................................................................. 错误!未定义书签。
2.9操作系统配置 (22)2.9.1文字界面启动 (23)2.9.2Root用户直接登陆系统 (23)2.9.3取消不用的服务 (23)2.10备份操作系统关键文件 (23)3针对Oracle数据库服务器的操作系统安装 (24)3.1安装语言的选择 (24)3.2分区的划分 (24)3.2.1boot分区 (25)3.2.2LVM分区 (25)3.2.3根分区 (25)3.2.4Swap空间 (26)3.2.5tmp分区 (26)3.2.6var分区 (27)3.2.7usr分区 (27)3.2.8u01分区 (27)3.3IP地址的配置 .............................................................................. 错误!未定义书签。
2005-09-01 Notes on Using Red Hat Enterprise Linux AS (v.3 for x86) PrefaceAbout This ManualThis manual provides notes on PRIMERGY operation with Linux installed. Be sure to read this manual before using Linux.Intended ReadersThis manual is intended for persons who operate PRIMERGY.Organization of This ManualThis manual consists of the following chapters:Chapter 1 Notes on OperationThis chapter provides notes on operation after installation. Be sure to read this chapterbefore operating PRIMERGY with Linux installed.Chapter 2 Addition of Peripheral Devices and Option CardsThis chapter explains the procedures for adding peripheral devices and cards afterinstallation and provides notes on adding these options. Read this chapter as required.Chapter 3 OthersThis chapter explains other functions and provides other notes such as notes on limits.Operation VerificationThe operations of the products described in this manual have been confirmed by Fujitsu. Please note, however, that these operations are subject to change without prior notice.Support & ServiceA support service(SupportDesk Product basic service), available for a fee, provides customers usingLinux with an enhanced sense of security and confidence. Customers concluding a support and service agreement are entitled to receive support in such areas as assistance with queries regarding this manual and questions and problems that may come up during the installation and operation of this product.Please consider taking advantage of this service option by concluding a support and service agreement with us.CopyrightAll rights Reserved, Copyright (C) FUJITSU LIMITED 20051. Notes on Operation1.1Assignment of Device NamesLinux assigns device names to a variety of devices, such as the hard disk drive, in the order that it recognizes them during its startup sequence. If the system is restarted after a device such as a hard disk drive or controller fails, the assigned device names may be changed because the system cannot recognize a device that has failed.Example: When hard disk drives are connected to SCSI ID 1, 2, and 3, device names /dev/sda, /dev/sdb, and /dev/sdc are assigned respectively to the disk drives. If /dev/sdb failsunder this condition, the device previously assigned /dev/sdc/ is moved up by one andrecognized as /dev/sdb after the system is restarted.If an assigned device is unexpectedly changed, it may prevent the system from starting or,in the worst case, may damage your data. If a device fault is detected, therefore, Fujitsurecommends starting the system in rescue mode and checking for hardware faults beforerestarting the system (*1). Repair the hardware fault, restore the system by means suchas the backup tape, and then restart the system.*1 Using installation CD 1/4, start the system in rescue mode.See Section 1.4, "Starting the System in Rescue Mode."After starting the system, use the fdisk command to check whether the relevant hard diskdrive can be recognized, and take necessary steps such as checking for hardware errormessages in /var/log/messages.1.2Installation of Red Hat Enterprise Linux AS (v.3 for x86) PackagesRed Hat Enterprise Linux provides installation types so that the optimum system can be constructed according to the use purpose. For this reason, packages required for your purposes might not be installed. If a required package has not been installed, log in as the root and install it by executing the following procedure:Install the necessary packages by using the installation CDs (1/4 to 4/4) that have beencreated according to the Installation Procedure included in the driver kit.# mount -r /dev/cdrom /mnt/cdrom# cd /mnt/cdrom/RedHat/RPMS# rpm -ivh <package_file>Example: To install package "make"# rpm -ivh make-3.79.1-17.i386.rpm# cd /# umount /mnt/cdrom# eject* Remove the CD.1.3Installing and Setting Up Global Array Manager (GAM)Use Global Array Manager (GAM) as a RAID management tool in a system with a mounted onboard SCSI-RAID and SCSI-RAID card (PG-142E3).The following two types of installation are required in GAM installation:-GAM-Server(Linux)-GAM-Client(Windows)For details on installing GAM-Client (Windows), see "Outline of Installation Procedure for Global Array Manager-Client", which is an attachment.The GAM-Server (Linux) installation procedure is explained below.[Notes]1)The screen display may become unstable during GAM installation or GAM service startup.This is not an operational problem.2)Specify the port numbers shown below for GAM service.Take care when configuring firewall settings.Port numbers: 157,158(1)To install GAM-Server (Linux), insert the driver CD into the CD-ROM drive, and entercommands as follows:# mount -r /dev/cdrom /mnt/cdrom# cd /mnt/cdrom/UTY/GAM/Linux# rpm -ivh gam-server-6.02-21.i386.rpm# rpm -ivh gam-agent-6.02-21.i386.rpm# cd /# umount /mnt/cdrom# eject* Remove the CD.(2)For user accounts in Linux, create "gamroot" as a user account with GAM administratorauthority and then create user accounts (e.g., "gamuser") with user authority.(If a user account with user authority has already been created, another account need not be created.) # adduser gamroot# passwd gamrootChanging password for user gamrootNew-password <--- Enter a password.Retype new password <--- Re-enter the same password for confirmation.passwd: all authentication tokens updated successfully* Create a user account with user authority in the same way as explained above.(3)Edit three lines as shown below in the /etc/sysconfig/gam file.Events can be posted to GAM-Client after this editing is completed.# vi /etc/sysconfig/gam[Before editing]START_GAMEVENT=nGAMEVENT_OPTIONS=""[After editing]START_GAMEVENT=y <--- Change "n" to "y".GAMEVENT_OPTIONS="-h ip-address" <--- Specify the IP address of the managementWindows system on which GAM-Client isinstalled.[Before editing]START_GAMEVLOG=n[After editing]START_GAMEVLOG=y <--- Change "n" to "y".(4)Restart the system.# shutdown -r now* The following message may be displayed after the system starts. It does not indicate an operational problem.[Message]gamagent: gamagent: Connection refusedgamagent connect failure1.4Starting the System in Rescue ModeUsing only one of the installation CDs that have been created according to the Installation Procedure included in the driver kit, you can start the system in rescue mode. This may enable system recovery in the event of a problem that prevents the system from starting normally.This section explains only how to start the system as one that has minimum functionality.Start the system in rescue mode as follows:(1)Start the system from installation CD 1/4 that was created according to the InstallationProcedure included in the driver kit. Enter the appropriate response in the following window,and press the [Enter] key.boot: linux rescue noprobe(2)In the Choose a Language window, select "English" and select "OK."(3)In the Keyboard Type window, select "jp106" and select "OK."If an accessory keyboard such as of a flat display (PG-R1DP3) is used, select "us" here.* If no USB device is connected, the window shown in (4) is displayed.* If a USB device is connected, proceed to (6).(4)In the following window, select "Yes."(5)Select [Add Device] from the following window, and proceed to (7).(6)In the following window, select " Add Device."(7)Select the driver shown below, and select "OK.”[Onboard SCSI-RAID type]“LSI MegaRAID Controllers (megaraid2)”An example of selecting the driver for onboard SCSI-RAID is shown below:(8)Make sure that the selected driver is displayed in the following window, and select "Done."(9)The Setup Networking window is displayed. Select "No" because network settings need not beconfigured at this time.(10)Select "Continue" in the Rescue window.(11)If the root partition (/) in the existing Linux system has been mounted successfully under/mnt/sysimage, this is reported in the Rescue window. Select "OK."(12)When the prompt is displayed, enter the chroot command to change the root path to the harddisk drive.sh-2.05b# chroot /mnt/sysimage(13)This completes startup in rescue mode. To exit rescue mode, enter the exit command twice.sh-2.05b# exit <--- Exit from the chroot environment.sh-2.05b# exit <--- Exit from the rescue mode.1.5Power-off at ShutdownPower is not automatically turned off at shutdown.When [Power down] is displayed on the console screen, press the power switch to turn off the power.Note that the power is automatically turned off when the system is shut down in an environment in which ServerView is installed.2. Addition of Peripheral Devices and Option Cards2.1Adding a SCSI DiskThe number of LUNs is set to 1 by default. To add a SCSI disk, shared disk, or tape library, log in as the root and define the number of LUNs as shown below. Multiple LUN referencing is enabled after the system is started next.(1)Add the following lines to /etc/modules.conf:options scsi_mod max_scsi_luns=N <--- Add* N is the number of LUNs. Define the appropriate number.(2)Enter the mkinitrd command to create initrd.To create initrd, enter the mkinitrd command appropriate for the type of kernel used.* Enter the following command to check the type of kernel used:# uname -rCommand execution examples are shown below[2.4.21-32.0.1.EL (kernel for single CPU)]# cp /boot/initrd-2.4.21-32.0.1.EL.img /boot/initrd-2.4.21-32.0.1.EL.img.bak# mkinitrd -f /boot/initrd-2.4.21-32.0.1.EL.img 2.4.21-32.0.1.EL[2.4.21-32.0.1.ELsmp (kernel for multi-CPU)]# cp /boot/initrd-2.4.21-32.0.1.ELsmp.img /boot/initrd-2.4.21-32.0.1.ELsmp.img.bak# mkinitrd -f /boot/initrd-2.4.21-32.0.1.ELsmp.img 2.4.21-32.0.1.ELsmp(3)Restart the system.Enter the following command to restart the system.# shutdown -r now2.2Adding Option CardsIf one of the optional cards listed in the following table has been added after system installation, Kudzu is automatically started at system startup. Therefore, when adding a LAN card or Fibre Channel card, perform the operation described below. When adding another type of card, select [configure].RX600 S2SCSI card PG-128 VSCSI-RAID card PG-142E3 VPG-1862 VPG-1882 VLAN cardPG-1892 VPG-286 VFibre channel card PG-FC201 VV: Supported[ A LAN card (PG-1862, PG-1882, PG-1892 or PG-286) is added]When adding a LAN card after system installation, perform the operation described below.After completing the operation, follow the instructions in Section 2.3, "Executing mkinitrd."The added card is automatically recognized at the next system startup.(1)If any of LAN cards is added after system installation, kudzu is automatically started atsystem startup. Always select “ignore”.(2)Add the following to /etc/modules.conf:[For the PG-1882 or PG-1892]alias eth0 bcm5700alias eth1 bcm5700alias eth2 e1000 <--- Add[For the PG-1862 or PG-286]alias eth0 bcm5700alias eth1 bcm5700alias eth2 e1000 <--- Addalias eth3 e1000 <--- Add(3)Configure the eth2, eth3 network settings[For the PG-1882 or PG-1892]# netconfig -d eth2[For the PG-1862 or PG-286]# netconfig -d eth2# netconfig -d eth3[ Fibre channel card(PG-FC201) is added]When adding the Fibre channel card after system installation, perform the operation describedbelow. After completing the operation, follow the instructions in Section 2.3, "Executingmkinitrd."The added card is automatically recognized at the next system startup.(1)If a Fibre channel card is added after system installation, kudzu is automatically startedat system startup. Always select “ignore”.(2)Add the following to /etc/modules.conf:For each SCSI, SCSI-RAID, or other such device installed in the system,"scsi_hostadapter” is followed by a number from the sequence 2, 3,....[Addition]alias scsi_hostadapter2 lpfcoptions scsi_mod max_scsi_luns=1282.3Executing mkinitrd(1) Create initrd by executing the mkinitrd command.Create initrd by executing the mkinitrd command according to the kernel used.* Enter the following command to check the kernel used:# uname -rCommand execution examples are shown below.[2.4.21-32.0.1.EL (kernel for a single CPU)]# cp /boot/initrd-2.4.21-32.0.1.EL.img /boot/initrd-2.4.21-32.0.1.EL.img.bak# mkinitrd -f /boot/initrd-2.4.21-32.0.1.EL.img 2.4.21-32.0.1.EL[2.4.21-32.0.1.ELsmp (kernel for multi-CPUs)]# cp /boot/initrd-2.4.21-32.0.1.ELsmp.img /boot/initrd-2.4.21-32.0.1.ELsmp.img.bak# mkinitrd -f /boot/initrd-2.4.21-32.0.1.ELsmp.img 2.4.21-32.0.1.ELsmp2.4Restart the systemRestart the system as follows:# shutdown -r now3. Others3.1Sound FunctionNo sound function is supported.3.2PCI Hot Plug FunctionThe PCI hot plug function is not supported.3.3Usable KernelsThe kernels that can be used vary depending on the hardware conditions.See the table below for the kernels that can be used.Note that middleware specifications might limit the kernel to be selected. In this case, select the kernel in accordance with the middleware specifications.Hardware conditionsKernel to be selectedMemory Number of logical CPUs (*1)1CPU Kernelfor single CPUUp to 4 GB2 or more CPUs Kernel for multi-CPUMore than 4 GB No conditions Kernel for multi-CPU (*1) Even when only one CPU is installed, the number of logical CPUs is 2if Hyper Threading = Enabled.3.4Distribution LimitationsOperation is not guaranteed if one of the following CPU, memory, and file system limitations is exceeded:Maximum number of logical CPUs: 16Maximum memory size: 64 GB (*)File system: Less than 1 TB(*)The maximum memory size for each model is displayed.S2RX600Maximum memory size 12 GB3.5Installation ProcedureFor information on the procedure for installing Red Hat Enterprise Linux AS (v.3 for x86), see the Installation Procedure included in the "Installation Kit" downloaded from Download Search.-- END --。
Linux安装部署规范文档文件修改记录表目录1安装前的准备工作 (6)1.1操作系统版本 (6)1.2操作系统的安装信息搜集 (6)2默认情况的Linux操作系统安装 (7)2.1安装语言的选择 (7)2.2分区的划分 (7)2.2.1boot分区 (13)2.2.2LVM分区 (14)2.2.3根分区 (16)2.2.4Swap空间 (17)2.3IP地址的配置 .............................................................................. 错误!未定义书签。
2.4主机名的设定............................................................................... 错误!未定义书签。
2.5时区的设定 (11)2.6密码的设定 (12)2.7软件包的定制 (17)2.7.1桌面环境 (18)2.7.2应用程序 (20)2.7.3开发环境 (20)2.7.4服务器 (18)2.7.5基础系统........................................................................... 错误!未定义书签。
2.7.6虚拟化 (19)2.7.7语言 (21)2.8安装后的设置 (22)2.8.1防火墙设置 (22)2.8.2SELinux ............................................................................. 错误!未定义书签。
2.9操作系统配置 (22)2.9.1文字界面启动 (23)2.9.2Root用户直接登陆系统 (23)2.9.3取消不用的服务 (23)2.10备份操作系统关键文件 (23)3针对Oracle数据库服务器的操作系统安装 (24)3.1安装语言的选择 (24)3.2分区的划分 (24)3.2.1boot分区 (25)3.2.2LVM分区 (25)3.2.3根分区 (25)3.2.4Swap空间 (26)3.2.5tmp分区 (26)3.2.6var分区 (27)3.2.7usr分区 (27)3.2.8u01分区 (27)3.3IP地址的配置 .............................................................................. 错误!未定义书签。
3.4主机名的设定............................................................................... 错误!未定义书签。
3.5时区的设定................................................................................... 错误!未定义书签。
3.6密码的设定................................................................................... 错误!未定义书签。
3.7软件包的定制 (28)3.7.1桌面环境 (28)3.7.3开发环境 (29)3.7.4服务器 (28)3.7.5基础系统........................................................................... 错误!未定义书签。
3.7.6虚拟化 (29)3.7.7语言 (29)3.8安装后的设置 (29)3.8.1防火墙设置....................................................................... 错误!未定义书签。
3.8.2SELinux ............................................................................. 错误!未定义书签。
3.9操作系统配置 (30)3.9.1文字界面启动 (30)3.9.2Root用户直接登陆系统 (30)3.9.3取消不用的服务 (30)3.10补丁的检查及安装 (31)3.10.1补丁包的安装 (31)3.11备份操作系统关键文件 (32)4针对IDS服务器的操作系统安装 (32)4.1安装语言的选择 (33)4.2分区的划分 (33)4.2.1boot分区 (34)4.2.2LVM分区 (34)4.2.3根分区 (34)4.2.4Swap空间 (34)4.2.5var分区 (35)4.2.6opt分区 (35)4.3IP地址的配置 (36)4.4主机名的设定............................................................................... 错误!未定义书签。
4.5时区的设定................................................................................... 错误!未定义书签。
4.6密码的设定................................................................................... 错误!未定义书签。
4.7软件包的定制 (36)4.7.1桌面环境........................................................................... 错误!未定义书签。
4.7.2应用程序........................................................................... 错误!未定义书签。
4.7.3开发环境........................................................................... 错误!未定义书签。
4.7.4服务器............................................................................... 错误!未定义书签。
4.7.5基础系统........................................................................... 错误!未定义书签。
4.7.6虚拟化............................................................................... 错误!未定义书签。
4.7.7语言................................................................................... 错误!未定义书签。
4.8安装后的设置 (37)4.8.1防火墙设置....................................................................... 错误!未定义书签。
4.8.2SELinux ............................................................................. 错误!未定义书签。
4.9操作系统配置 (38)4.9.1文字界面启动 (38)4.9.2Root用户直接登陆系统 (38)4.9.3取消不用的服务 (39)4.10备份操作系统关键文件 (39)5针对W AS服务器的操作系统安装 (39)5.1安装语言的选择 (40)5.2分区的划分 (40)5.2.1boot分区 (41)5.2.2LVM分区 (41)5.2.4Swap空间 (41)5.2.5opt分区 (42)5.3主机名的设定............................................................................... 错误!未定义书签。
5.4时区的设定 (40)5.5密码的设定 (40)5.6软件包的定制............................................................................... 错误!未定义书签。
5.6.1桌面环境........................................................................... 错误!未定义书签。
5.6.2应用程序 (40)5.6.3开发环境........................................................................... 错误!未定义书签。
5.6.4服务器............................................................................... 错误!未定义书签。
5.6.5基础系统........................................................................... 错误!未定义书签。
5.6.6虚拟化............................................................................... 错误!未定义书签。
5.6.7语言................................................................................... 错误!未定义书签。
5.7安装后的设置 (42)5.7.1防火墙设置....................................................................... 错误!未定义书签。
5.7.2SELinux ............................................................................. 错误!未定义书签。