自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 收藏
  • 关注

原创 CUPS的配置文件

编辑cupsd.conf vi /etc/cups/cupsd.conf## "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $"## Sample configuration file for the Common UNIX Printing System (CUPS)# scheduler. See "man ...

2012-12-19 11:32:21 2651

原创 redhat ntsysv 管理的服务

service list ----------------- amd   :运行automount精灵程序,该精灵在必要时自动安装一些本地设备和NFS文件系统。 apmd :用来监视系统用电状态,并将相关信息通过syslogd 写入日志。也可以用来在电源不足时关机。 arpwatch :该程序主要用来维护以太网物理地址和IP地址的对应关系。atalk :AppleT...

2012-11-29 12:28:24 157

原创 Ubuntu开启SSH服务

1. 首先在服务器上安装ssh的服务器端。$ sudo apt-get install openssh-server2. 启动ssh-server。$ /etc/init.d/ssh restart3. 确认ssh-server已经正常工作。$ netstat -tlptcp6 0 0 *:ssh *:* ...

2012-08-21 14:47:23 106

原创 原文转载:centos apache+php+mysql 安装

转载地址:http://www.cnblogs.com/ylqmf/archive/2011/09/07/2170087.html1.yum -y update 2.yum -y install httpd php mysql mysql-server php-mysql httpd-manual mod_ssl mod_perl mod_auth_mysql php-mcrypt ...

2011-11-30 14:00:18 101

原创 exp操作错误 map : Permission Denied

从应用服务器导出数据库服务器的数据库dump,提示错误:map : Permission Denied分段错误查相关文档:Unix permissions problem under ORACLE_HOMEApparently this is a known Oracle bug, after installing Oracle 10.2.0 Unix perm...

2011-11-30 10:00:06 325

原创 ORA-00054错误

ORA-00054:resource busy and acquire with NOWAIT specified or timeout expired; 查找并解决死锁:select object_name,session_id,oracle_username from v$locked_object t1, user_objects t2 where t1.object_id...

2011-11-07 10:56:45 86

原创 Centos DHCP开启,可以获得IP,但无法上网的问题

配置linux网络时候,可以ping通局域网,ping外网时提示: connect: network is unreachable这条命令就可以搞定:route add default gw 192.168.1.1后面那是你的网关。现在 route 一下Kernel IP routing tableDestination Gateway Genmask ...

2011-09-08 23:38:52 957

原创 RHEL/CENTOS禁止更新系统内核

2011-09-06 14:25:41 174

原创 转载:CentOS开启telnet服务

转载自:http://blog.csdn.net/zhujiangm/article/details/4540778服务器:CentOS-5.1(192.168.1.87)客户机:FC6(192.168.1.86) Windows XP(192.168.1.88)虽然telnet的明文传输有很大的安全隐患,而且现在基本上也被SSH来取代了,但是为了学习还是有必要了解一下,好了,进入正题实验名:...

2011-08-19 09:50:19 81

原创 Oracle的安装小结

1、通用的图形化管理工具是DBCA,可以直接增加或者删除数据库;2、自动启动#vim /etc/oratab 将N,改成Y,格式:$ORACLE_SID:$ORACLE_HOME:<N|Y>:#vim /etc/rc.d/rc.local 增加以下两行su oracle -lc "/home/oracle/app/oracle/product/11.2.0/dbhome...

2011-08-16 09:23:28 87

原创 转载:Linux: emergency reboot or shutdown with magic commands

Most linux distributions use some type of mechanism to gracefully stop daemons and unmount storage volumes during a reboot or shutdown. It's most commonly done via scripts that will wait for each dae...

2011-07-25 17:46:14 128

原创 转载:CentOS 下设置SVN

 转载自:http://www.cublog.cn/u/31179/showart_1387424.html 有修正Subversion有两种运行方式,一种是基于Apache Http Server,另外一种是Subversion Standalone Server。下面我讲解的是基于Apache Http Server的Subversion,这样做几个好处A.能使用WebDAV协议。B....

