1. Use the SSH Remote Connection tool to log on to the system and view the disk status using the Fdisk-l command
Here you can see two hard drives hda and HDB, the first hard drive HDA is installed system. HDB hard drive is not partitioned
BackgroundUsing a USB flash drive to the Windows host, Linux host files or often, but sometimes the file name is in Chinese,To the Linux machine will be garbled, the choice is also very troublesome, recently just met, write down the
Installing the source code on the CentOS server python3.5Yun Zhengjie1. Introduction to the system environment2. Installing dependent Packages[Email protected] packages]# yum-y groupinstall "Development tools"[Email
1. Turn off the firewallService Iptables Stop2. Replace the source, install the Zabbix-agentRPM-IVH http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-release-3.2-1.el6.noarch.rpmYum Install-y zabbix-agent3. Modify the configuration
Backup on CentOS, often packaged with tar, backup to remote directory can use rsync or mount map remote directory, delete expired backup can use FIND,RM, automatic execution can use SH script and crontab mate.To remind you that all scripts are
Summary: This article describes how to install Nginx with Yum sourceThe first step is to create a source configuration file Nginx.repo in the/etc/yum.repos.d/directory:cd/etc/Yumrepos.d/vim Nginx.repoFill in the following content:[Nginx]name=nginx
Centos:yumurl:ftp://172.16.0.1/pub/Yum:yellow Dog, Yellowdog Update ModifierYum Repository:yum RepoStores a number of RPM packages, as well as the relevant metadata files for packages (placed in a specific directory: Repodata);File
These two days need to configure the FTP server, but the virtual machine in the NAT mode is not connected to the external network, the host can be connected with the virtual machine through the SSH, the virtual machine can also ping the same network
The following commands are available to view:# lsb_release-aLSB Version:: Core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarchDistributor Id:centosDescription:centos Release 5.4 (Final)release:5.4Codename:finalThis command applies to
1. PreparationSince dokcer requires 64bit OS, version number 3.10 or newer version. So, we need to identify our CentOS system first.$ uname -routput :: 3.10.0-229.el7.x86_642. Installing with Yum2.1 Update Yum to the latest version$ yum update2.2
1. Download tomcat8.5 and Unzip2. Copy the extracted files to the USR directory3. Execution:/usr/tomcat8.5/bin/startup.sh If the prompt permission is insufficient, execute:chmod +x/usr/tomcat8.5/bin/startup.sh4. Port settings:Firewall-cmd--permanent-
Jenkins installs the following steps:Command: Yum-y list java*Yum-y Install java-1.7.0-openjdk.x86_64 --------Build the JDK environmentJavawget Http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo-O/etc/yum.repos.d/
Solve the Error resolving sysca when running docker containers in centos 7
Docker is being studied recently! Running docker in centos7 of a virtual machine often includes:
[Jm @ localhost docker] $ docker run-it lin/centos6/bin/bash
2016/11/08 19:38
Solve the error of running Elasticsearch by root in centos.
Run Elasticsearch 6.5 on CentOS 2.3. The exception is as follows:
Exception in thread "main" java.lang.RuntimeException: don't run elasticsearch as root. at
Solution1. Open the Apache configuration file httpd. conf, for example,/etc/httpd/conf/httpd. conf by default.# Vi/etc/httpd/conf/httpd. conf2. Find the adddefacharcharset configuration item.Adddefacharcharset UTF-83. Modify the adddefacharcharset
Note:Operating system: CentOS 6.5 64-bitRequirements:Compile and install the LAMP runtime environmentThe software versions are as follows:MySQL: mysql-5.1.73Apache: httpd-2.2.31PHP: php-5.2.17Specific operations:Preparation1. Configure the firewall
Add a software source. PostgreSQL 9.4 is used as an example.Yum install http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-redhat94-9.4-1.noarch.rpmInstall databaseYum-y install postgresql-server limit sql94 postgresql94-develCreate a database
Example 1: website stress testing tool webbenchWget http://blog.s135.com/soft/linux/webbench/webbench-1.5.tar.gzTar zxvf webbench-1.5.tar.gzCd webbench-1.5Make & make installUsage:Webbench-c 500-t 300Parameter description:-c indicates the number of
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