I recently had to use the C + + version of the Open Source library for stuttering, because it recommended using the gcc4.6 version, so I had to upgrade my gcc.
Luckily I was upgrading on the CentOS, and CentOS on it, and the easiest way was to
Service Build
CentOS with SSH service, direct configuration can SFTP configuration 1. Create a user group SFTP
Groupadd SFTP
2. Create User
Useradd-g sftp-s/sbin/nologin-d/home/sftp/ftpuser1 ftpuser1
-G Join to SFTP Group-S Prohibit login-d The
DescriptionEnvironment: VMware WorkstationSystem: centos6.2The following actions are performed under root
1.U Disk Mount
MKDIR/MNT/USB//Create a directory for mounting USB driveFdisk-l//View the System Mount U disk, if the system has a hard disk SDB1
#cat ifcfg-eth0
device=eth0
...
Reason: There is a multi-node server migration room, afraid of broken, the first hard drive down, the results put back when the wrong order, causing the bootNic is not right, the original eth01 into eth23, know how
TAR-ZXVF linux_amd64.tar.gz
In the previous articles have built mysql,jdk,git and Tomcat and other environments, this time need to build a gogs this self-service git service.
First, about Gogs
In order to synchronize the code we generally need to
Workaround:
A. Removing the execution rights of malicious files
chmod 000/tmp/gates.lod/tmp/moni.lod service sendmail stop chkconfig--level 345 sendmail off Chmod-x/USR/SB In/sendmail chmod-r 000/root/*rar* chattr-i/root/conf.n chmod-r
Today when you are in a fully distributed cluster of Hadoop, when you start CentOS, you always stop at starting sendmail for a long time, and the next starting sm-client is unusually slow. Later, we found that the original is related to the change
In the CentOS system, software Installation procedures are quite complex, but the most common are two types:
1 One is the source code of the software, you need to manually compile it. This software installation package is typically a tar package
First refer to: "hadoop-2.3.0-cdh5.1.0 pseudo-distributed installation (based on CentOS)"
http://blog.csdn.net/jameshadoop/article/details/39055493
Note: This example uses the root user to build
First, the environment
Operating system: CentOS 6.5 6
Since ATS 5.3 is the latest version of LTS that the community has just launched, it has changed considerably over the previous version, so I decided to abandon my previous experience and explore the version from scratch. Here is a transcript of my
CentOS7 default database is mariadb, but a lot of the use of MySQL, but the CentOS7 yum source default seems to be no MySQL.The previous installation was 5.6 but I would like to install 5.7 Yum install is the simplest to try to compile and install
System environment: CentOS Linux 7 x64Current User: Normal userInstalling the Tomcat version: apache-tomcat-9.0.8.tar.gz: https://tomcat.apache.org/download-90.cgi1. Drag the Tomcat 9 that you downloaded from the physical machine to the virtual
Installing CentOS in Windows Vmware-workstation can be divided into two parts, installing virtual machines and installing CentOS virtual machines. The steps are as follows:First, install the virtual machine 1, installation vmware-workstation,
Use mail to send emails in centos7 Modify the configuration file and configure mail-related content (append to the end of the configuration file)[[Email protected] ~] # Vi/etc/mail. RCSet [email protected]Set SMTP = smtp.qq.comSet [email
Prerequisites:
I cover all these operations on centos 6.4 and with root, So if you encounter some privilege problem, try sudo.
And, if using Ubuntu, you needn't worry about SELinux.1. Install essentical Library
Yum update
Yum install GCC g ++ make
Reference http://hadoop.apache.org/docs/r0.19.2/cn/index.html for the entire configuration process
The Linux system is centos6.2.
1. Install JDK. Download the latest jdk rpm package from Oracle and double-click it. The system is installed in the/usr/
1. Download jdk1.6linux from the official Oracle website.
Is:
Http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-i586.bin
2. The downloaded file is a jdk-6u32-linux-i586.bin file, which can be directly executed with the suffix
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