Big Data configuration file tips for building individual sub-projects (for CentOS and Ubuntu Systems) (recommended by bloggers)

Source: Internet
Author: User
Tags ftp file

Not much to say, directly on the dry goods!

Many peers, perhaps know, for our big data building, the current mainstream, divided into Apache and Cloudera and Ambari.

The latter two I do not say much, is necessary for the company and most of the university scientific research environment must!

See my blog below for details.

Cloudera installation and deployment of large data cluster (the text is highly recommended) Ambari installation and deployment of large data cluster (five major steps in detail) (Bloggers strongly recommended)

Here, for beginners. This is typically practiced hand and getting started with Apahce and CDH, two versions of Hadoop, Spark.

Xmanager Enterprise * Installation steps notepad++ software download and installation steps

I am here, for the time being, to take you to know and use Xshell, the other few, follow me post blog.

The first method: direct vim into, go to modify (one hand knocking)

The second method: The notepad++ is typeset well, then, copy to

The third type: First download to the local by the SZ command, and then write, upload

The Fourth kind: My favorite, is also the most recommended to learn the (Bo Master recommended!) )

We know that WinSCP can be used to view and modify files on a virtual machine, and to send and receive files between hosts and virtual machine files, but WinSCP is not a tool for file editing. We can use Xshell to replace its file transfer functionality, and can use the notepad++ nppftp plugin to enable professional editing of files on a virtual machine.

1. notepad++ "Plugin" menu, hover over "nppftp" item, select "Shownppftp window" in the subordinate menu.

2, a window appears on the right side of notepad++, this window toolbar buttons are gray, click the ">>" button on the toolbar, the mouse hover in the pop-up menu "Settings" menu item

3. Select "Profile Setting" in the pop-up menu, and the "Profile Setting" dialog box appears.

4. Click "Add New" in the bottom left corner of the dialog box.

5. Enter the name of this FTP profile in the pop-up dialog and click OK to set the name of the new configuration file.

6, then on the left click on the configuration file just created, and then the right box is grayed into a writable state, in "hostname" to fill in the FTP host (IP address or domain name), "Username" and "Password" to fill in the FTP user name and password, Then directly click "Close" at the bottom of the dialog to complete the configuration

7, at this time back to the main page of notepad++, see right nppftp toolbar The first button has become blue, click to select the FTP configuration file just edited, began to connect to the FTP server.

8, browse FTP server file operation and general FTP file no difference, encountered to edit the file directly double-click Open, NPPFTP will automatically download down open, after editing, press Ctrl+s save can be automatically uploaded to the server.

I am so, take everybody first to do a failure, only deep experience, why should have the following steps, as well as the installation of plug-ins! (Pay attention to it.)

    • (1) nppftp:nppftp (Npp:notepad plus Plus)

    • (2) Notepad ++:download notepad++ more than 6.9 ( This version must be more than 6.9, otherwise I stated that the compatibility issues later )

Here, build download Nppftp plug-in, depending on your system, my system is 64 bits. But notepad++ is 32 bits . (You have to download the 32-bit nppftp plugin )

https://github.com/ashkulz/NppFTP/releases/tag/v0.26.9

Install and configure plugins for Notepad + +

Unzip the files in Nppftp (Npp:notepad plus Plus), and copy all the files in the bin directory (mostly. dll files) to the notepad++ installation directory (the default is C:\Program Files\Notepad+ ) ( my D:\ software\notepad++) in the Plugins directory, and then restart notepad++, the plug-in installation succeeds.

In the notepad++ menu bar, you will see the new Nppftp button in the Plugins menu, as shown below:

Next, restart it,

Here, very simple, the solution is to upgrade online. Stop being so stupid, unload it, and reload.

    

 workaround : Pop-up prompts are updated by default or you can manually click Help, Upgrade notepad++

Next, is to install again, here not much to repeat, please move

Download and installation procedures for notepad++ software

Just, fill up the localization. Multiple features for your convenience!

In fact, the new version of the Notepad + + team, has been the plug-in and other common plug-ins are integrated development!

Plugin homepage:[email protected] (new version of notepad++ has integrated this plugin)

Below is the interface display of my notepad++7.3.3 32-bit version software + NPPFTP 32 plugin installed

It is normal for the following rejections to occur. is because

The first step: if the server (here refers to Bigdatamaster) is not installed VSFTPD, very simple.

[email protected] ~]$ su rootpassword: [[email protected] hadoop]# yum-y Install vsftpd (this is the CentOS system)

Or

sudo apt-get install vsftpd    (this is the Ubuntu system)

Second step: Then need to configure the next file

Vi/etc/vsftpd/vsftpd.conf  (CentOS system)

Or

sudo vim/etc/vsftpd/vsftpd.conf (This is the Ubuntu system)

 

Step Three: Configure

write_enable = YES  ascii_upload_enable = yesascii_download_enable = Yesanonymous_enable=yes
Chroot_local_user=yes

Here I am using anonymous login (save default).

Fourth step: Start the VSFTPD service

Starting vsftpd for VSFTPD: [FAILED] Resolution of the problem

[Email protected] etc]# service vsftpd startstarting vsftpd for vsftpd:                                [  OK  

Or

sudo service vsftpd restart (under Ubuntu system)

Fifth Step: Success

Bigdataslave1 and Bigdataslave2 not to be more than repeat.

To everyone's words: For such a small trick, do not first trouble, fix it once, save time in the back double. and copy paste and shortcut keys All kinds of flexible use!

Big Data configuration file tips for building individual sub-projects (for CentOS and Ubuntu Systems) (recommended by bloggers)

Related Article

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.