摘要: linuxmkdir命令用来创建指定的名称的目录,要求创建目录的用户在当前目录中具有写权限,并且指定的目录名不能是当前目录中已有的目录。1.命令格式:mkdir[选项]目录...2.命令功能:通过mkdir命令可以实现在指定位置创建以DirName(指定的文件名)命名的文件夹或目录。要创建文件夹或目... 阅读全文
posted @ 2015-03-02 21:40 irisrain 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 本文介绍mount命令的用法,以及技巧光盘镜像文件、移动硬盘及U盘的方法。一,挂接命令(mount)挂接(mount)命令的使用方法。命令格式:代码如下:mount [-t vfstype] [-o options] device dir其中:1.-t vfstype 指定文件系统的类型,通常不必指... 阅读全文
posted @ 2015-03-02 21:37 irisrain 阅读(17698) 评论(0) 推荐(0) 编辑
摘要: 引言:Apache默认的网站目录是在/var/www/html,我们现在要把网站目录更改到/home/wwwroot/web,操作如下准备工作:创建目录:cd /homemkdir wwwrootcd wwwrootmkdir webtouch index.php操作步骤:1、vi /etc/htt... 阅读全文
posted @ 2015-03-02 21:18 irisrain 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 默认网站根目录为/usr/local/nginx/html,要将它改成/homw/wwwvi /usr/local/nginx/conf/nginx.conf将其中的location / {root html;index index.php index.html index.htm;}改为locat... 阅读全文
posted @ 2015-03-02 21:08 irisrain 阅读(5962) 评论(0) 推荐(0) 编辑
摘要: 有时候为了方便管理,我们常常喜欢在Linux中将之安装为服务,然后就可以使用服务来管理。但是当我们运行安装服务的命令时候,假设服务名为myservice#chkconfig --add myservice常常会出现service myservice does not support chkconfi... 阅读全文
posted @ 2015-03-02 02:59 irisrain 阅读(2641) 评论(0) 推荐(0) 编辑