- 博客(21)
- 资源 (9)
- 收藏
- 关注
原创 安装BeautifulSoup
1.下载 https://www.crummy.com/software/BeautifulSoup/bs4/download/4.9/ 下载最新版BeautifulSoup 2.安装 cd F:\Downloads\beautifulsoup4-4.9.0\beautifulsoup4-4.9.0 setup.py所在目录 终端执行:python setup.py instal 3.把2to3.py, F:\Downloads\beautifulsoup4-4.9.0\beautifulsoup4-4.9
2022-04-07 21:57:16
857
原创 用ConfigMap管理mysql配置
ConfigMap可以对容器配置文件及集中化定义和管理 1.创建configMap的yaml文件 cat mysql-config.yaml 2.查看创建的configmap #kubectl get configmap -n db-test 3.修改mysql deployment文件 cat mysql-deploy.yaml ##红色部分是相对没有configmap配...
2019-09-02 18:07:07
1022
原创 linuxshell命令用不来,显示input/output error
在linux真机上开启虚拟机,因为把真机上面的rhel6镜像文件进行拷贝 出现input/output error shell命令用不来,显示vda坏掉了 #scp -r 172.1.14.253:/mnt/iso/* /mnt/iso 在真机上 #virsh destroy r6http(虚拟机名字) 再次开启 #virsh start r6http error:cann
2017-11-05 12:54:20
610
原创 安装完postfix服务启动失败
#service postfix restart Faile Solution: step1: 查看防火墙关闭状态,IP,DNS服务,是否已经设置好,hostname设置成mail.tt.com,。/etc/hosts设置成 192.168.0.200 mail.tt.com DNS可以解析mail.tt.com 查看日志; 1)ctrl+shift+t 新开一个窗口
2017-10-21 00:45:38
397
原创 nagios监控数据库错误
Question1: 1 有两种解决方法 1)使用check_tcp 监听22号端口 [root@localhost objects]# vim 192.168.0.201.cfg define service{ use local-service host_name sanny01 service_description SSHD check_command ch
2017-10-19 16:33:42
268
原创 set list的使用
Q:检查nagios一直报错 [root@localhost objects]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Processing object config file '/usr/local/nagios/etc/objects/hosts.cfg'... Error: Invalid
2017-10-19 11:29:52
406
原创 安装mysql时提示:redeclaration of C++ built-in type ‘bool’ make[1]: *** [my_new.o] Error 1
Question:在编译Mysql源码包 #make&& make install 时报错: error: redeclaration of C++ built-in type ‘bool’ make[1]: *** [my_new.o] Error 1 Solution: #yum install gcc-c++ -y 然后重新编译: #./configure
2017-10-17 09:21:18
399
原创 configure database with database control requires a listener to be configured in the current oracle
配置dbca时,提示configure database with database control requires a listener to be configured in the current oracle you need tu run Netca to configure a listener before you can proceed
2017-10-14 00:38:06
913
原创 Yum:Fatal error, run database recovery
使用yum安装软件错误 检查了安装光盘 yum源 重新挂载,还是不行 又仔细看了一遍,发现是进程被锁住了 kill -9 xxx杀死进程 又提示。。。。
2017-10-11 18:52:30
161
原创 mysql学习笔记(二)运算符
运算符 1.算术运算符 + - * / mysql> select 1+4; +-----+ | 1+4 | +-----+ | 5 | +-----+ 1 row in set (0.01 sec) mysql> select 1+'4a'; +--------+ | 1+'4a' | +--------+ | 5 | +--------+ 1 row i
2017-10-11 13:29:02
126
原创 rhel6 postfix邮件系统
安装DNS # yum install bind bind-chroot -y # vim /etc/named.conf ---------------------------------------------------------------------------- options { listen-on port 53 { 172.16.17.1; }; all
2017-10-11 13:02:26
111
原创 DNS泛解析 server can't find 100.17.16.172.in-addr.arpa: SERVFAIL
Q:域名泛解析,反向代理失败 [root@jiangshan /]# nslookup 172.16.17.100 Server: 172.16.17.1 Address: 172.16.17.1#53 ** server can't find 100.17.16.172.in-addr.arpa: SERVFAIL S: 查看主配置文件和区配置文件 #vim
2017-10-11 10:49:52
7406
原创 oracle 启动em失败
Q: [oracle@localhost ~]$ lsnrctl start LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-OCT-2017 22:43:47 Copyright (c) 1991, 2009, Oracle. All rights reserved. Starting /u0
2017-10-10 23:36:30
182
原创 ORA-12162: TNS:net service name is incorrectly specified
Q:[oracle@LOCALHOST~]$ sqlplus “/ as sysdba” SQL*Plus: Release 10.2.0.3.0 - Production on Sat Aug 27 22:54:48 2010 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. ERROR: ORA-12162: TN
2017-10-10 23:32:10
144
原创 oracle 安装main thread错误
Q: @localhost database]$ No protocol specified Exception in thread "main" java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at ja
2017-10-10 23:30:02
380
原创 oracle 安装 tmp空间的大小不够
Q: Error in writing to directory /tmp/OraInstall2017-10-04_03-23-16PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue. : No space lef
2017-10-10 23:13:05
405
原创 rpm 安装错误Input/output error
Q: mnt/cdrom/Packages/libXau-devel-1.0.6-4.el6.x86_64.rpm: not an rpm package (or package manifest): Input/output error S: 磁盘坏了 重新拷贝一份然后挂在上去
2017-10-10 23:11:14
442
原创 oracle安装包缺失错误
Q: cannot create /tmp/OraInstall2017-10-04_02-40-22PM/jdk/jre/lib/amd64/motif21 unable to process jdk/jre/lib/amd64/motif21/libmawt.so. checkdir error: cannot create /tmp/OraInstall2017-10-04_02-49-
2017-10-10 23:05:16
316
原创 DNS正向解析
正向解析:把域名解析成IP地址 1.安装软件 # yum install bind -y 2.启动服务 # service named start 3.修改主配置文件 # vim /etc/named.conf 11 listen-on port 53 { any; }; 17 allow-query { any; }; 20 dnssec-enable no; 21 dn
2017-10-10 20:16:49
230
原创 linux oracle alert文件位置找不到
Question Description: 在学习oracle startup时,需要找到alert报警日志检查启动情况,可是 $ORACLE_BASE/admin/$ORACLE_SID/bdump/alert_orcl.log之后显示没有这个文件或者目录 Solution:我装的oracle是11g的报警日志 路径: $ORACLE_BASE/diag/rdbms/orcl/orcl/t
2017-10-06 16:53:08
479
php-intl-5.3.3-22.el6.x86_64.rpm
2017-10-13
php-mbstring-5.3.3-22.el6.x86_64.rpm
2017-10-13
JavaCenter_Home_2.0_Source_UTF_8.zip
2017-10-13
Linux防火墙
2017-10-14
mysql-connector-java-5.1.6.tar.gz
2017-10-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