ITeye博客

这一生CR

xxtianxiaxing · 共 132 篇文章

本机无法访问 mysql,远程可以访问

案例:本机无法访问 mysql,远程可以访问,修改过系统名字; 场景: tomcat 和 mysql 装载在同一台机器上,页面显示数据库连接不到,tomcat不在同一台计算机时候正常 [root@master0 ~]# mysql -ubbs -p Enter password: ERROR 1045 (28000): Access denied for user 'bbs'@'localhost' (using password: YES) 数据库查看授权情况: mysql> use mysql; mysql> select host, user from user where User …

2010-01-30 14:34 · mySQL · 评论(0)

linux fetion

wget http://www.it-adv.net/fetion/downng/library_linux.tar.gz wget http://www.it-adv.net/fetion/downng/fetion20090406003-linux.tar.gz wget http://www.it-adv.net/fetion/downng/fetion20091117-linux.tar.gz #在安装飞信之前需要在/usr/lib目录下加上libACE库文件,以便使飞信能够正常使用 [root@localhost src]# tar zxvf library_linux.tar.g…

2010-01-25 13:40 · Linux · 评论(1)

程序员珍藏的东西

http://jythoner.iteye.com/blog/570792

2010-01-25 09:50 · web · 评论(0)

jk 下载地址

mod_jk.so http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.28/x86_64/ #!/bin/ksh NAGIOSSRC=nagios-3.0.6 NAGIOSPLUGINSRC=nagios-plugins-1.4.13 NAGIOSCONTACTSCFG=/usr/local/nagios/etc/objects/contacts.cfg NAGIOSPASSWD=/usr/local/nagios/etc/htpasswd.users PASSWD=cluster…

2010-01-19 13:39 · Tomcat · 评论(0)

secureCRT 帮助信息

1. 解决hbase shell命令下无法删除的问题 options --> session options --> terminal --> emulation --> terminal(选择linux) 在hbase shell中如输入出错,按住 Ctrl+删除 键 即可删除!

2010-01-18 14:47 · Linux · 评论(0)

jpeg-6b 安装错误 归档

jpeg-6b 安装错误: ./libtool --mode=compile gcc -O2 -I. -c ./jcapimin.c make: ./libtool: Command not found make: *** [jcapimin.lo] Error 127 解决: //查找libtool 的安装目录,目的是复制libtool中的config.sub和config.guess文件至jpeg-6b根目录 [root@localhost jpeg-6b]# find / -name libtool /usr/local/bin/libtool /usr/local/share/lib…

2010-01-16 13:47 · Linux · 评论(0)

tomcat-connectors 异常

[root@localhost native]# ./buildconf.sh rm autom4te.cache libtoolize --force --automake --copy ./buildconf.sh: line 23: libtoolize: command not found aclocal ./buildconf.sh: line 27: aclocal: command not found autoheader ./buildconf.sh: line 29: autoheader: command not found automake -a --foreign -…

2010-01-16 13:36 · Tomcat · 评论(0)

keepalived 启动错误, keepalived starting exception

启动后keepalived后 系统日志/var/log/message 的错误 Jan 14 14:26:03 lvs-dr1 Keepalived_vrrp: Netlink: error: File exists, type=(20), seq=1263497162, pid=0 解决办法:可能是你在启动Keepalived之前,系统里面已经绑定了在Keepalived配置文件里面指定的VIP,请确保VIP只通过Keepalived来添加,而不是通过linux的配置文件(ifcfg-ethX)或者手动添加的

2010-01-14 15:00 · Linux · 评论(0)

初学linux做下这些题----多多练习

1. 添加用户u1和u2,并设置口令(配置如下) [root@mxl /]# useradd u1 [root@mxl /]# useradd u2 [root@mxl /]# passwd u1 Changing password for user u1. New UNIX password: BAD PASSWORD: it is too simplistic/systematic Retype new UNIX password: passwd: all authentication tokens updated successfully. [root@mxl /]# passwd u…

2010-01-12 17:22 · Linux · 评论(0)

keepalived 安装错误

[root@lvs-dr1 keepalived-1.1.15]Keepalived configuration ------------------------ Keepalived version : 1.1.15 Compiler : gcc Compiler flags : -g -O2 Extra Lib : -lpopt -lssl -lcrypto Use IPVS Framework : Yes IPVS sync daemon support : Yes Use VRRP Framework : Yes Use LinkWatch : No Use Debug flags …

2010-01-12 16:26 · Linux · 评论(1)

虚拟机 linux 挂载光驱

菜单VM-->setting-->Hardware-->选CD/DVD-->Connection [root@lvs-dr1 install]# mkdir /mnt/cdrom [root@lvs-dr1 install]# ls -l /dev/cdrom lrwxrwxrwx 1 root root 3 Jan 12 13:58 /dev/cdrom -> hdc [root@lvs-dr1 install]# mount /dev/cdrom /mnt/cdrom mount: block device /dev/cdrom is write-protected, mounting …

2010-01-12 14:37 · Linux · 评论(0)

secureCRT链接linux错误信息

secureCRT链接linux错误信息: the remote system refused the connection 解决: 启动该服务:service sshd start Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable. [FAILED] 使用rpm -V 命令可检查到ssh的软件包正常,但某个目录的属主错误。 -bash-2.05b# rpm -V openssh-server S.5..... c /etc/ssh/sshd_config .....U.. …

2010-01-11 12:00 · Linux · 评论(0)

heartbeat ha.cf 中文注解

引用: http://blog.chinaunix.net/u2/67390/showart_1905535.html # # There are lots of options in this file. All you have to have is a set # of nodes listed {"node ...} one of {serial, bcast, mcast, or ucast}, # and a value for "auto_failback". # 这文件下面有很多的选项,你必须设置的有节点列表集{node ...},{serial,bcast,mcast,或u…

2010-01-09 14:06 · Linux · 评论(0)

rpm 常用参数

rpm -q:查询软件包是否被安装 rpm -qa:查询并显示系统中已安装的软件包的详细信息 rpm -qi:查询指定软件包的详细信息 rpm -ql:查询指定软件包中包括的文件列表 rpm -qf:指定文件所属软件包 rpm -qpi:rpm安装包文件的详细信息 rpm -qpl:rpm软件包中包含的文件列表 rpm -i:安装指定的软件包到当前linux系统 rpm -ivh:安装指定的软件包时显示详细的安装信息 rpm -force:强制安装软件包 rpm -e:卸载指定的软件包 rpm -U:升级指定的软件包(如果指定的软件包在系统中没有的话,执行过程等同与安装) rpm -a:查询…

2010-01-08 17:49 · Linux · 评论(0)

linux chmod, ls 命令

查看文件权限的语句: [root@localhost install]# ls -ld temp.txt -rw-r--rw- 1 root root 0 Jan 8 06:53 temp.txt 第一列: 最前面那个 - 代表的是类型 2-4那三个 rw- 代表的是所有者(user) 5-7后那三个 rw- 代表的是组群(group) 8-10后那三个 r-- 代表的是其他人(other) 权限类型: r 表示文件可以被读(read) w 表示文件可以被写(write) x 表示文件可以被执行(如果它是程序的话) - 表示相应的权限还没有被授予 chmod o+w temp.txt 表示给…

2010-01-08 17:12 · Linux · 评论(0)