Network security from entry to the jail, upgrade Daguai Collection (5) switch / cloud server

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/qq_30787727/article/details/100056069

4 , management configuration switch IP

[Huawei]interface Vlanif 1

[Huawei-Vlanif1]ip address 192.168.1.100 24

[Huawei-Vlanif1]undo shutdown

 

5 , remote management router

Huawei]user-interface vty 0 4

 [Huawei-ui-vty0-4]user privilege level 3

 [Huawei-ui-vty0-4]authentication-mode aaa

[Huawei-ui-vty0-4]aaa

 [Huawei-aaa]local-user ntdhn password cipher 123

[Huawei-aaa]local-user ntdhn service-type telnet

 

telnet 192.168.1.254

 

 

First, the Internet == "super cloud network

== way of providing cloud computing resources to customers

 

First, the cloud user ready

1. huaweicloud.com computer or mobile phone to access a registered user of Huawei cloud

2. Huawei cloud user login

1) Verified (tie bank card, or upload a photo ID card information)

2) need to recharge

3. To access the console, see "elastic cloud server"

4. Check for ECS server free trial

If so, apply for trial (operating system options CentOS 7.4)

Account root Linux server management system

 

Second, buy a ECS cloud server

1. Available area (Huawei room), pay-mode

2. Hardware configuration (CPU, memory, hard drive)

3. exclusive bandwidth configuration (by flow rate)

4. Select the image (OS CentOS 7.4 x64)

5. Security Group (firewall policy, open ports 80,22)

6. password (user root, password customization, such as tedu.cn1234)

7. Confirm the configuration, accept the agreement, submit an application

8. Review the "console" - "" Elastic Cloud Server "screen

9. Check this ECS server public IP address (such as 114.116.72.168)

10. The basic operations for practicing the cloud server switch, reinstall the operating system,

Third, the common remote management protocol:

Telnet - TCP 23 port [routers, switches]

SSH - TCP 22 port [Linux servers, firewalls]

RDP - TCP3389 port [Windows Server]

 

Four: Telnet server cloud

Prerequisites:

You know the correct IP address, user name, password,

Mode 1 [Recommended]: a dedicated SSH client software

1) install software SecureCRT

2) can successfully log in SecureCRT connection ECS server, confirm

Mode 2: Cloud Server Web console "Remote Login"

 

==> [root @ svr1 ~] # view similar to the system

 

Five, Linux command line experience

1) Check the device name

# hostname

2) Check the IP address

# ifconfig

3) perform a ping test

# Ping www.baidu.com [Ctrl + c interrupt]

4) Quit command-line environment

# exit

5) Reboot the server

# reboot

 

Sixth, build a web server on the ECS server

1) installation package httpd

# yum  install  httpd

2) from the service httpd

# systemctl   start   httpd 【stop/restart/status】

3) the deployment of web resources (/ var / www / html /)

Use ready-made website - muban1 directory within the archive under testweb.zip

By WinSCP software upload web pages

 

Guess you like

Origin blog.csdn.net/qq_30787727/article/details/100056069