随笔分类 -  Linux

摘要:root@hipchat:~# mount -t nfs 192.168.10.220:/hipchat/share /home/share/nfs mount.nfs: access denied by server while mounting 192.168.10.220:/hipchat/share # 原因: 在服务器Oracle Linux 6.8的系统下使用的是NFSv4,在/var... 阅读全文
posted @ 2018-02-21 01:18 全威儒 阅读(1331) 评论(0) 推荐(0)
摘要:修改/etc/sysconfig/clock [root@psdyy-2 ~]# cat /etc/sysconfig/clock ZONE="Asia/Shanghai" UTC=true [root@psdyy-2 ~]# date Thu May 18 10:22:35 EDT 2017 备份并修改/etc/localtime [root@psdyy-2 ~]... 阅读全文
posted @ 2018-02-05 00:22 全威儒 阅读(343) 评论(0) 推荐(0)
摘要:SecureCRT connecting VM Linux show error message: The remote system refused the connection. 阅读全文
posted @ 2017-02-18 00:11 全威儒 阅读(248) 评论(0) 推荐(0)
摘要:find /home/oracle/admin/zhjport/udump/ -name "*.trc" -mtime +30 -exec rm {} \; 如果要自动执行可以加入CRONTAB 本文出自 “麦地坞” 博客,请务必保留此出处http://yunlongzheng.blog.51cto.com/788996/512370 阅读全文
posted @ 2016-09-29 14:20 全威儒 阅读(3066) 评论(0) 推荐(0)
摘要:举例: 开放10000端口的解决步骤如下: 1、修改/etc/sysconfig/iptables文件,增加如下一行: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT 重启 iptables service iptables restart 2、重启防火墙,这里有两种方式... 阅读全文
posted @ 2016-05-29 22:19 全威儒 阅读(300) 评论(0) 推荐(0)
摘要:[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0BOOTPROTO=noneONBOOT=yesTYPE=EthernetNETMASK=255.255.255.0IPADDR=192.168.10.201USERCTL=noIPV6INIT=noPEERDNS=no [root@localh... 阅读全文
posted @ 2015-11-01 14:18 全威儒 阅读(3782) 评论(0) 推荐(0)
摘要:[root@localhost ~]# vi /etc/inittab ## inittab This file describes how the INIT process should set up# the system in a certain run-level.## Author: Miquel van Smoorenburg, ... 阅读全文
posted @ 2015-11-01 13:56 全威儒 阅读(427) 评论(0) 推荐(0)
摘要:[root@localhost gdm]# vi /etc/X11/gdm/gdm.conf # You can also use the gdm-restart and gdm-safe-restart scripts which just# do the above for you.## For full reference documentation see the gnome help b... 阅读全文
posted @ 2015-11-01 13:31 全威儒 阅读(654) 评论(0) 推荐(0)
摘要:[root@ebs12vis ~]# su - applmgr[applmgr@ebs12vis ~]$ cd $APPL_TOP/inv[applmgr@ebs12vis inv]$ find . -type d -exec mkdir -p $APPL_TOP/cux/{} \;[applmgr@ebs12vis inv]$ cd ..[applmgr@ebs12vis appl]$ cd c... 阅读全文
posted @ 2015-05-24 09:20 全威儒 阅读(1551) 评论(0) 推荐(0)
摘要:[root@ora9i 3238244]# lsb_release -a LSB Version: :core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch Distributor ID: RedHatEnterpriseAS ... 阅读全文
posted @ 2014-06-02 11:36 全威儒 阅读(10643) 评论(0) 推荐(0)
摘要:1. gunzip XXX.cpio.gz –> 得到 XXX.cpio 文件 2. cpio -idmv 得到 XXX 文件夹 阅读全文
posted @ 2014-06-02 03:34 全威儒 阅读(724) 评论(0) 推荐(0)
摘要:不知道大家有没有碰到这种文件,因为是乱码,文件无法删除,这时我们就可以考虑用下面的命令进行删除文件或目录 ls -i //列出文件节点 find ./ -inum XXX(节点号) -print -exec rm -rf {} \; //删除节点号文件 find . -inum XXXX(节点号) -exec mv {} file.txt \; //其实我们还可以执行这个命令,... 阅读全文
posted @ 2014-06-02 03:16 全威儒 阅读(10801) 评论(0) 推荐(3)
摘要:linux使用man命令后 使用q退出 阅读全文
posted @ 2014-06-02 01:54 全威儒 阅读(510) 评论(0) 推荐(0)
摘要:/etc/inittab 1) 字符界面标识: id:3:initdefault: 2) 图形界面标识: id:5:initdefault: [root@ora9i ~]# vi /etc/inittab # # inittab This file describes how the INIT process should set up #... 阅读全文
posted @ 2014-06-02 01:30 全威儒 阅读(1048) 评论(0) 推荐(0)
摘要:按步骤介绍 Red Hat linux 如何增加swap空间 方法/步骤 第一步:确保系统中有足够的空间来用做swap交换空间,我使用的是KVM,准备在一个独立的文件系统中添加一个swap交换文件,在/opt/image中添加2G的swap交换文件 第二步:添加交换文件并设置其大小为2G,使用如下命令 [root@sense image]# d... 阅读全文
posted @ 2014-05-30 22:52 全威儒 阅读(6059) 评论(0) 推荐(0)
摘要:linux删除目录很简单,很多人还是习惯用rmdir,不过一旦目录非空,就陷入深深的苦恼之中,现在使用rm -rf命令即可。 直接rm就可以了,不过要加两个参数-rf 即:rm -rf 目录名字 -r 就是向下递归,不管有多少级目录,一并删除 -f 就是直接强行删除,不作任何提示的意思 工具/原料 Linux rm命令 步骤/方法 1.... 阅读全文
posted @ 2014-05-30 22:25 全威儒 阅读(11739) 评论(0) 推荐(0)
摘要:[root@oraserver ~]# vi /etc/pam.d/login 将以下内容注释掉: #session required /lib/security/pam_limits.so 阅读全文
posted @ 2014-05-30 18:46 全威儒 阅读(2887) 评论(0) 推荐(0)
摘要:-bash-3.00$ cat /etc/passwd |cut -f 1 -d: root daemon bin sys adm uucp guest nobody lpd lp invscout snapp ipsec nuucp sshd ortklgpi orabak applba... 阅读全文
posted @ 2013-04-26 14:32 全威儒 阅读(204) 评论(0) 推荐(0)
摘要:在linu... 阅读全文
posted @ 2013-01-24 14:32 全威儒 阅读(3196) 评论(0) 推荐(0)
摘要:我们知道在windows里面有远程桌面(著名的有pcanywhere,网络人等)对吧,在linux下我们同样有... 阅读全文
posted @ 2013-01-24 12:24 全威儒 阅读(17563) 评论(0) 推荐(0)