Possible Errors and solutions during CentOS software installation: centos Solution
1. error: configure: error: Unable to find a working C ++ compiler
You need to install the g ++ Compiler:
Sudo yum install gcc-c ++2. error: configure: error: cannot link with-luuid, install uuid-dev.
Install the software packages uuid-devel and libuuid-devel:
Sudo yum install uuid-develsudo yum install libuuid-devel3.
Change pip version in centos and pip version in centos.
Now my python is changed from python2.7 to python3.4, But pip is still installed in 2.7. Now I need to change it:
Use yum to view available versions:
Yum search easy_install
The following two packages are found:
Python2-pip.noarch: A tool for installing and managing Python 2 packages
Python34-pip.noarch: A tool for installing and managing Python3
Install java jdk on CentOS and centosjavajdk on CentOS
In general, we need to uninstall the OPENJDK that comes with linux, and then install the sun jdk.
First, check whether the JDK that comes with Linux is installed.
Run the following command to view the installed JAVA version.Linux code
Java-version
Run the following command to view the JDK information.Linux code
Rpm-qa | grep java
As shown in.
U
Centos cleanup memory recovery and release and memory usage check commands, centos cleanup
Memory usage before cleaningFree-m
Run the following command to clear the memory:
Echo 1>/proc/sys/vm/drop_caches
Run the following command to check the memory usage after cleanup.Free-m
A lot more memory.
Run the following command to view the number of memory entries:
Dmidecode | grep-A16 "Memory Device $"
Co
How to install chrome on centos 7 and centos 7 chrome
Install
Download the file at http://www.google.cn/chrome/browser/desktop/index.html and select 64 bit. rpm (applicable to Fedora/openSUSE). Of course, if you are a 32-bit system, you can select 32 bit. rpm (applicable to Fedora/openSUSE). Select "accept and install" to go To the download page. After the download is complete, click "Install.
Solve th
Configure JDK in CentOS and JDK in CentOS
Download the jdk from the official website to the system and decompress it.
Tar-axvf jdk.tr.gz
1. PATH environment variable. The function is to specify the command search PATH. When you execute a command under shell, it searches for the PATH specified by the PATH variable to see if the corresponding command program can be found. We need to add the bin directory und
Centos 7 cannot access the Internet. centos Solution
First, right-click the desktop and click "open in terminal ".
Enter su, press enter, and enter your root password, as shown in. Note that the password area does not display anything when you enter the password, if you enter an error, you can press the backspace several times. After the result is successful, the symbol before the command is changed #.
Centos implements the recycle bin mechanism and centos recycle bin Mechanism
As an O M personnel, rm * is often directly used to delete files on the server for convenience *. txt and other Wildcards are even added-rf parameters to save trouble. If it is OK, it would be nice. If it is left blank when it is deleted, it would be too big.
As the saying goes, there are always wet shoes on the Riverside station,
Centos Chinese help documentation for configuration and centos Chinese help documentation
I am not confident that I can understand a word in English. What I wanted to do, because the document upset myself.
Generally, I like to configure a Chinese help document in the environment. According to the user's information, I sorted it out myself.
1. Download the Chinese package
wget http://pkgs.fedoraproject.or
CentOS user and user group management, centos User Group
Groupadd maid creates a group according to the system's default gid. The same as the root uid, gid also starts from 1000.
Groupadd-g 1008 create a user group with gid = 1008: maid
Groupdel maid Delete Group
Groupdel cannot delete the user master group of user1
Useradd [-u UID] [-g UID] [-d HOME] [-M] [-s]
-U indicates the custom UID
-G indicate
CentOS file attributes: Command ls, centos attribute command ls
Column 1: 11 digits
1) the first digit indicates the file type.
1) l indicates the link file
2) d indicates the Directory
3)-common files
4) Disk Partitions of Device B are of this type.
5) c serial port device file (character device file), such as keyboard, mouse, printer, tty terminal, etc.
6) s socket file for inter-process communi
Share common linux commands on centos 7 and centos 7
I. Preface
Linux is vast and sea-like, and the linux knowledge required for server deployment is not much. The following is a common command for deploying projects on centOS7 ECs for linux development, as a simple summary.
Ii. File Processing
1. Display
Ls (ls: list): Content in the current directory-file name
Cd folder (cd: change directory, the folder c
How does one install centos by using the regeneration dragon copy ?, Shenglong replication centos System
1. Set the IP address on your local machine to the same network segment as the IP address on the Huawei server.
Enter the IP address in the browser and enter the address on the server. The following figure is displayed after the address is accessed.
Enter the ip address written on the server and the pa
The use of Digitalocean for a long time, a few days ago in the compilation of PHP when the process was killed situation, after my spit and communicate with others found that the reason for the memory exhaustion. In fact, because the MySQL process at that time consumed a lot of memory, and then feel the need to manually add swap (swap partition), so as not to compile any later when the process is K.On Linux swap (swap partition), similar to the virtual memory of Windows, when there is not enough
1, first download Python 2.7.8 version of the TAR package. Why not choose the latest version of 3.4? Because the compatibility of version 3 is not good. A number of mature projects have been developed based on 2.7.https://www.python.org/download/After the download is found, it is uploaded to the server via the Linux RZ command, and you can also download it from the command wget.2. The default download address is the home address of the current user. NextTAR-XVF python-2.7.8. TarAfter decompressi
Tags: centos vnc tigervnc remote connection to Linux remotesThe Centos installation is complete, but the desktop is managed remotely via windows:Of course we can connect the command line through the SecureCRT tool, but I want to connect to their remote Desktop via windows:First of all, we guarantee that desktop environments such as Windows X are installed successfully:Yum groupinstall-y "desktop" "Desktop P
Many servers in the Organization are RedHatAS4 and AS5 machines. You often need to install and compile software packages. upgrading to the CentOS system is much more convenient! I checked the relevant materials online, but they were not satisfactory. I finally found out the following methods and shared them with you! Check the current system version # less/etc/redhat-release and check whether Redhat's yum series package exists in the installed package
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.