Ubuntu上安装与使用putty

下面便是小弟学习安装和是用Putty的过程:

首先,输入如下命令,并按下Tab键,发现库中存在三个与Putty 相关的文件,直接使用Putty便可:

[email protected]:/dev$ sudo apt-get install putty

putty putty-doc putty-tools

[email protected]:/dev$ sudo apt-get install putty

[sudo] password for planck:

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

putty-tools

Suggested packages:

putty-doc

The following NEW packages will be installed:

putty putty-tools

0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded.

Need to get 581 kB of archives.

After this operation, 2,421 kB of additional disk space will be used.

Do you want to continue? [Y/n] y

//系统会提示您是否要继续,为了达到目的就不得不继续,输入y并按Enter继续:

Get:1 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe putty-tools amd64 0.63-4 [297 kB]

Get:2 http://cn.archive.ubuntu.com/ubuntu/ trusty/universe putty amd64 0.63-4 [284 kB]

Fetched 581 kB in 11s (52.6 kB/s)

Selecting previously unselected package putty-tools.

(Reading database ... 198687 files and directories currently installed.)

Preparing to unpack .../putty-tools_0.63-4_amd64.deb ...

Unpacking putty-tools (0.63-4) ...

Selecting previously unselected package putty.

Preparing to unpack .../putty_0.63-4_amd64.deb ...

Unpacking putty (0.63-4) ...

Processing triggers for man-db (2.6.7.1-1) ...

Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...

Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...

Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...

Rebuilding /usr/share/applications/bamf-2.index...

Processing triggers for mime-support (3.54ubuntu1) ...

Setting up putty-tools (0.63-4) ...

Setting up putty (0.63-4) ...

//呵呵,终于安装完成了,进入putty试一下

[email protected]:/dev$ sudo putty

要求输入管理员密码的哦:sudo] password for planck:

选择串口,并设定串口号为/dev/ttyUSB0,波特率为115200,开始愉快之旅:

**注意,在使用串口通信的过程需要先打开软件再给目标机上电启动,对于使用SSH网络链接的过程则必须要先让系统正常工作之后方可进行链接,否则会出错!!!!切记!!!

(putty:7148): IBUS-WARNING **: The owner of /home/planck/.config/ibus/bus is not root!

(putty:7148): GLib-CRITICAL **: Source ID 1088 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1161 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1254 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1487 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1629 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1720 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1721 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1750 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1918 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1919 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1997 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 1998 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2172 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2342 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2344 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2357 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2390 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2475 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2560 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2587 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2830 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2832 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 2835 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3067 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3069 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3072 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3156 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3213 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3216 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3303 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3457 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3520 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3522 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3737 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3739 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3742 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3882 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3885 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 3888 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 4111 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 4140 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 4248 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 4383 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 4649 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 4651 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 4757 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 4878 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 4998 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 5069 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 5071 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 5074 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 5121 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 5123 was not found when attempting to remove it

(putty:7148): GLib-CRITICAL **: Source ID 5158 was not found when attempting to remove it

//这是Putty窗口现实的内容,直接Copy,这里面包含了整个系统的引导过程

?

U-Boot SPL 2013.04-dirty (May 06 2013 - 16:12:47)

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)

musb-hdrc: MHDRC RTL version 2.0

musb-hdrc: setup fifo_mode 4

musb-hdrc: 28/31 max ep, 16384/16384 memory

USB Peripheral mode controller at 47401000 using PIO, IRQ 0

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)

musb-hdrc: MHDRC RTL version 2.0

musb-hdrc: setup fifo_mode 4

musb-hdrc: 28/31 max ep, 16384/16384 memory

USB Host mode controller at 47401800 using PIO, IRQ 0

OMAP SD/MMC: 0

mmc_send_cmd : timeout: No status update

reading u-boot.img

reading u-boot.img

U-Boot 2013.04-dirty (May 06 2013 - 16:12:47)

