represents the permissions of the group in which the creator is located;The third group represents the rights of other people;Permissions can also be represented with a number. Rwx are represented by numbers as 4+2+1=7.The default permissions for newly created files are 644; The default permissions for newly created folders are 755.Command chmod: Modify permissions, three groups using the U, G, o means, assign permissions to use "+", remove the permission to use "-".chmod u+x F1//indicates that
After nearly two years of Hadoop learning and use, it is necessary to make a summary of the study of Hadoop, the best way is to summarize the way to blog, both to re-comb the previous study can also communicate with peers, starting today will be launched the Hadoop 0 basic series of articles,Of course, the summary process will refer to relevant information books,
httpd on
We open the browser and enter 192.168.1.30
This indicates that the HTTPD service is functioning properly.Seven: Installation
Createrepo
Yum Install Createrepo
Eight: Install Yum-utils
Yum Install Yum-utils
IX: Copy resource files
Copy the file to the/VAR/WWW/HTML/HDP directory via XFTP4, if there is no directory, create it.
CD/var/www/-al# Create HDP directory mkdir HDP
Start copy, the use of the latest HDP and Ambari, people are not excited.
Here is the
Linux permissions is really a lot of ah, under the test of Linux, suddenly a TMP disk storage is not enough ......However, I do not have the authority to add capacity to tmp ....Only the configuration file has been modified!!!!!!!!!!!===================================================================Edit the Conf/core-site.xml and add the following attributes:over!!!!!!!!!!!!!!!!!!!!!!!!
1.hadoopView the directory on HDFs: hadoop fs-ls/ Create a directory on HDFs: -mkdir/jiatest upload the file to HDFs Specify directory: -put test.txt /Jiatest upload jar package to Hadoop run: hadoop jar maven_test-1.0-snapshot.jar org.jiahong.test.WordCount/ jiatest/jiatest/Output View result: -cat/jiatest/output/part-r-000002.linuxU
First, download Eclipse and install two, download the Exlipse Hadoop plugin three, open the map reduce view
Window---perspective-perspective Open
Iv. Editing the Hadoop location
V. To see if the connection is successful
VI. Upload a file or folder test is successful
1, no permission permission denied
Key line of code: When executing Login
Install hbase in linux (hadoop is not required) and hbasehadoop
Hbase is a distributed, column-oriented (family) database. It is very common and involves a lot of information on the Internet. This article describes how to install hbase in linux. generally, hadoop must be installed before hbase is installed. however, f
In this paper, italic bold represents shell instructions, operating environment CentOS6.5Linux root password-free login link: "Hadoop series" Linux root user password-free login to remote host SSH.Linux non-root user password-free login: XXXXXXX (not yet written)Under Linux, log on to the remote computer using the SSH protocol. Let's start by knowing what SSH is.
UFW Default Deny
Copy CodeLinux restart:root user restart can use the following command, but ordinary users do not.
Init 6
Copy CodeOrdinary users use the following command
sudo reboot
Copy CodeFive Tests whether the host and the virtual machine are ping through1. Set up the IP, it is recommended that you use the Linux interface, which is more convenient to set up. However, it is best to set the interfaces u
First, the Linux basic Environment1. Linux common version and VMware virtual machine install Linux system2. Virtual Machine Network configuration (IP address, host name, firewall)3. File Basic command operation4. Four Remote connection tools useIi. Linux Basic commands1. User and group creation, deletion, change, and a
1. Download The clipse-jee-juno-SR2-linux-gtk.tar.gz installation to your computer.
2. Download The eclipsehadoop plug-in. I use hadoop1.0.4. Here is a better version.
:Hadoop-eclipse-plugin-1.0.4.jar
Put the downloaded JAR file in the eclipse/plugins/folder and restart eclipse.
3. projectexplorer on the leftThe header will contain a dfslocations flag, in Windows->Preferences contains an additional hado
~/.ssh/id_rsa.pub [email protected]:~/.ssh(User a host operation)⑵ Append to File: Cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys (remote Server B host operation)⑶ Modify the contents of the/etc/ssh/sshd_config:Vi/etc/ssh/sshd_config(#RSAAuthentication Yes#PubkeyAuthentication Yes#AuthorizedKeysFile. Ssh/authorized_keysFind the above 3 statements and take the previous # number off)Note: Some articles say to/root/.ssh this folder and/root/.ssh/authorized_keys this file, you have to modify the p
Install the JDK on CentOS.1, to the official website to download the installation package. I'm a jdk-7u79-linux-x64.rpm here.2. Build Usr/java directory in CentOS. You only need to mkdir Java under USR.3, upload rpm package. RZ jdk-7u79-linux-x64.rpm. If you cannot perform the RZ command, yum install lrzsz-y.4, installation #rpm-IVH jdk-7u79-linux-x64.rpm.5, conf
Modify permissions for a file or directory
Chown
chown [ options ] User [ . Group ] file/dir
Modify the owner of a file
Chgrp
Chgrp [-R] Group name Dir/file
Modify the owning group of a file
Iv. Systems and Networks
Option name
Meaning
passwd xxx
Change Password
Df-ah
View disk space
Ps-ef |grep
View process
Kill-9
Kill the process
1. How does the VI command overwrite the contents of the file and copy the past from Notepad? which commandsThe command line mode GG + DG Delete the original content, and then go into the edit default paste into the new content2.tar Compression and decompression parametersTAR-CVF compressionTAR-XZVF Decompression3. If VI is in the command line mode, paste a paragraph, did you find that the first row has been lost? So what mode should we let the command-line mode enter before pasting?Pre-paste in
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.