Reprint please indicate the source: http://blog.csdn.net/l1028386804/article/details/51537000
These configurations are based on VMware network Adapter VMnet8, assuming that my VMware network Adapter VMnet8 IP address is 192.168.106.1
The following figure:
My Ifcfg-eth0 file is configured as follows:
Device=eth0
type=ethernet
uuid=f9f0898c-bf2c-4183-857a-eab291cd904d
onboot=yes
NM_CONTROLLED= Yes
bootproto=static
ipaddr=192.168.106.130
netmask=255.255.255.0
broadcast=192.168.106.255
gatew
Download the response version of the YUM source on the MySQL official network: http://dev.mysql.com/downloads/repo/yum/# download Source $wgethttp//dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm# Installation Source $ rpm-IVH mysql57-community-release-el7-9. noarch.rpm# installed MySQL, will auto-install dependent software $Yum Install-Y mysql-server# Modifying MySQL configuration file $VI/etc/my.cnf# Modifying or shutting down the MySQL password policy (optional line): Validate_pa
What should I do if the system crashes and no optical drive is available. The simplest way to think of it is to re-install the CentOS Mount disc mount-oloopcentos.iso/mnt/copy the boot file cp/mnt/isolinux/boot/-a in cenots with the iso disc file to add grub. conf content: titlecentos_setupr
What should I do if the system crashes and no optical drive is available. The simplest method is to re-install CentOS
Centos large file cutting and merging, centos cutting and merging
Many companies now place projects on ECS. When I want to put down the code and generated file "sz file name" in the ECS, I find it too large. ECS does not support downloading large files. In this case, you need to use the split command to cut the file, then go down, merge it locally or upload it to the desired server, and then merge it.
The
From CentOSRHEL7, the foreseeable naming rules have changed to default. In this rule, the interface name is automatically determined based on the firmware, topology, and location information. Now, even if you add or remove a network device, the interface name remains fixed without reenumeration, and can be replaced seamlessly with the broken hardware.
Change the NIC name to eth0. The CentOS operating system is used as an example.
1. Modify the grub S
Delete a file or folder with a suffix named. lck under the virtual machine system directoryThis lck file is a disk lock file for a virtual machine, and we know that the virtual machine's disk is co-existing with the host's disk, only because of the specific virtual mechanism that makes the two separate. When using a virtual machine, VMware generates several disk lock files to protect the disks that are currently occupied by the virtual machines from being modified by the host or other virtual ma
Press the "E" key on the keyboard when booting up to enter the following interface.
Select the appropriate kernel, press "E" again, select the second item, press the "E" key again
After the second step, this screen can be edited, at the end of the message with a "space", and then type "single" (), or directly enter the number of "1" and entered to determine the next step. The figure is as follows:
After the third step, will appear, is not feeling back to the second step ? No, here's the "B
Install the Chinese Language pack:Yum Groupinstall Chinese-supportModify the character encoding configuration and create it without this file:vim/etc/sysconfig/i18nThe following changes are included:Lang= "ZH_CN. Gb18030″Supported= "ZH_CN. Utf-8:zh_cn:zh:en_us. Utf-8:en_us:en "Sysfont= "Latarcyrheb-sun16″The i18n file is used to set the system language, such as: ZH_CN. UTF-8, ZH_CN. GB18030, ZH_TW. Big5, en_US. UTF-8 and so on.Three environment variables in i18n:Lang variable, set the system lan
/gitosis-admin.git or # git clone SSH: // [email protected]: 8200/gitosis-admin.git # modify the configuration file, you can omit each input port Vim ~ /. Ssh/config # modify the client ~ /. In the ssh/config file, add the following code: Host www. domain. comhostname www. domain. comport 8200 # after modification, the client can be connected in the following way # git clone SSH: // [email protected]/gitosis-admin.git # upload the public key to the server (modify the port, and specify the port i
To develop j2ee on Linux, you must first build a j2ee development environment, including jdk, tomcat, and eclipse installation (this article has explained in detail CentOS (7) of Linux learning-building a j2ee environment under CentOS ), if you want to develop a web project, you can install a myeclipse program on the Linux system. The installation method is the same as that for installing eclipse, with jdk,
Install and configure the Mysql database under centos, import the database, authorize a remote ip address, and centos Mysql
Uninstall the original mysql
Because mysql databases are too popular on Linux, the mainstream Linux system versions currently downloaded are basically integrated with mysql databases, run the following command to check whether the mysql database has been installed on the operating syst
OS + CentOS 7/centos 7/VirtualBox/VirtualBox-5.1-5.1.28_117968_el7-1.x86_64.rpm, centosvirtualbox
S
VirtualBox: resolves the problem of libSDL-1.2.so.0 () Errors During VirtualBox installation.
Http://www.sklinux.com/983
When you install VirtualBox for Centos6.2, you encounter the following error:Error: Failed dependencies:LibSDL-1.2.so.0 () (64bit) is needed by VirtualBox-4.2-4.2.4_81684_el6-1.x86_64The or
Centos compression and packaging, Centos compression and packaging
This is basic knowledge, but some things are like this. If it is useless for a long time, it will be forgotten. In the past, there was a bad habit of not taking notes, after learning something, you must record it in your blog so that you can check it from time to time.
In the computer world, the expression of data is only 0 or 1, and the com
In linux/centos shell scripts, the password is not interactively modified. In centos, the password is not modified.Today, when I wrote a shell script, I found that the user's password needs to be set and the password is set to interactive. This is obviously not good in the script, So I went online to search for information, two non-interactive password setting methods are found:1. Use chpasswdIn fact, chpas
Detailed steps for installing oracle xe in centos, centos
1. Download the installation package
Go to the official website and find the corresponding version.
2. Upload to ECs
Here, I use WinSCP. the upload speed is based on the network speed. You can also directly use wget to download the file. However, if you log on to the oracle official website, You need to log on to your account and password. If you us
Install JDK online for CentOS and jdk online for centos
1. Install jdk online using the yum command
1. view the jdk version currently supported on the cloud
[root@localhost ~]# yum search java|grep jdkldapjdk-javadoc.noarch : Javadoc for ldapjdkjava-1.6.0-openjdk.x86_64 : OpenJDK Runtime Environmentjava-1.6.0-openjdk-demo.x86_64 : OpenJDK Demosjava-1.6.0-openjdk-devel.x86_64 : OpenJDK Development Environmen
Create a user in centos 7 and a user in centos 7
Create a new user
Create a user named xiaoming:
[Root @ 192 ~] # Adduser xiaoming
When initializing a password for this user, linux determines the password complexity, but you can forcibly ignore it:
[Root @ 192 ~] # Passwd xiaomingChange the password of xiaoming.New password:Invalid password: the password must be less than 8 characters longRe-enter the new p
CentOS 7 hides the taskbar and top bar, And the centos taskbar
I am using Gnome. For me who are familiar with windows, this interface is indeed a bit ugly, but it will also be used. Recently I found a software (Cairo-Dock) the desktop can be beautified, so it is installed, but a problem is found after installation:The original taskbar blocks the interface of the software.To hide the taskbar.1. Hide the task
Method In CentOS 6.5, CentOS
1. Use command mode
Capture the entire screen: $ gnome-screenshot
After capturing the screen, we can set a custom image storage location,
Capture the current Terminal: $ gnome-screenshot-w
Capture custom regions: $ gnome-screenshot-
The-B parameter can be used to remove the terminal window name status bar: $ gnome-screenshot-w-B
Delay Time with the-d parameter (only used wh
Centos Virtual Machine bridging configuration, centos Virtual Machine Bridge
Step 2
After the Virtual Machine fedora is installed, open the menu bar of the vmvirtual machine, click Edit ------ Virtual Network Editor, select the "host Virtual Network ing" tab, then manually select VMnet0 as your local physical NIC (select the NIC you are using, for example, your computer has a wireless Nic and a wired Nic; y
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.