I2C: ready

DRAM: 512 MiB

WARNING: Caches not enabled

NAND: No NAND device found!!!

0 MiB

MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1

*** Warning - readenv() failed, using default environment

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)

musb-hdrc: MHDRC RTL version 2.0

musb-hdrc: setup fifo_mode 4

musb-hdrc: 28/31 max ep, 16384/16384 memory

USB Peripheral mode controller at 47401000 using PIO, IRQ 0

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)

musb-hdrc: MHDRC RTL version 2.0

musb-hdrc: setup fifo_mode 4

musb-hdrc: 28/31 max ep, 16384/16384 memory

USB Host mode controller at 47401800 using PIO, IRQ 0

Net: <ethaddr> not set. Validating first E-fuse MAC

cpsw, usb_ether

Hit any key to stop autoboot: 0

gpio: pin 53 (gpio 53) value is 1

mmc_send_cmd : timeout: No status update

Card did not respond to voltage select!

mmc0(part 0) is current device

mmc_send_cmd : timeout: No status update

Card did not respond to voltage select!

No micro SD card found, setting mmcdev to 1

mmc_send_cmd : timeout: No status update

mmc1(part 0) is current device

mmc_send_cmd : timeout: No status update

gpio: pin 54 (gpio 54) value is 1

SD/MMC found on device 1

reading uEnv.txt

14 bytes read in 3 ms (3.9 KiB/s)

Loaded environment from uEnv.txt

Importing environment from mmc ...

gpio: pin 55 (gpio 55) value is 1

4394080 bytes read in 795 ms (5.3 MiB/s)

gpio: pin 56 (gpio 56) value is 1

23469 bytes read in 52 ms (440.4 KiB/s)

Booting from mmc ...

## Booting kernel from Legacy Image at 80007fc0 ...

Image Name: Angstrom/3.8.13/beaglebone

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 4394016 Bytes = 4.2 MiB

Load Address: 80008000

Entry Point: 80008000

Verifying Checksum ... OK

## Flattened Device Tree blob at 80f80000

Booting using the fdt blob at 0x80f80000

XIP Kernel Image ... OK

OK

Using Device Tree in place at 80f80000, end 80f88bac

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

[ 0.193780] omap2_mbox_probe: platform not supported

[ 0.204532] tps65217-bl tps65217-bl: no platform data provided

[ 0.280991] bone-capemgr bone_capemgr.9: slot #0: No cape found

[ 0.318100] bone-capemgr bone_capemgr.9: slot #1: No cape found

[ 0.355206] bone-capemgr bone_capemgr.9: slot #2: No cape found

[ 0.392315] bone-capemgr bone_capemgr.9: slot #3: No cape found

[ 0.423872] omap_hsmmc mmc.4: of_parse_phandle_with_args of ‘reset‘ failed

[ 0.488557] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8

[ 0.500293] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22

[ 0.507603] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single

[ 1.249377] systemd[1]: Failed to insert module ‘autofs4‘

[ 1.539874] systemd[1]: Failed to open /dev/autofs: No such file or directory

[ 1.547474] systemd[1]: Failed to initialize automounter: No such file or directory

[ 1.555610] systemd[1]: Failed to set up automount Arbitrary Executable File Formats File System Automount Point.

systemd-fsck[82]: Angstrom: clean, 53617/112672 files, 413976/449820 blocks

[ 5.035251] libphy: PHY 4a101000.mdio:01 not found

[ 5.040352] net eth0: phy 4a101000.mdio:01 not found on slave 1

.---O---.

| | .-. o o

| | |-----.-----.-----.| | .----..-----.-----.

| | | __ | ---‘| ‘--.| .-‘| | |

| | | | | |--- || --‘| | | ‘ | | | |

‘---‘---‘--‘--‘--. |-----‘‘----‘‘--‘ ‘-----‘-‘-‘-‘

