1nfsYuminstallnfs-utils-y/etc/init.d/rpcbindstart/etc/init.d/nfsstartShowmout-eVi/etc/exports/mnt192.168.0.0/24(ro)Exportfs-rvExportfs-vMount192.168.0.250:/mnt/mnt/2cifsyuminstallsambasamba-clientsamba-common-y/etc/init.d/smbstartSmbclient-L//192.168.0.250S..
分类:
其他好文 时间:
2014-09-22 19:36:03
阅读次数:
182
mount /dev/sdb /mnt/diskumount -l /mnt/disk【有busy的问题可以加上l项】1.查询当前谁在使用device,fuser /mnt/temp,查询结果是/mnt/temp:18102c2.查询该进程号表示哪个进程,ps -ef|grep 18102|grep...
分类:
其他好文 时间:
2014-09-22 17:45:53
阅读次数:
202
/root 存放root用户的相关文件/home 存放普通用户的相关文件/mnt 默认挂载光驱和软驱的目录/boot 存放引导相关的文件/etc 存放配置相关的文件/var 存放经常变化的文件/sbin 存放要具有一定权限才可以使用的命令/bin 存放系统常用命令/usr 程序的默认安装路径
分类:
系统相关 时间:
2014-09-22 02:19:51
阅读次数:
205
CentOS配置本地YUM源--以CentOS-6.4为例1.放入Centos的镜像光盘或找到镜像文件,然后挂载到系统中 mount /dev/cdrom /mnt/cdrom #/mnt/cdrom目录要先创建好 2.cd /etc/yum.repos.d/ #进入/etc/yum.repos.d/目录 3.mkdir bak 并将CentOS-Base.repo 和 CentOS-D...
分类:
其他好文 时间:
2014-09-21 18:29:21
阅读次数:
244
#! /bin/sh
while true;
do
i=`df -h | egrep '/mnt/D'| awk '{print $5}' | cut -d "%" -f1 -`
if [ "$i" -ge 90 ]
then
echo "disk nearly full"
cd /mnt/D/files/
for file1day in `ls -d */ | sort -n...
分类:
系统相关 时间:
2014-09-21 00:00:59
阅读次数:
276
1.在windows下建立文件夹f:\linux,共享给win下用户username,该用户密码为passwd。该windows系统在局域网中IP为192.168.18.2032.在centos6.5的命令行(root权限)运行mount //192.168.18.203/linux /mnt/wi...
(1) 先在ubuntu系统里,新建一个目录用于挂载,目录假设为/mnt/win:sudo mkdir/mnt/win(2)在windows系统,共享出一个文件夹,共享名称假设为wwwsudo mount -t cifs -o uid=0,gid=0,rw,username=登录名,password...
Codematurityleveloptions代码成熟等级选项在目前这个版本没有[root@localhostlinux-2.6.32]#makeinstallsh/mnt/sdb1/src/file/linux-2.6.32/arch/x86/boot/install.sh2.6.32arch/x86/boot/bzImage\ System.map"/boot"ERROR:modinfo:couldnotfindmodulek8tempERROR:modinfo:co..
分类:
其他好文 时间:
2014-09-18 16:45:06
阅读次数:
535
redhat识别ntfs的u盘需要ntfs-3g:需要epel源(或者自己查找源码编译安装)wgethttp://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpmyuminstallepel-release-7-1.noarch.rpmyumrepolistyuminstallntfs-3g先用lsblk查看自己的u盘在哪个分区mkdir/mnt..
分类:
其他好文 时间:
2014-09-11 17:29:42
阅读次数:
237
方法1: 利用/dev/ram1: linux下有很多ram,我们用ram1,首先把ram1格式化成ext2文件系统[root@gucuiwen babylinux]# sudo mkfs.ext2 -m0 /dev/ram1将ram1挂装到文件系统中:先建立一个挂装点:#mkdir /mnt/ra...
分类:
其他好文 时间:
2014-09-09 21:22:19
阅读次数:
347