1. List the cores that are being used in the system:
Uname-a
Linux localhost.localdomain 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu June 17:05:11 UTC 2016 x86_64 x86_64 x86_ Gnu/linux
2. Query the entire kernel of the system:
Rpm-qa | grep kernel
Virtual machine Installation CentOS 5.6
1. Create a new virtual machine
2. Set up a later installation CD
3. Select the installed operating system
4. Set the processor, the default one, you can choose according to your own configuration
5. Set
CentOS two ways to add programs to a service and set the service to start automatically:
The first method: use Chkconfig to configure the boot level
Under CentOS or redhat other systems, if the services are installed behind them, such as httpd,
Question: Want to use the Terminal in the desktop environment of CentOS 6.4, but do not want to use mouse click to choose every time, want to define shortcut key.
Search the Internet and learn the following
First, the viewing system has been installed to the software:
1, yum list installed (+ software name)
2, RPM-QA (can cooperate with grep to see if a software is installed)
2 is much faster because it is based on a local database.Yum also has the
first, look at the running level of the system and whether the desktop environment is installed
1. Use the command runlevel to view the current run level, as shown in the figure
2, use the command Yum grouplist | more to see if you have installed
What is a Epel source:
Epel is a yum software source that contains software that is not in many basic sources, and Epel is extended to Yum software sources when installed. Experimental Environment:
CentOS 6.5 Installation steps: Step 1: Install
Reprint please indicate the source: http://blog.csdn.net/l1028386804/article/details/79399463
Assuming that the source host requires a target node with host name Node1, Node2, and node3 to access without password under User name test, you need to
1. First introduce Apache installation and uninstallation
installation, via Yum online
sudo yum install httpd-y
Set boot up
Chkconfig httpd on
Launch Apache Service
Service httpd Start
The default installation path
Configuring the system and installing the required packages
Turn off SELinux
Temporary shutdown (no restart)[[Email protected] ~] #Modify configuration file (requires restart): Change selinux=enforcing to Selinux=disabled[[Email
1. Install Libevent first. You need to specify an installation path during configuration, that is./configure–prefix=/usr; then make; then make install;2. To install the memcached, you need to specify the installation path of libevent when
Unzip the downloaded Linux-kernelTar xvf linux-3.10.69.tar.gzEnter the extracted directoryCD linux-3.10.69/Compile the kernel before cleaning upMake MrproperConfigure new features based on requirements using current kernel configurationMake
First of all, the default JDK means that after we install the CentOS system comes with the JDK, download and install the JDK itself only need to download, unzip, then the steps are consistent with this article1. View the location of our default
First of all, the default JDK means that after we install the CentOS system comes with the JDK, download and install the JDK itself only need to download, unzip, then the steps are consistent with this article1. View the location of our default
1> installation python3.6 may use the dependencyYum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel2> to the Python website to find the download path, download with wgetwget https://www.python.org/ftp/python/3.6.4
Jar Background Runnohup java -jar xx.jar >/dev/null &
1
The ">/dev/null" function here is to output the terminal output information to the hole, that is, not to save the output information, to see the output information to
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