-‘ |

‘---‘

The Angstrom Distribution BeagleBone_Black ttyO0

Angstrom v2012.12 - Kernel 3.8.13

BeagleBone_Black login: root

Password:

Last login: Fri Dec 31 19:00:20 EST 1999 on ttyO0

[email protected]_Black:~#

[email protected]_Black:~# pwd

/home/root

[email protected]_Black:~# ifconfig

eth0 Link encap:Ethernet HWaddr C8:A0:30:B9:7F:2B

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Interrupt:56

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:65536 Metric:1

RX packets:4 errors:0 dropped:0 overruns:0 frame:0

TX packets:4 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:248 (248.0 B) TX bytes:248 (248.0 B)

[email protected]_Black:~# shutdown --p now

Sending SIGTERM to remaining processes...

Sending SIGKILL to remaining processes...

Unmounting file systems.

Unmounting /sys/kernel/config.

Unmounting /sys/kernel/debug.

Unmounting /dev/mqueue.

Unmounting /etc/machine-id.

All filesystems unmounted.

Deactivating swaps.

All swaps deactivated.

Detaching loop devices.

Detaching loopback /dev/loop7.

Detaching loopback /dev/loop6.

Detaching loopback /dev/loop5.

Detaching loopback /dev/loop4.

Detaching loopback /dev/loop3.

Detaching loopback /dev/loop2.

Detaching loopback /dev/loop1.

Detaching loopback /dev/loop0.

All loop devices detached.

Detaching DM devices.

All DM devi[ 415.790271] (NULL device *): gadget not registered.

ces detached.

[ 415.797272] Power down.

[ 415.802674] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000

[ 415.802674]

[ 415.812251] [<c001051d>] (unwind_backtrace+0x1/0x8c) from [<c0385d41>] (panic+0x55/0x14c)

[ 415.820803] [<c0385d41>] (panic+0x55/0x14c) from [<c002ec8f>] (do_exit+0x2ef/0x5dc)

[ 415.828803] [<c002ec8f>] (do_exit+0x2ef/0x5dc) from [<c0036983>] (sys_reboot+0xb5/0x126)

[ 415.837249] [<c0036983>] (sys_reboot+0xb5/0x126) from [<c000c641>] (ret_fast_syscall+0x1/0x46)

[ 415.846242] drm_kms_helper: panic occurred, switching back to text console

下面我们使用网络链接进行远程控制:

[email protected]:/dev$ sudo putty

[sudo] password for planck:

选择ssh并输入目标机的ip:10.0.1.118

login as: root

[email protected]‘s password:

[email protected]_Black:~# ifconfig

eth0 Link encap:Ethernet HWaddr C8:A0:30:B9:7F:2B

inet addr:10.0.1.118 Bcast:10.0.255.255 Mask:255.255.0.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:68 errors:0 dropped:0 overruns:0 frame:0

TX packets:70 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:8605 (8.4 KiB) TX bytes:12916 (12.6 KiB)

Interrupt:56

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:65536 Metric:1

RX packets:6 errors:0 dropped:0 overruns:0 frame:0

TX packets:6 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:427 (427.0 B) TX bytes:427 (427.0 B)

[email protected]_Black:~#

Ubuntu上安装与使用putty

时间: 2024-12-20 17:02:34

Ubuntu上安装与使用putty的相关文章

Ubuntu上安装和使用SSH,Xming+PuTTY在Windows下远程Linux主机使用图形界面的程序

自:http://blog.csdn.net/neofung/article/details/6574002 Ubuntu上安装和使用SSH  网上有很多介绍在Ubuntu下开启SSH服务的文章,但大多数介绍的方法测试后都不太理想,均不能实现远程登录到Ubuntu上,最后分析原因是都没有真正开启ssh-server服务.最终成功的方法如下: Ubuntu 下安装 OpenSSH Server 是无比轻松的一件事情,需要的命令只有一条: sudo apt-get install openssh-s

