- 浏览: 757742 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (981)
- javascript (102)
- java (212)
- JQuery (81)
- 幽默笑话 (2)
- 只言片语 (6)
- 开发小记 (283)
- Hibernate (17)
- DWR (4)
- SQL (10)
- spring-ibatis (8)
- linux (24)
- Struts1 (8)
- Struts2 (16)
- spring (42)
- Mybatis (16)
- css (18)
- servlet (8)
- jdbc (4)
- jsp (1)
- spring-jdbc (2)
- FreeMarker (2)
- MySQL (24)
- JQuery-Grid (7)
- jstl (5)
- 正则表达式 (1)
- 面试集锦 (86)
- unix (18)
- 开发工具 (23)
- ajax (5)
- webservice (4)
- log4j (3)
- oracle (15)
- extjs (14)
- 其他 (9)
- 优秀技术参考地址 (1)
- 性能 (3)
- 数据库 (25)
- 算法 (15)
- 设计模式 (10)
- Python (3)
- AIX (5)
- weblogic (1)
- shell (14)
- quartz (5)
- 图形文件FusionCharts (1)
- Websphere (4)
- 转载 (5)
- hadoop (1)
- highchart (24)
- perl (22)
- DB2 (7)
- JBoss (1)
- JQuery Easy UI (9)
- SpringMVC (5)
- ant (5)
- echart (9)
- log4J配置 (3)
- 多线程 (10)
- 系统架构 (7)
- nginx (3)
- loadrunner1 (1)
- 分布式 (1)
- Dubbo (1)
- Redis (2)
- JMS (4)
- 自动化测试 (3)
- Spring循环依赖的三种方式 (1)
- spring-boot (2)
- 高级测试 (9)
- github (2)
- sonar (1)
- docker (6)
- web前端性能优化 (1)
- spring-aop (6)
- rabbit (1)
- ELK (1)
- maven (1)
- minio (1)
最新评论
-
zengshaotao:
jstl1point0 写道很好啊,如果有带Session会话 ...
Nginx+Tomcat搭建高性能负载均衡集群 -
jstl1point0:
很好啊,如果有带Session会话的怎么搞呢
Nginx+Tomcat搭建高性能负载均衡集群
自己电脑配置不高,但是还是安装了VM5.5,并在虚拟机里安装了red hat el4,很幸运的是一次性安装成功了,安装的时候一定要记住系统用户和密码。
因为linux一般是作为服务器存在的,所以安装的时候很多和桌面相关的应该最好不要安装,当然你的电脑配置够高也可以选择安装。我只是安装了经常需要使用的vsftp工具。
安装之后可以进行一些简单的验证,比如ifconfig 查看ip,和windows的ipconfig有点相似。一般地,虚拟机和本地的ip是处于同一网段中的,我的是192.168.202.128(linux)
安装了系统之后就需要验证:
1》确认是否安装了ftp服务器,
[root@blue blue]# rpm -qa |grep vsftp
vsftpd-2.0.7。。。。。
2》查看装了以后就要启动ftp服务,使用命令 service vsftpd start
[root@blue blue]# service vsftpd start
为 vsftpd 启动 vsftpd:
3》默认是允许匿名登录的,如果我们不想使用匿名登录,修改配置文件,
配置文件在/etc/vsftpd下的vsftpd.conf,使用命令 vi vsftpd.conf
[root@blue vsftpd]# cd /etc/vsftpd/
[root@blue vsftpd]# ls
ftpusers user_list vsftpd.conf vsftpd_conf_migrate.sh
[root@blue vsftpd]# vi vsftpd.conf
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
# anonymous_enable=YES
#
需要说明的是,ftpusers user_list 这些个文件可能在etc目录下,根据版本不同来定;
4》指定用户登录,例如以root用户登录
[root@blue vsftpd]# ls
ftpusers user_list vsftpd.conf vsftpd_conf_migrate.sh
[root@blue vsftpd]# vi ftpusers 在 root前加#注释掉
[root@blue vsftpd]# vi user_list 在 root前加#注释掉
5》最后在windows下使用ftp命令使用root输入密码即可登录ftp服务器。
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>ftp
ftp> open 192.168.202.128
Connected to 192.168.202.128.
220 (vsFTPd 2.0.1)
User (192.168.202.128:(none)): root
331 Please specify the password.
Password:
230 Login successful.
ftp> ll
Invalid command.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
Desktop
anaconda-ks.cfg
install.log
install.log.syslog
226 Directory send OK.
ftp: 收到 59 字节,用时 0.00Seconds 59000.00Kbytes/sec.
ftp> cd Desktop
250 Directory successfully changed.
ftp> ll
Invalid command.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
226 Directory send OK.
ftp> cd ..
250 Directory successfully changed.
ftp> ll
Invalid command.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
Desktop
anaconda-ks.cfg
install.log
install.log.syslog
226 Directory send OK.
ftp: 收到 59 字节,用时 0.01Seconds 3.93Kbytes/sec.
ftp> bin
200 Switching to Binary mode.
ftp> put d:\db.sql
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 File receive OK.
ftp: 发送 1270 字节,用时 0.00Seconds 1270000.00Kbytes/sec.
ftp>
因为linux一般是作为服务器存在的,所以安装的时候很多和桌面相关的应该最好不要安装,当然你的电脑配置够高也可以选择安装。我只是安装了经常需要使用的vsftp工具。
安装之后可以进行一些简单的验证,比如ifconfig 查看ip,和windows的ipconfig有点相似。一般地,虚拟机和本地的ip是处于同一网段中的,我的是192.168.202.128(linux)
安装了系统之后就需要验证:
1》确认是否安装了ftp服务器,
[root@blue blue]# rpm -qa |grep vsftp
vsftpd-2.0.7。。。。。
2》查看装了以后就要启动ftp服务,使用命令 service vsftpd start
[root@blue blue]# service vsftpd start
为 vsftpd 启动 vsftpd:
3》默认是允许匿名登录的,如果我们不想使用匿名登录,修改配置文件,
配置文件在/etc/vsftpd下的vsftpd.conf,使用命令 vi vsftpd.conf
[root@blue vsftpd]# cd /etc/vsftpd/
[root@blue vsftpd]# ls
ftpusers user_list vsftpd.conf vsftpd_conf_migrate.sh
[root@blue vsftpd]# vi vsftpd.conf
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
# anonymous_enable=YES
#
需要说明的是,ftpusers user_list 这些个文件可能在etc目录下,根据版本不同来定;
4》指定用户登录,例如以root用户登录
[root@blue vsftpd]# ls
ftpusers user_list vsftpd.conf vsftpd_conf_migrate.sh
[root@blue vsftpd]# vi ftpusers 在 root前加#注释掉
[root@blue vsftpd]# vi user_list 在 root前加#注释掉
5》最后在windows下使用ftp命令使用root输入密码即可登录ftp服务器。
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>ftp
ftp> open 192.168.202.128
Connected to 192.168.202.128.
220 (vsFTPd 2.0.1)
User (192.168.202.128:(none)): root
331 Please specify the password.
Password:
230 Login successful.
ftp> ll
Invalid command.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
Desktop
anaconda-ks.cfg
install.log
install.log.syslog
226 Directory send OK.
ftp: 收到 59 字节,用时 0.00Seconds 59000.00Kbytes/sec.
ftp> cd Desktop
250 Directory successfully changed.
ftp> ll
Invalid command.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
226 Directory send OK.
ftp> cd ..
250 Directory successfully changed.
ftp> ll
Invalid command.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
Desktop
anaconda-ks.cfg
install.log
install.log.syslog
226 Directory send OK.
ftp: 收到 59 字节,用时 0.01Seconds 3.93Kbytes/sec.
ftp> bin
200 Switching to Binary mode.
ftp> put d:\db.sql
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 File receive OK.
ftp: 发送 1270 字节,用时 0.00Seconds 1270000.00Kbytes/sec.
ftp>
发表评论
-
crontab系统定时任务
2017-08-03 16:21 500为当前用户创建cron服 ... -
linux对日志文件的操作
2017-03-17 11:36 590Linux 如何显示一个文 ... -
不同的OS对jar的加载顺序
2016-04-21 18:34 736发布系统时,提示 某某类 no such method。。 ... -
命令输出的重定向
2016-04-19 09:40 327command >out.file 2>& ... -
解压gz文件,挂载小结
2015-07-14 17:04 693如何把tar.gz格式文件解压到指定目录?格式 :#tar ... -
【Linux学习笔记】分区与目录
2015-07-13 18:48 636原文地址:http://www.blog ... -
linux安装jdk
2014-11-27 13:39 5701.下载jdk的rpm安装包,这里以jdk-6u21-lin ... -
cp -p
2014-09-12 11:35 649拷贝当前目录的文件a.txt到与a.txt平级的目录b下面 ... -
tar 将软连接的文件也进行打包
2014-09-03 15:07 108971 tar [-cxtzjvfpPN] 文件 ... -
linux服务器性能优化
2014-04-23 21:20 679基于Linux服务器的性能 ... -
shell字符串的截取
2014-04-19 20:12 1632shell字符串的截取的问题: 一、Linux shel ... -
shell编程实战
2014-04-11 20:58 5181.用Shell编程,判断一 ... -
查看系统位数
2014-04-08 19:51 438使用bootinfo查看时,提示找不到命令,但是在aix上则 ... -
两台linux服务器 cp文件
2014-03-18 21:52 1118上传 scp -r [dir] root@IP:[dir] ... -
虚拟机三种协议
2014-01-19 12:22 1286如何使虚拟机与主机互相能ping通 刚刚因为虚拟机与主机没法互 ... -
ping 防火墙
2014-01-19 12:20 411安装了虚拟机,也使用的是nat协议,但是虚拟机就是无法ping ... -
linux软硬链接
2014-01-17 16:56 409在Linux系统中,内核为每一个新创建的文件分配一个Inode ... -
linux 安装jdk tomcat
2014-01-14 23:29 648Tomcat是一个免费的开源的Serlvet容器,它是Apac ... -
linux 安装绿色版的tomcat
2014-01-14 23:27 1131一、下载免安装版Tomcat 打开Tomcat主 ... -
tail head sed
2013-10-29 13:46 3881. 如果你只想看文件的前5行,可以使用head命令,如: h ...
相关推荐
util-linux-ng-2.17源码(含fdisk) Here is a list of all documented files with brief descriptions: util-linux-ng-2.17.2/disk-utils/blockdev.c [code] util-linux-ng-2.17.2/disk-utils/cramfs.h [code] ...
jdk1.7_linux Linux版零积分jdk1.7_linux Linux版零积分免费下载jdk1.7_linux Linux版零积分免费下载jdk1.7_linux Linux版零积分免费下载jdk1.7_linux Linux版零积分免费下载jdk1.7_linux Linux版零积分免费下载jdk...
Linux网络调试助手(网络通信)Linux网络调试助手(网络通信)Linux网络调试助手(网络通信)Linux网络调试助手(网络通信)Linux网络调试助手(网络通信)Linux网络调试助手(网络通信)Linux网络调试助手(网络...
主要包括Linux的基本概念和操作,Linux的树型结构,Linux的文本编辑,Linux的安装和启动,用户管理,Shell编程技术,进程管理,C编译器,系统扩充,维护与监视,Linux的图形界面,网络的基本概念与设置,Linux在网络...
随着Linux操作系统功能的不断丰富和完善,Linux内核的源代码也从最初的几万行增加到如今的数百万行,庞大无比,对于Linux内核的研究者和开发者而言,要系统研究Linux内核绝非易事。鉴于此,《Linux内核精髓:精通...
深入linux设备驱动程序内核机制 pdf深入linux设备驱动程序内核机制深入linux设备驱动程序内核机制深入linux设备驱动程序内核机制深入linux设备驱动程序内核机制深入linux设备驱动程序内核机制深入linux设备驱动程序...
介绍了如何实现在线升级linux系统,即uboot,kernel,rootfs, 以及相关的前提知识和准备工作 目录 1. 正文之前 3 1.1. 此文目的 3 1.2. 一点说明 3 2. 嵌入式系统中,如何在Linux运行的时候去升级Linux系统 4 2.1. ...
Linux C函数库参考手册是一套Linux C函数使用手册,这里还提供了LinuxC函数手册chm,帮助大家查找。在Linux下,使用到的C语言函数中文手册,全都有实例,如果你是大神,完全不需要,如果你对英文的手册感到头疼,...
首先启动虚拟机软件VM(虚拟Linux系统 rhel4 已经安装完毕) 1.设置VMware的cd-rom→ Use ISO image → 本文件(linux.iso) 2.启动虚拟机 3.用超级用户root登录 4.登录成功后,Ctrl+Alt ,取出鼠标,点选菜单栏,vm → ...
Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux常用命令Linux...
Linux 与 与 GNU Linux 的多重系统引导装载器 Linux 的四种安装类型 常用的基本命令:mkdir mv cd rm ls 等 Linux 系统目录结构:home dev bin init etc lib usr var等 文件的链接:inode 磁盘的挂载:mount 用户组...
细说Linux 细说Linux 细说Linux 细说Linux 细说Linux 细说Linux
LINUX内核经典面试题 ,20) 如何加载、卸载一个模块? 21) 模块和应用程序分别运行在什么空间? 22) Linux中的浮点运算由应用程序实现还是内核实现? 23) 模块程序能否使用可链接的库函数? 24) TLB中缓存的是什么...
《嵌入式Linux应用开发完全手册》全面介绍了嵌入式Linux系统开发过程中,从底层系统支持到上层GUI应用的方方面面,内容涵盖Linux操作系统的安装及相关工具的使用、配置,嵌入式编程所需要的基础知识(交叉编译工具的...
Atheros AR8131 网卡驱动下载地址:(包括windows 驱动 和 Linux驱动) http://partner.atheros.com/Drivers.aspx Atheros AR9285无线网卡驱动,由开源项目MadWifi支持 在sourceforge搜索MadWifi可以找到: ...
本文档详细描述了交叉编译链的安装过程,以及在BeagleBone平台(带有LCD)移植Xenomai实时内核、移植IGH-EtherCAT、移植LinuxCNC的详细过程,以及可能遇到的具体问题,并且对问题作出了解决 备注:这里移植的Linux...
Linux常用命令大全Linux常用命令深入理解Linux内核鸟哥的Linux私房菜Linux命令学习资料(12个): Linux命令大全(Linuxidc.com修改版).chm Linux命令学习.chm Linux基础命令教程(豪华版).chm LINUX安全加固手册.doc ...
Kali Linux是基于Debian的Linux发行版, 设计用于数字取证操作系统。由Offensive Security Ltd维护和资助。最先由Offensive Security的Mati Aharoni和Devon Kearns通过重写BackTrack来完成,BackTrack是他们之前写的...
使用这个华为官方linux驱动和运用程序,就可以在linux下面使用华为上网卡了,每次都是自动识别,自动启动软件界面。比usb_modeswitch好用多了,对各个型号的华为3G卡也都有很好的兼容性(毕竟都是华为生产的),如果...
详细描述了linux2.4/2.6内核版本中的网络子系统。解释了协议的工作方式、建立了Linux网络体系结构中的多种重要概念——从设备驱动程序概念一直到应用程序接口的概念。能帮助读者更容易理解 Linux网络架构的进程和...