CentOS does not enable sudo by default, and you can log on to the server directly as a super administrator. Ubuntu is doing a good job in this area, and it is recommended that sudo be enabled in order to be safe and reduce the damage caused by
Virtualenv can build a virtual, stand-alone Python environment that allows each project environment to be isolated from other projects, keeping the environment clean and resolving package conflict issues. Here we will discuss how to build the next
The solution is to install the Linux Integration Services Version v3.2 for Hyper-V tool (download address): After downloading it is an ISO document that hangs under the Linux virtual optical drive to execute the installation command:
1. Download
Before we deploy, we're talking about several ways to install MySQL:Compile and install: The advantage is can be customized, according to the company requirements of personalized settings; Cons: Compile complex, solve dependency problemsBinary
1. Installing the GCC compilerFirst, see if the GCC compiler is installedIn the shell console input gcc-v if not installed see nextInstalling GCC with YumaYum Intsall gccSee the following view to indicate that the installation was successful2.
1, although CentOS and Ubuntu are the kernel of Linux, but the use of commands still differ2, such as in CentOS with the new plug-in is: Yum-y (yum followed by a space)In Ubuntu with the new plugin is: Apt-get (note is connected)3. For example, use
Centos1. Perform hostname to view host name2, hostname + hostname makes the hostname need to be modified to take effect immediately, but the next reboot will be invalid, so we need to perform the third step3, Vim/etc/sysconfig/network (red flag is
CentOS Kernel UpgradeCentOS Upgrade 2.6 kernel to 3.10 in Yum's Elrepo source, there are 2 kernel versions of M ain L ine (3.13.1), L ONG-T erm (3.10.28), long-time for long-term support.See current kernel versionUname-rInstalling
Operating system-relatedImmediate shutdown: shutdown-h nowUser-relatedDelete User Userdel LiuyanfeiAdd User Useradd LiuyanfeiSet new user password passwd LiuyanfeiFile/folder Related
LS lists all files or folders under the current folder
1. JDK ConfigurationAfter the installation is complete, you need to configure the environment variables and edit the/etc/profile file:Vi/etc/profileAdd the following configuration to the tail of the file:Export
Just contact Python, see a lot of controversy python2,python3, I do not know which is good, because I read the book author suggested learning Python3, so I also no matter who good or bad, just follow the author began it. CentOS Pre-installed is
1, under the/usr/local/src/Get the python3.5 Packagewget HTTPS://WWW.PYTHON.ORG/FTP/PYTHON/3.5.1/PYTHON-3.5.1.TAR.XZ2. Tar.xz Decompression Method:Xz-d MPFR-3.1.2.TAR.XZGenerates a Mpfr-3.1.2.tar file and then executesTAR-XVF Mpfr-3.1.2.tarxz -d
Add win7 boot menu for CentOS 7Case backgroundThis case is to install the CentOS 7 Linux system on an idle partition, based on the Windows 7 system installed. When the Linux system is successfully installed, it does not retain the Windows 7 System
when you visit the site, you will always encounter some untrusted sites, such as 12306 sites. That's thinking about how to turn untrusted websites into trust. One, how to resolve the untrusted Web site that appears in Windows. ① Press F12 (the QQ
Centos#会列出所有正在使用的端口及关联的进程/-nap#portnumber to use a specific port number instead, you can directly list the port to listen to the process /--lnp| grep theWin7Lists all ports in the case. In the list we observe the occupied portsNetstat-anoView the
Solution: A centos disk cannot be attached larger than 2 TB
The disk partition format MBR limits the size of a single disk to 2 TB. If you want to mount a disk larger than 2 TB, You need to replace it with another format, such as GPT.
Because it
Solve the problem related to the lack of commands after CentOS 7 is successfully installed
CentOS 7 is installed today, but the command cannot be found when you want to view the IP address.
This is because the ifconfig command is not found in
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