The previous essay, "Docker CentOS installation OpenSSH", writes about how to build an SSH service in a basic CentOS image, and then build other services on that basis. This article continues to introduce the MySQL service based on Centos_ssh.1.
1. Uninstall system comes with JDKEnter in the terminalYum-y remove Java java-1.4. 2-gcj-compat 2. Install new version of JDK2.1 Environment variable ConfigurationVi/etc/profileInExport PATH USER LOGNAME MAIL HOSTNAME histsize INPUTRCAdd
Organize some common commands (keep updating):To see if the port is open:Netstat-an | grep Prot (see if Port 23 is open)|: Channel meaning, grep refers to the line where the current character is viewedLinux uses the following command to open a
---Referer= reference address - file name "real"For example, I downloaded the resources originally on the page for Http://pan.baidu.com/s/1cfJXZ, actually: http://qd.baidupcs.com/file/0208e4842495c30cf891daa1b6338313? Xcode=9999267f350e17b6d0fdac3
First, debian7.81. On the Grub Boot loader menu, select the entry you want to enter, type "E" to enter edit mode 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M02/6F/2D/ Wkiol1wt84cjiyv3aaez10krv98882.jpg "title=" 111.png "alt="
When we used CentOS, we found that the BIOS system time is wrong, then how do we change this time?Here's how:[[email protected] ~]# Hwclock--show//show current BIOS timeJune 28, 2015 Sunday 12:55 28 sec -0.826052 seconds[[Email protected] ~]#
First, installation CentOS 6.5To successfully boot the system with the CD, the following interface will appear650) this.width=650; "src=" http://blog.itpub.net/attachment/201409/19/29819001_1411112632aJMt.jpg "width=" 637 " height= "462" style=
User operation at present is not a lot of use, in order to facilitate the later to read or tidy it up.
Useradd User Add Command:Format: useradd [options] USERNAME. Some of the most common options are:
1)-R Create system user for
1) to ATI's official website (http://support.amd.com/us/gpudownload/Pages/index.aspx) Download the corresponding driver, be sure to pay attention to the difference between Radeon series and Mobility Radeon series. The notebook is of course mobility
One configuration SNMP1. Installing NET-SNMPsudo yum-y install Net-snmp2. Back up the snmpd.conf filesudo cp/etc/snmp/snmpd.conf/etc/snmp/snmpd.conf201506253. Clear and re-edit snmpd.confRocommunity Public 127.0.0.1rocommunity publicly
Phenomenon: 1. Ping the domain name, such as Www.qq.com2. Can ping the IP, such as 61.135.157.156Analysis: 1. View DNS configuration file/etc/resolve.conf, the server address is wrong.2. Modify the DNS configuration file, restart the Network service,
System Command Yum command
Yum Makecache Yum Generate cacheYum List installed mysql* see if there are any installed * packagesRpm-qa | grep mysql* See if mysql* package is installedYum List mysql* See if there are any installation
Recently in learning Linux system, many online posts are used in Apt-get download RPM package, so on Google found a centos under the installation of Apt-get method1,:http://pkgs.repoforge.org/rpmforge-release/2, according to their own system to
Solve the Problem of garbled characters when xshell is used to connect to Linux in CentOS.
Garbled characters occur when Linux is connected using xshell:
Solution:
Check whether the character types supported by Linux are as follows:
If yes,
Install and configure the Samba server in CentOS 7, centossambaSuppose we have such a scenarioShare Name path permission everyone DOC/smb/docs all personnel including guests can access RDDOCS/smb/tech only allow users in specific groups to read and
Solve the problem that the NIC cannot be started after VMware clones CentOS.
(1) Ensure that udev-post is started
# Chkconfig -- list udev-post
Udev-post 0: Disable 1: Enable 2: Enable 3: Enable 4: Enable 5: Enable 6: Disable
#/Etc/init. d/udev-post
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