2011-07-07 10:01:22 82

原创 CentOS设置静态IP

貌似有很多种方法,但是我习惯用以下的方法: $su - root#vim /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0BOOTPROTO=static #DHCPCLASS=IPADDR=192.168.1.3 ##静态IPNETMASK=255.255.255.0 ##子网掩码TYPE=EthernetHWADDR=00...

2011-07-05 22:27:07 73

修改CentOS 5.6的源

$su - root#cd /etc/yum.repos.d/#cp CentOS-Base.repo CentOS-Base.repo.bak#vi CentOS-Base.repo修改原文为:[base]name=CentOS-$releasever - Basebaseurl=http://mirrors.163.com/centos/$releasever/os...

2011-07-04 23:31:43 151

原创 Using tsclient of Ubuntu to connect to Centos via vnc protocol

environment:Server: CentOS 5.6 64bitClient: Ubuntu 11.04 64bitTOOL:terminal server clientprotocol:vncServer Part:1、Check if vnc server is installed.[root@localhost ~]# rpm -qa|grep vnc...

2011-06-28 09:38:49 129

原创 ubuntu 的远程桌面链接

ubuntu的terminal server client使用vnc协议链接的话,其实在后台使用的是vncviewer,所以为了在tsclient里面可以使用vnc协议,必须安装vncviewer:sudo apt-get install xtightvncviewer...

2011-06-26 20:18:26 74

原创 转载:SCIM Chinese

转载自:https://help.ubuntu.com/community/SCIM/Chinese?highlight=%28Chinese%29|%28input%29 Chinese character input require SCIM. This page is a simple way to install SCIM without installing ad...

2011-06-16 16:20:56 87

原创 CentOS 安装卸载软件方法

转载自:http://wuzhaoqi597.blog.163.com/blog/static/1407904222011382512940/1、打开一个SHELL终端2、因为Linux下的软件名都包括版本号,所以卸载前最好先确定这个软件的完整名称。查找RPM包软件:rpm -qa ×××*注意:×××指软件名称开头的几个字母,不要求写全,但别错,*就是通配符号“*”,即星号,如你...

2011-06-16 10:05:54 168

原创 解决ubuntu打开.TXT文件乱码的问题

在ubuntu下打开.TXT文件,中文显示为乱码,在这找到了解决的办法:终端输入gconf-editor调出gconf-editPS:输入gconf-editor即可,前面不需要加Sudo依次点开apps->gedit-2->preferences->encodings 中的auto-detected在双击弹出对话框中加入GB18030,GBK,GB2312...

2011-06-15 23:24:45 66

原创 centos 挂载ntfs分区格式硬盘

原文地址http://longwang617.iteye.com/blog/749061 1, 首先确认fuse,CentOS 5.5 带有fuse,可以使用 rpm -qa | grep fuse 查看是否安装。 [root@localhost ntfs-3g-2010.5.22]# rpm -qa | grep fuse fuse-2.7.4-8.el...

2011-06-14 14:35:40 99

原创 RHEL AS5.2 通过yum update自动升级

通过 http://mirror-status.centos.org 网站查找离自己最近的镜像站点,替换下面文件中的相应地址:1.修改 /etc/yum.repos.d/rhel-debuginfo.repo 为如下内容:[base]name=Red Hat Enterprise Linux $releasever -Basebaseurl=http://mirror.be...

2011-06-01 11:16:20 76

原创 Redhat EL5.4用CentOS源进行更新

1.备份或删除yum源配置文件#cd /etc/yum.repos.d#mv rhel-debuginfo.repo rhel-debuginfo.repo.bak 2.编辑CentOS-Base.repo,填入以下内容[base]name=CentOS-5 - Baserepo=osbaseurl=http://centos.ustc.edu.cn/c...

2011-06-01 11:05:54 66

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除