The CentOS yum source does not have git. You can only compile and install it by yourself. Now you can record the compilation and installation content and leave it to your own memo.
Make sure that the dependent package is installed.
Yum install
1. Download the maven packageFirst download the latest version of maven.apache.org/from the official website http://maven.apache.org.
The downloaded package is apache-maven-3.2.1-bin.tar.gz.
2. decompress the maven package
Run
The top command is a common performance analysis tool in Linux. It can display the resource usage of various processes in the system in real time, similar to the Windows Task Manager. The following describes how to use it.Reference $ top
Top-01:06:48
Vim/etc/sysctl. conf
1. net. ipv4.tcp _ max_syn_backlog = 65536
The maximum number of connection requests that have not received confirmation from the client. For systems with over 1024 MB of memory, the default value is 128. For systems with less
Sohu open source image http://mirrors.sohu.com/feel pretty fast good !! Follow these steps:1. Back up and clear/etc/yum. repos. d/CentOS-Base.repoEcho "">/etc/yum. repos. d/CentOS-Base.repo or (if used for the first time)Mv/etc/yum. repos.
Apache:If the RPM package is used for installation, the installation path should be in the/etc/httpd directory.Apache configuration file:/etc/httpd/conf/httpd. confApache module path:/usr/sbin/apachectlWeb directory:/var/www/htmlIf source code is
1. uptime command
Uptime
Output: 16: 11: 40 up 59 days, 2 users, load average: 0.00, 0.01, 0.00
As shown in:
2. View/proc/uptime file calculation system startup time
Cat/proc/uptime
Output: 5113396.94 575949.85 the first digit is the
Sometimes we need to create a user-defined account. Generally, the newly created account can log on to the server using the ssh tool. To improve security, we must disable the SSH Login permission for this account.
1. Create an account and
The default SSH port number of each CentOS release is 22 by default. If it is used for other purposes, you need to modify the default SSH port number to improve security.Password. Some VPS providers may be fined or temporarily terminate services if
1) One is the source code of the Software. You need to compile it by yourself. This software installation package is typically a gzipcompressed tarpackage (suffixed with .tar.gz ).2) The other is the executable program of the software. You only need
Anyone who has played Linux should know that if you want to run a program in the background, you only need to add an & symbol at the end of the command. However, this method is not very safe. Some programs will stop when you log out of the terminal.
It is essential to use the command line in linux. Mastering the shortcut keys can help you get twice the result with half the effort. The most commonly used key should belong to the Tab key, and the function is automatically completed. It is mainly
When you use SSH Secure Shell to connect to centos, if you do not perform any operation in a few minutes, the connection will be disconnected. You must log on again. It is annoying to repeat the same operation every time. This annoying problem can
We often access a website. What if we set the mgcrazy.com domain name to automatically jump to www.mgcrazy.com when users access it? I have found a lot of information on the Internet, but none of them can solve the problem! Here are my solutions!
With your experience in Dos and Windows, you probably know that there are several types of files in the system, such as system files, read-only files, and hidden files. In Linux, you can use the ls-l command to determine the file type, which can be
We plan to record the process of configuring a series of servers under Centos. Here, we start from CentOS 6.3 configuring the local yum source. As we have introduced a lot of blog posts about local YUM sources before, we may just give a brief
A major advantage of Linux is that you can implement the same thing in hundreds of ways. For example, you can generate a random password in dozens of ways. This article describes ten methods to generate a random password.These methods are collected
When I reinstalled an old server yesterday, I found that the Intel hardware RAID Controller has a problem and cannot identify all hard disks. However, during operating system installation, I can identify all hard disks. Another problem is that the
For example, how many software packages are installed in a CentOS-6.5-x86_64 with minimal installation?1. How many software packages have been installed? [Plain] view plaincopy
[Root @ localhost ~] # Rpm-qa | wc-l
217
2. How do I know which
To improve the transmission efficiency of TCP, we recommend that you customize the CentOS kernel to improve the transmission efficiency. The following describes how to obtain the source code and compile the kernel.
1. Run the [root] user to install
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