`
文章列表
执行 select * from rpt_dayinventory where operate_date='2011-07-08'; 报错 ORA-01861: 文字与格式字符串不匹配 加入执行 ALTER session SET nls_date_format = "YYYY-MM-DD"; select * from rpt_dayinventory where operate_date='2011-07-08';
1、 [root@YF tmp]# rpm -qa mysql mysql-5.0.77-4.el5_4.2 mysql-5.0.77-4.el5_4.2 2、 [root@YF tmp]# rpm -e mysql-5.0.77-4.el5_4.2 error: "mysql-5.0.77-4.el5_4.2" specifies multiple packages 3、 [root@YF tmp]# rpm -e --allmatches mysql-5.0.77-4.el5_4.2 error: Failed dependencies:         libmy ...
登录master机和slave机的mysql:mysql –u root –p ,一个有密码一个没有密码 两个都创建数据库:create database repl; master :192.168.10.254 slave:192.168.10.204 1、设置master 编辑配置文件 /etc/my.cnf server-id=1 binlog-do-db=repl 创建一个mysql的账号为同步专用 mysql –u root –p mysql> grant replication slave on *.* to 'gl'@'192.168.10.204' ide ...
Mysql的主从同步(新数据库) 数据库同步复制功能的设置都是在mysql的配置文件(liunx 下是为/etc/my.cnf)中体现的。主要工作原理为slave端记录并且执行master端的操作日志。 分别登录master机和slave机的mysql:mysql –u root –p 创建数据库:create database repl; 1、设置同步master 编辑配置文件 /etc/my.cnf 确保有如下行 server-id=1 binlog-do-db=repl  //需要备份的数据库名,如果需要备份多个数据库,重复设置这个选项即可。 log-bin=mysql-bin  ...
由于我的系统在安装的时候只默认安装了客户端,没有安装服务器端 rpm安装报错 perl convert asn1 is needed by samba 有依赖包没有安装 rpm -ivh perl-Convert-ASN1-*.rpm 然后再安装samba 启动 service smb start OK
刚开始提示: give root password for maintenance or type control-d for continue 后来才知道输入密码进入shell 修复系统 repair system模式 修改/etc/fstab,把那错误信息删除 发现修改不了,为只读的 后查资料为 进入系统后可能处于只读状态,可以通过mount -n -o remount,rw / 来变为可读写状态。 后可以修改,保存重启 google的时候搜索到一个fsck  以前没用过 指令:fsck 使用权限 : 超级使用者 使用方式 :   fsck [-sACVRP] ...
几种查看linux版本信息的方法: 1. 只显示核心 uname -a   2. 显示核心、rad hat版本和日期 cat /proc/version 3. linux系统版本,比如我的就显示centos5.5 cat /etc/issue 4. 更详细的信息包括3 lsb_release -a
centos系统启动报错 listening for an nis domain server.rpcinfo:can`t contact portmapper:RPC:Remote system error -Connection timed out 百度问了下,有了答案 高手的答案: 这个是因为你没有设置nis server,但是启动的时候启动了nis 可以进单用户把启动项关掉 在grub界面进启动项,加single或者1进入单用户 chkconfig --list|grep ypbind 看下345是不是on,如果是的话改成off chkconfig --level 345 y ...
grub     1.   在出现grub画面时,用上下键选中启动linux的项,按e键      2.   再次用上下键选中你平时启动linux的那一项(类似于kernel   /boot/vmlinuz-2.4.18-14   ro   root=LABEL=/),然后按e键      3.   修改你现在见到的命令行,在其后加入“空格single”,结果如下:      kernel   /boot/vmlinuz-2.4.18-14   ro   root=LABEL=/ single         4.   回车返回,然后按b键启动,即可直接进入linux命令 ...
总结了一些需要注意的地方 1、确认网络打印机所在主机已经成功安装驱动,并共享打印机,在安全选项卡里,有相应的用户和相应的权限 2、两台打印机最好有相同的操作系统 3、客户端。关闭防火墙,启动Print Spooler服务,安装NWlink NetBIOS协议 4、本地连接-》Internet协议-》高级-》WINS-》启用tcpip上的NetBIOS 5、两台机子需要在同一个工作组下 6、如果网络打印机有密码,客户端连接的时候需要用户名和密码 7、本地连接的microsoft网络的文件和打印机共享需要勾选安装
http://ftp.twaren.net/Linux/CentOS/5.5/isos/i386/
安装ies4linux前需要安装wine 和 cabextract 1、安装wine  http://blog.zjol.com.cn/210629/viewspace-234630 我用的是源码安装,可以用root用户,如果是简单安装需要用普通用户 tar jxvf wine-1.3.11.tar.bz2 cd wine-1.3.11 ./configure make depend && make && make install make clean 2、cabextract的安装 tar zxvf cabextract-1.1.tar.g ...
[root@localhost wine-1.3.11]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a ...
在装wine的时候 [root@localhost wine-1.3.11]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output fil ...
1、查看下载的rar文件     rar v VMware-WorkstationXXXXXX.rar 2、解压文件到当前目录      rar e VMware-WorkstationXXXXXX.rar 3、改变bundle的文件类型为可执行       sudo chmod +x VMware-Workstation-Full-7.1.3-324285.i386.bundle 4、直接执行VMware-Workstation-Full-7.1.3-324285.i386.bundle    跳出图形界面安装 报错 [root@localhost /]# ./VM ...
Global site tag (gtag.js) - Google Analytics