CentOS 7.0 Common Scripts

1. Initialize the system#!/bin/bashmkdir/mnt/cdromecho "/dev/cdrom/mnt/cdrom iso9660 defaults 0 0" >>/ETC/FSTABM Ount-arm/etc/yum.repos.d/*echo ' [base]name=baseenabled=1baseurl=file:///mnt/cdromgpgcheck=0 ' >/etc/ Yum.repos.d/base.repoyum install-y

Installing hadoop2.2 in CentOS 6.5

1. Configure SSH password-free login between cluster machines (1)ssh-keygen-t dsa-p "-F ~/.SSH/ID_DSAAdd the Id_dsa.pub public key to the authorized key the function of this command is to add the public key to the public key file for authentication,

CentOS System Download and installation

Download:https://www.centos.org/download/Download Instructions: (version differences, download location, etc.)Http://jingyan.baidu.com/article/ea24bc399e6db8da62b3311e.htmlCentos-7.0-1406-x86_64-dvd.iso Standard installation version, general

Centos 6.7 Installation JDK

Summary: The JDK installed in general is OPENJDK, but OpenJDK is obviously missing part of the source code, so download the JDK installation, this article installs the JDK version is: jdk-7u79. 1. First download JDK version to Oracle

CentOS 7 Installation Mono and Jexus

Refer to the Zhang Shanyu-written CentOS Installation Mono Tutorial Guide and change some of these versions to the latest version. But there are several places to be aware of on CentOS 7.1.yum install two less packets, one is decompressed, the other

CentOS nginx1.8 Installation

1. Download the installation packagewget http://nginx.org/download/nginx-1.8.0.tar.gz2. UnzipTar zxvf nginx-1.8.0.tar.gz3. Preparing the installation EnvironmentYum-y install gcc gcc-c++ autoconf automake makeYum-y install zlib zlib-devel OpenSSL

Record the two-card bindings for CentOS once

Ready to do a KVM virtual session, the physical machine with dual NIC configuration, plan to bind the dual network adapter and then configure the bridge.1. Under/etc/sysconfig/network-scripts/, create the file ifcfg-bond0, config

CentOS changes yum source and update system

[1] First backup/etc/yum.repos.d/centos-base.repoMv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backup[2] Enter the folder where the Yum source configuration file is located[Email protected] yum.repos.d]# cd/etc/yum.repos.d/[3]

See the IP address under CentOS 7

In the newly installed CentOS7 and the previous version of the CentOS6, the initial state is no network configuration, you need to use the dhclient command to obtain an IP address automatically, to see the IP address obtained using the command IP

CentOS 7 Installation Nginx

1. Installation PreparationYum-y Install gcc-c++ pcre-devel zlib-devel unzip patchgroupadd-f wwwuseradd-d/var/cache/nginx-s/sbin/nologin-g www Nginxmkdir/var/log/nginx Mkdir/usr/local/nginx chown-r nginx.www/var/log/nginxchown-r

CentOS boot boot card in progress bar prompt NFS Quotas:cannot register SERVICE:RPC

CentOS6 boot card in the progress bar, press ESC to display the boot details, the following error:Starting NFS services: [OK]Starting NFS Quotas:cannot register service:RPC:Unable to receive; errno = Connection refusedRpc.rquotad:unable to register (

CentOS installs the lamp environment using Yum

1. Install apache,mysql,php with Yum.1.1 Installing ApacheYum Install httpd Httpd-develWhen the installation is complete, start Apache with/etc/init.d/httpd startSet to boot: Chkconfig httpd on1.2 Installing MySQLYum install MySQL mysql-server mysql-

Centos 7 Modify SSH port number

Watch out! The CentOS version here is 7 step1 modified/etc/ssh/sshd_configvi/etc/ssh/sshd_config#port 22//This line minus # Port 20000// Add this line below Step2 Modify SELinux Use the following command to view the current SELinux allowed SSH port:

CentOS Operating system Boot process

1, Hardware boot bootPower on, BIOS power-on self-test, find boot media, found in boot media mbr.mbr is the first sector of the first partition of the boot media (such as a hard disk), with a size of 512 bytes. The first 446 bytes are bootloader

CentOS run level and boot process

One, the Linux operating level1) 0: Shutdown2) 1: Single User3) 2: Multi-user status No NETWORK service4) 3: Network Service with multi-user status5) 4: The system is not used reserved to the user6) 5: Graphical interface7) 6: System restartNote:

Solutions for Wget:command not found under CentOS

When installing the new LNMP environment for the server today, wget-bash:wget command not found, it is obvious that the wget package is not installed. General Linux minimized installation, wget will not be installed by default, this is the CentOS 6.3

Centos 6.5 X64 Environment compiled Hadoop 2.6.0-verified

Centos 6.5 x64Hadoop 2.6.0JDK 1.7protobuf-2.5.0maven-3.0.5Set environmentExport java_home=/home/linux/jdkexport CLASSPATH=java_home/lib/tools.jarexport Protoc_home =/home/linux/protobufexport maven_home=/home/linux/mavenexport PATH= $PROTOC _home

Centos set time zone and time and add Chinese input method

Add Chinese Input Method:1. Log in as root, or Su root2.yum Install "@Chinese support"3.exit4. Back to the desktop, System->preferences->input Method>input method Preferences>input Method drop-down select pinyin Add into the list, the next time you

Analysis on the creation of CentOS file system

Centos File system creation, modification and detectionEveryone knows the Linux system is all files, then I will give you a detailed explanation of the file system knowledge(Note: The following operations are performed on the centos6.5 system)before

Configure multiple NICs and multiple IP addresses in CentOS in VMware

Configure multiple NICs and multiple IP addresses in CentOS in VMware1, configure the second Nic 1) CentOS6.5 network configuration (http://blog.csdn.net/clevercode/article/details/46376985 );How to configure eth0. This article explains how to

Total Pages: 394 1 .... 292 293 294 295 296 .... 394 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.