64位ubuntu上安装 hadoop-2.4.0

完全参考:http://blog.csdn.net/cruise_h/article/details/18709969 这上面的安装教程 伪分布配置: http://my.oschina.net/mynote/blog/93735 64位ubuntu上安装 hadoop-2.4.0,布布扣,bubuko.com

[异常解决] ubuntu上安装JLink驱动遇到的坑及给后来者的建议

一.前言 最近将整个电脑格式化,改成了linux操作系统 希望这样能让自己在一个新的世界探索技术.提升自己吧- win上的工具用多了,就不想变化了- 继上一篇<ubuntu上安装虚拟机遇到的问题(vmware坑了,virtual-box简单安装,在virtual-box中安装精简版win7)> link:http://www.cnblogs.com/zjutlitao/p/5061917.html 遇到的在ubuntu上装虚拟机坑之后,接下来又遇到了一个新的问题—— 如何在在ubuntu上安装

在ubuntu上安装maven

下载maven http://maven.apache.org/download.cgi 解压 用压缩管理器打开,解压至home目录下 配置环境变量 sudo gedit /etc/profile 添加 export M2_HOME=<span style="color:#ff0000;">/home/weibo/apache-maven-3.0.5(视自己的情况而定)</span> export M2=$M2_HOME/bin export PATH=$M2:

Ubuntu上安装QQ

作者:邹祁峰 邮箱:[email protected] 博客:http://blog.csdn.net/qifengzou 日期:2014.06.12 转载请注明来自"祁峰"的CSDN博客 自从腾讯QQ发布Linux QQ后,其他第三方均纷纷退出Linux版本QQ的开发和维护,而后腾讯QQ也停止了Linux QQ的开发和维护,致使目前Ubuntu上只能使用网页QQ. 而直接登陆网页QQ又使用户不能及时方便的获知对方的回复,目前可使用PIDGIN登陆QQ,能很好的解决网页QQ的这个缺点.

如何在ubuntu上安装flash_player

一.如何在ubuntu上安装Flash Player 相信很多玩ubuntu的都会遇到这样一个问题,当你在网上看视频时,屏幕总会弹出你没用安装 Flash Player,然后就有一个选项叫你下载Flash Player. 遇到这种情况时,我们先下载下来,选择linux tar.gz版本,下载,然后解压到当前目录. 接着点开解压后的文件,你会看到libflashplayer.so文件,打开终端,输入以下命令就行了. sudo cp libflashplayer.so /usr/lib/mozill

在64位ubuntu上安装alienbrain客户端

一.首先从Alienbrain_EN_10.5.zip安装包(网上可搜索下载)里提取出linux版安装文件:Installations/Clients/Linux/NoVM/install.bin并chmod+x使之可执行 二.如果直接运行,可能会出现大把问题,逐步解决如下: 1.首先是报libc.so.6找不到:strings: '/lib/libc.so.6': No such file.这里只要做个链接:/lib/libc.so.6 -> /lib/x86_64-linux-gnu/lib

Ubuntu上安装MongoDB(译)

add by zhj:直接从第四步开始就可以了,而且安装好MongoDB后会自动启动的,不必自己去执行启动命令 原文:https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ 一. 概述 通过这个教程,我们可以用.deb包在LTS Ubuntu上安装MongoDB社区版.虽然Ubuntu自己也有MongoDB包,但是官方的MongoDB社区版通常要更新一些. 注:平台支持 MongoDB只为64位 LTS Ubuntu

通过ppa在ubuntu上安装atom编辑器

在终端中执行以下命令即可,很方便. sudo add-apt-repository ppa:webupd8team/atom sudo apt-get update sudo apt-get install atom 支持Ubuntu 14.10, 14.04, 13.10 和 12.04 通过ppa在ubuntu上安装atom编辑器,布布扣,bubuko.com