SecureCRT installation and installation of Linux jdk1.8

Linux Remote Connection

SecureCRT, XShell software can be, here we use SecureCRT

SecureCRT installation you can extract the installation package under the Baidu network disk there.

To facilitate the input, ip map may be provided. Win + R, to open the input drivers, etc select, modify the hosts file

drivers
etc
Host Mapping

Open SecureCRT, shortcut keys Alt + Q, enter the host name and user name to the host name of the machine hadoop001, enter the ip this province, more convenient.

jdk archive upload

After connecting, press the shortcut keys Alt + P to open sftp, use the pwd command to view the current directory, using the cd command to change the use of put the file path, upload jdk archive, note that the file paths do not contain Chinese. Baidu network disk installation package.

Current path
upload files

jdk archive decompression

Use sudo tar -zxvf file path -C decompress destination path. If you do not have to have permission to add sudo. In addition, it can be compressed directly into the target path, use tar -zxvf to extract the file name.

Decompression

Do not archive, you can use rm -rf to delete a file name.

Configuration environment variable

  • vi /etc/profile
  • In the last plane to join the following statement:
export JAVA_HOME=jdk路径
export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin

For example

jdk environment configuration

After saving, the use of source / etc / profile to configure the update.

verification

Use java -version

java -version Verify

Or use the jps

jps verification

to sum up

Today learned the following:

SecureCRT installation and use (as opposed to a plurality of virtual machines can be connected, upload files, etc.)

Installed jdk1.8

Link network disk:

Links: https://pan.baidu.com/s/1yIHOlRPpcGYkKTYM4-64bA
extraction code: ims7

For more information please see the big data: Big Data self directory

有问题请下方评论,转载请注明出处,并附有原文链接,谢谢!如有侵权,请及时联系。

 

 

发布了163 篇原创文章 · 获赞 471 · 访问量 26万+

Guess you like

Origin blog.csdn.net/lady_killer9/article/details/100083047