Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS 7 Configure logging (VirtualBox)     - C ++ precision performance test function (Programming)

- Simple RPM package production (Linux)

- Log in CentOS 6.5 Multi-user setting VNC (Server)

- using the ssh command to check the socket / Network Connections (Linux)

- Configuring s3c-linux-2.6.28.6-Real6410 appears Unable to find the QT3 installation (Linux)

- The Sublime Text 3 configuration file (Linux)

- Debian installation (Linux)

- Redis data types Introduction (Database)

- Httpclient4.4 of principle (Http execution context) (Programming)

- Ubuntu 15.04 install Complete Guide (Linux)

- Linux Getting Started tutorial: GNU C and Vim will fight the C / C ++ IDE semi-automatic (Linux)

- VMware virtual machine to install CentOS 6.2 (Linux)

- How to disable UEFI to install Linux on Win8 (Linux)

- Redis Design and Implementation study notes (Database)

- Java to create a table in the database SYBase (Database)

- FreeRadius installation process record (Linux)

- Installation and configuration to compile MySQL 5.6.10 under CentOS 5.9 (Database)

- Easily create RPM packages using the FPM (Linux)

- Java String and StringBuffer and StringBuilder Comments (Programming)

- GAMIT learning materials finishing (Linux)

 
         
  CentOS 7 Configure logging (VirtualBox)
     
  Add Date : 2018-11-21      
         
         
         
  Version is CentOS-Minimal

Install CentOS 1.VirtualBox under.

 New Virtual Machine

 Download CentOS, put the disk, start the virtual machine, follow the prompts to start the installation (recommended memory 1G, 10G hard disk above)

2. Set Network

First you set the Bridge mode on a virtual machine (also called bridge card), easy to test

In this mode, the virtual machine and the host (native) in a network, the same network segment, and true testing environment is basically the same .....

The need to see whether the support network environment does not support, you can only use the NAT mode, NAT mode, the default status of the machine can not access the virtual machine (virtual machine can access the same network as the machine and the machine), port mapping can be used to solve It is trouble spots

Open the card settings

# Virtual NIC name enp0s3
vi / etc / sysconfig / network-scripts / ifcfg-enp0s3
Configuration is as follows:

TYPE = Ethernet
BOOTPROTO = static
DEFROUTE = yes
IPV4_FAILURE_FATAL = no
IPV6INIT = yes
IPV6_AUTOCONF = yes
IPV6_DEFROUTE = yes
IPV6_FAILURE_FATAL = no
NAME = enp0s3
UUID = 757a3204-8973-435f-9138-70c569d159ab
DEVICE = enp0s3
ONBOOT = yes
PEERDNS = yes
PEERROUTES = yes
IPV6_PEERDNS = yes
IPV6_PEERROUTES = yes
IPV6_PRIVACY = no
IPADDR0 = 192.168.1.20
PREFIX0 = 24
GATEWAY0 = 192.168.1.10
DNS1 = 8.8.8.8
DNS2 = 8.8.4.4
Note ONBOOT = yes, if set to no, each time after starting (including restarting the network), we must start with the command ifup enp0s3 about NIC

Save and exit, then restart the network services

# Restart network module
service network restart
3. Install the necessary software

yum install gcc.x86_64 glibc.x86_64 glibc-devel.x86_64 vim-enhanced.x86_64
4. ssh login to solve the problem of slow

# Ssh open configuration,
vim / etc / ssh / sshd_config
The #UseDNS yes UseDNS no change

# Restart sshd service
systemctl restart sshd.service
     
         
         
         
  More:      
 
- Compare Dalvik virtual machine and the JVM (Linux)
- High-performance open-source http accelerator Varnish introduce (Server)
- Ubuntu download install and configure Plank Dock (Linux)
- Tomcat configuration memory and remote debug port (Server)
- How to Check notebook CPU temperature in Ubuntu (Linux)
- Into the Java keyword instanceof (Programming)
- GAMIT learning materials finishing (Linux)
- You really do need to know a variety of programming languages (Programming)
- Linux Security Setup Guide (Linux)
- Spark source code compiler package (Linux)
- Linux Desktop allows exceptionally different launch applications (Linux)
- Linux / Windows setup is complete port range (Linux)
- How to create a bootable USB disk to use MultiSystem on Ubuntu (Linux)
- shellinabox: one uses AJAX Web-based terminal emulator (Linux)
- Linux System Getting Started Learning: Repair (Linux)
- SSH security note (Linux)
- How MySQL tracking sql statement (Database)
- Use source packages compiled and installed GCC5.1 in Mac OS X 10.10.3 (Linux)
- Git Rebase Tutorial: Using Git Rebase turn back the clock (Linux)
- How wifi-linux AP signal strength detection (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.