
linux
alleni123
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
centos下安装samba.tar.gz
这里是解压缩安装的步骤http://hi.baidu.com/wowodo/item/f865b630ecb36f352e20c4ac 但是在使用.configure命令的时候会报错, 显示no acceptable c compiler found in path 查了一下, http://zhidao.baidu.com/link?url=MU90juBOTeUYOvC4-k2q1...原创 2013-11-07 22:49:24 · 306 阅读 · 0 评论 -
phantomjs安装(linux,附带环境变量设置) ,以及casperjs安装。
1. 首先从官网[url]http://phantomjs.org/[/url]下载phantomjs压缩包,解压缩到/root/phantomjs文件夹。 2. 安装依赖 [code="java"]sudo yum install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6[/code] ...原创 2014-09-24 10:55:45 · 433 阅读 · 0 评论 -
[转]在cmd中输入ls命令出现“ls不是内部或外部命令
平时一般喜欢用命令行窗口cmd,突然发现其它命令都好使,就是输入ls命令出现“ls不能内部或外部命令”,但是与这个命令相似的功能是dir,所以以下方法可解决: 在C:\windows目录下新建一个文件 命名为 ls.bat 打开编辑这个文件 输入: @echo off dir 这两句保存即可。...原创 2013-11-04 22:10:38 · 511 阅读 · 0 评论 -
centos启动时自动打开网络eth0
在/etc/sysconfig/network-scripts/ifcfg-eth0里面 配置ONBOOT="yes" 如果要单独打开关闭, 使用 ifup eth0 ifdown eth0 [url]http://unix.stackexchange.com/questions/36241/centos-eth0-not-starting[/url] [url]h...原创 2014-03-14 12:25:36 · 245 阅读 · 0 评论 -
xshell中文乱码问题解决
问题描述: 使用filezilla作用客户端,上传文件到centos中。 服务器端是vsftpd。 原本以为是ftp上传软件以及linux的问题。 弄了大半天。 最后才发现不是这么回事。 问题其实出在xshell软件上。 其实是文件名被显示到xshell的窗口中的时候变成了乱码。 只要在xshell里面设置一下编码就解决了。 如下图: [img]http://d...原创 2014-03-12 22:11:29 · 204 阅读 · 0 评论 -
【转】Linux下如何进行FTP设置
一、Redhat/CentOS安装vsftp软件 1.更新yum源 首先需要更新系统的yum源,便捷工具下载地址:http://help.aliyun.com/manual?spm=0.0.0.0.zJ3dBU&helpId=1692 2.安装vsftp 使用yum命令安装vsftp #yum install vsftpd -y 3.添加ftp帐号和目录 先检查一下nologin的位...原创 2014-03-12 20:12:06 · 118 阅读 · 0 评论 -
jcifs.smb.SmbAuthException: Access is denied
[code="java"]UniAddress ua=UniAddress.getByName(ip); NtlmPasswordAuthentication auth=new NtlmPasswordAuthentication(ip, "user", "pswd"); SmbSession.logon(ua, auth);//验证是否能够成功登陆 //...原创 2014-03-11 19:29:47 · 1598 阅读 · 0 评论 -
centos samba安装
1. 首先在防火墙中允许samba服务。 [img]http://dl2.iteye.com/upload/attachment/0094/6535/451e1f71-a06e-357e-a731-4aa617ea8683.jpg[/img] 2. 禁止selinux 输入: vi /etc/sysconfig/selinux 在该窗口中,将SELINUX=enforcing改...原创 2014-03-09 21:04:06 · 142 阅读 · 0 评论 -
there are stopped jobs
在使用exit命令退出的时候, 出现了这个问题, 无法退出。 查了一下, [url]http://www.cnblogs.com/maliqian/articles/2290505.html[/url] 这里的解决方案是 继续输入命令:jobs -l 终端显示:[1]+ 4664 停止 vim /etc/network/interfaces > /home/leo/Desktop/ip...原创 2014-07-04 15:07:48 · 135 阅读 · 0 评论 -
command not found. 找不到命令的问题
linux下报错bash: service: command not found [url]http://lishaorui.iteye.com/blog/1583789[/url] /sbin/service mysql restart. 所有命令无法使用 [url]http://zhidao.baidu.com/link?url=LfXHK1RYF8NrU1_LRdcp_dJC...原创 2014-07-02 10:58:38 · 6030 阅读 · 0 评论 -
centos安装iftop
0. 安装EPEL包 [url]http://www.cyberciti.biz/faq/fedora-sl-centos-redhat6-enable-epel-repo/[/url] [code="linux"]$ cd /tmp $ wget http://mirror-fpt-telecom.fpt.net/fedora/epel/6/i386/epel-release-6-8....原创 2014-06-12 14:18:08 · 553 阅读 · 0 评论 -
Shell编程 Hello World
1. vim test.sh 加入 #!/bin/sh clear echo "Hello, $USER." 2. ./test1.sh执行原创 2014-10-15 13:44:50 · 159 阅读 · 0 评论