Linux 0 Basic Enrollment 1-2 available snapshot creation and server assembly

Source: Internet
Author: User

"Content of this section"

Basic operation of *rhel

* Create a Snapshot

* Assembly Server

* Learn about common servers

"Create an experiment available snapshot prerequisites"

1. Fixed IP

2. Turn off the firewall

3. Turn off SELinux

4. Configure the Yum source

5. Automatic CD Mount

"IP Configuration"

RHEL6.5 can configure IP addresses through Setup, but RHEL7 weakens this feature by configuring IP addresses through NetworkManager.

->systemctl Status NetworkManager #查看网络服务状态

->systemctl Restart NetworkManager #重启网络服务

->ifconfig #查看IP配置

*start Turn on restart restart stop stop/shutdown

->nmtui-edit eno16777736 #编辑网卡配置, editing in the image interface

->nmtui-connect eno16777736 #激活网卡

->systemctl Restart NetworkManager #重启网卡 to make configuration effective

*service Network Restart #重启网卡

"Turn off Firewall"

{sysctl Stop iptables #rhel6.5 To turn off the firewall

Cannot be taken {systemctl disable FIREWALLD #rhel6.5

{iptables #rhel6.5 Firewall Name

How to turn off the firewall in RHEL7

->systemctl Stop Firewalld #临时关闭防火墙

->systemctl Disable FIREWALLD #设置开机自动关闭放火墙

"Turn off SELinux"

Temporarily close SELinux

->setenforce 0

Set power on auto-off Selinxu

Method One:

->vim/etc/selinux/config

Change "selinux=enforcing" to "selinux=disalbed"

->[ESC]: Wq

Method Two:

->sed-i ' s/selinux=enforcing/selinux=disalbed '/etc/selinux/config

"Set CD on auto Mount"

->echo "/dev/sr0/mnt iso9660 defaults 0 0" >>/etc/fatab

#将系统镜像加载到 the/etc/fstab file

"Configure Yum Source"

Empty Yum Source

->rm-rf/etc/yum.repos.d/*

Configuring the Yum Source

->cat >/etc/yum.repos.d/rhel7.repo << EOF

>[rhel7-source]

>name=rhel7-source

>baseurl=file:///mnt

>enabled=1

>gpgcheck=0

>eof

"How to assemble a server"

1u=4.45cm

"Server Sourcing Considerations"

* Assessment of traffic, company service needs

* Service characteristics, hardware selection, redundancy, stability

* Online Research, Comparison

* Check IDC room to get different price

! Computer room to prevent thunder, shock

"DIY 1U Server"

* ASUS 2109A-D8

*inter e5-2640 V3

* Seagate 600G Enterprise HDD SAS 128M 3 years 4 blocks

* Kingston Memory

* Power supply, chassis

* Fan

*ups

1. ASUS official website, enquiry

2. Memory: Type, algebra

RDIMM: Server-specific

Udimm: for ordinary PC

3. HDD

SAS HDD Type: 300G, 600G, 900G

4. Power supply

80plus

"Common Servers"

Wave Day Asahi minicomputer

IBM mainframe

Hyper Cloud Supercloud
















This article from the "Non-security" blog, reproduced please contact the author!

Linux 0 Basic Enrollment 1-2 available snapshot creation and server assembly

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.