One : Cluster finished

Two : Temporary network configuration (ip, gateway ,dns)+ Permanent configuration

Temporary network configuration :

ip:    [root@localhost ~]# ifconfig

[root@localhost ~]# ifconfig eno16777736

gateway :[root@localhost ~]# route add default gw netmask

[root@localhost ~]# route -n

Dns:[root@localhost ~]# vim /etc/resolv.conf

Permanent configuration :

[root@localhost ~]# cd /etc/sysconfig/network-scripts/

[root@localhost network-scripts]# vim ifcfg-eno16777736

[root@localhost network-scripts]# systemctl restart network

3、 ... and : Set the host name of the machine in the cluster , utilize /etc/hosts File to resolve all the host names in your cluster , Corresponding , The configuration of the cluster should be changed to use the host name

Four :ssh Sign in ,scp Upload 、 download ,ssh Key login , modify ssh server The port of the end is 8888 Then log in and scp test

5、 ... and : Arrangement bash Command type , Verify the priority of finding a command

==> alias

==> Compound Commands

==> function 

==> build_in

==> hash

==> $PATH

Functions and built-in priorities
[root@localhost ~]# function cd () { echo 123; }

~]# cd


~]# unset cd

6、 ... and : The experiment

Home directory : Switch to home directory cd~

~ Override command

~]# echo hello world > a.txt

~ Additional orders

~]# echo hello world >> b.txt

Network configuration and shell More articles on the basics

  1. 05、ip Divide + The network configuration + The foundation of virtualization + Basic routing

    -- IP   IANA (Internet Assigned Numbers Authority) ,Internet The number distribution agency . Responsible for IP The earth Address allocation planning and the management of TCP/UDP Port definition of public service . The international ...

  2. The first 2 course : Operating system network configuration 【DevOps Basic training 】

    The first 2 course : Operating system network configuration --DevOps Basic training 1. DNS To configure 1.1 What is? DNS? The domain name system ( english :Domain Name System, abbreviation :DNS) Is a service of the Internet . It is used to IP ...

  3. linux Learning notes 3:linux Network configuration ,rpm package ,shell as well as samba The use and installation of the server

    1.linux Under the shell<linux command . Editor and shell Programming > (1)shell There are many kinds , There are three kinds of commonly used , stay linux Can pass ls -l /bin/*sh To display all installed she ...

  4. Linux The foundation - The network configuration , Host name settings ,ssh land ,scp transmission

    One . Network configuration modification 1. Temporary modification (ip,dns,netmask,gateway) Modify the network configuration temporarily , As long as it doesn't involve modifying the configuration file , stay network After the service is restarted , All settings are invalid 2. Permanent modification (ip,dns, ...

  5. ( turn )Linux System basic network configuration old bird essence

    Linux System basic network configuration old bird essence original text : about linux A seemingly simple network configuration problem for experts , Maybe it's not easy to say why , So there's still too much ...

  6. 11 TCP/IP Foundation and Linux Network configuration

    1. TCP/IP And OSI Reference model TCP/IP yes Unix/Linux The Internet foundation of the world , In a sense Unix The Internet is TCP/IP, and TCP/IP It's the standard of Internet connection . It is not a separate agreement , It's a set of protocols . Its ...

  7. linux System basic network configuration

    1. Modify hostname Temporary method : Quit current shell Login again to take effect . This law can only be amended temporarily . Failure after restarting the system . Tips : Many people use hostname Host name to modify , In fact, this is just for the time being . After restart, it will be restored to the original host ...

  8. The network configuration ——Linux Operation and maintenance Foundation

    Today Linux The network configuration of , It's not difficult, but it's an important foundation . Then I don't know whether I will do operation and maintenance in the future , But I know I like to get to the bottom of things . Also, I cherish these operation and maintenance skills that I have mastered before . Today, I suddenly asked myself ...

  9. Linux System basic network configuration old bird essence

    about linux A seemingly simple network configuration problem for experts , Maybe it's not easy to say why , So it's not surprising that there are still too many beginners hanging around the door , here , The old boy teacher took some time to summarize this document summary , It's not perfect , Welcome to add , communication . thank ...

Random recommendation

  1. 【python】 object-oriented

    object-oriented programming --Object Oriented Programming, abbreviation OOP, It's a kind of programming idea .OOP Take the object as the basic unit of the program , An object contains data and functions that manipulate data . class class   example (i ...

  2. Spring mvc Use in ftl Error referencing common file FreeMarker template error: Error reading included file &quot;/WEB-INF/ftl/common/errormessage.ftl&quot;

    For the first time contact spring mvc, Want to do a small exercise project , It turns out that ftl Other common references in the document ftl An error occurred while loading the file .

  3. Use liunx Experience of deployment

    install SSH. Input IP, enter one user name , Click to connect , Enter the password again . If you use tomcat Containers , be : First step : See what's running tomcat ps aux|grep tomcat If the output message is long, it means that it has been started , ...

  4. JMeter Result analysis

  5. Linux install rar Unzip tool

    download RAR Installation package : My is CentOS 64 position : wget ...

  6. Python:urllib and urllib2 The difference between ( turn )

    Link to the original text : As a Python rookie , I didn't know before urllib and urllib2, think 2 yes 1 Upgraded version . Today I saw an article written by a foreigner <Python: ...

  7. C++ Exception handling of some attention points

    Several articles :(1) (2) ...

  8. How to get keyhash

    keyhash By keystore Produced Three orders solve the problem keytool -exportcert -alias androiddebugkey -keystore debug.keystore &g ...

  9. vue+vuecli+webapck2 Realize multi page application

    preparation For local use vue-cli Create a new project , First installation vue-cil, command : npm install -g vue-cli Create a new one vue project , Create one based on "webpack" Project ...

  10. zzw original _ipv6 The firewall and FTP Deal with an example

    reason : During this period of time, the company will IPV4 The address switches to IPV6, In the process of environment configuration , Hit a hole , What I don't pay much attention to at ordinary times , stay IPV6 But it's magnified Achieve the goal : stay IPV6 Next , machine A Sure FTP To the machine B, It can transmit . Download the file A machine ...