
linux
hejisan
这个作者很懒,什么都没留下…
展开
-
fuser命令学习
我们在linux下使用某些移动存储设备,诸如U盘、硬盘等情况下,常常会遇到不能umount的情况,显示 resource busy ,于是我们要借助某些工具来找出是某些进程占用了这个设备。常用的命令有fuser及lsof 。下面转载fuser的用法。 fuser:使用文件或者套节字来表示识别进程。我常用的他的两个功能:查看我需要的进程和我要杀死我查到的进程。 比如当你想umount光驱的时原创 2016-01-14 11:29:57 · 1139 阅读 · 0 评论 -
在Redhat下挂载windows的ntfs的方法
1、 首先们需要下载ntfs-3g 。 http://www.tuxera.com/community/ntfs-3g-download/ 2 、 然后解压进行安装 [guo@guo ~]$ tar xvzf ntfs-3g_ntfsprogs-2012.1.15.tgz [root@guo ~]#./configure [root@guo ~转载 2016-01-14 11:32:48 · 547 阅读 · 0 评论 -
linux (redhat) 通过系统镜像安装桌面及开发库
有时候我们为了快捷安装redhat,常常没有安装桌面及某些库,后面又要补上,但是如果一个个去安装,是个很复杂的事情,因为依赖包有时候很难查找。下面记载如何一次安装桌面及所有开发库。 首先要把光盘或者ISO镜像作为本地库添加到系统源中。(可以参照:http://blog.youkuaiyun.com/hejisan/article/details/50507735) 在redhat镜像中,将rp原创 2016-01-14 11:43:48 · 1941 阅读 · 0 评论 -
ubuntu mysql 阿里云 远程
环境:阿里云ubuntu14.04、mySQL 主要内容: 1、阿里云ubuntu14.04镜像安装SSH、Desktop、VNC Server 2、mySQL安装、开启远程访问 拿到阿里云ubuntu14.04服务器后,以如下步骤安装远程桌面: sudo apt-get install xrdp sudo apt-get install vnc4serversudo apt-get i原创 2016-10-11 22:32:12 · 762 阅读 · 1 评论 -
linux 通过ln -s建立链接文件后,如何通过链接文件查看源文件
[root@iZ25a38chb4Z lory]# ls -l total 0 lrwxrwxrwx 1 root root 13 Jun 28 23:06 link.txt -> /tmp/test.txt [root@iZ25a38chb4Z lory]# cat link.txt Hello [root@iZ25a38chb4Z lory]# cat /tmp/test.txt转载 2016-11-27 22:32:21 · 8898 阅读 · 0 评论 -
java+Eclipse+struts2+Tomcat+Mysql开发的小例子
一、环境配置 1.新建工程 打开Eclipse,点击File->new->Dynamic Web Project 输入工程名 这样,我们就新建了一个动态网站工程,以下操作都在该工程下。 2.struts2配置 首先去struts官网下载相关包: 下载地址:http://archive.apache.org/dist/struts/2.5.2/ 注意下载的版本一定要一致,否则转载 2017-03-20 13:51:43 · 1115 阅读 · 1 评论