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
Centos compilation and installation of mysql, centos compilation of mysql
Groupadd mysql # Add a mysql GroupUseradd-g mysql-s/sbin/nologin mysql # create a user mysql and add it to the mysql group. mysql users are not allowed to log on to the system directly.Mkdir-p/data/mysql # create a directory for storing MySQL DatabasesChown-R mysql: mysql/data/mysql # Set permissionsTar-zxf mysql-5.6.30.tar.gzCd mysql
An error is reported when nginx is installed on Centos. If nginx is installed on Centos, an error is reported.
The following error occurs during compilation:
./Configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using -- without-http_rewrite_module
Option, or install the PCRE library into the system, or build the PCRE library
Statically from the s
Modify the Host Name of centos (Do not spray), and change the Host Name of centos1. Temporarily modify the Host NameShow Host Name:Spark @ master :~ $ HostnameMasterModify host name:Spark @ master :~ $ Sudo hostname hadoopSpark @ master :~ $ HostnameHadoopPS: the above changes are only temporary changes, and the changes are restored after the restart.2. Change the host name permanently.
Permanent modification on redhat/
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
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.