- 博客(21)
- 资源 (9)
- 收藏
- 关注
原创 安装BeautifulSoup
1.下载https://www.crummy.com/software/BeautifulSoup/bs4/download/4.9/下载最新版BeautifulSoup2.安装cd F:\Downloads\beautifulsoup4-4.9.0\beautifulsoup4-4.9.0setup.py所在目录终端执行:python setup.py instal3.把2to3.py,F:\Downloads\beautifulsoup4-4.9.0\beautifulsoup4-4.9
2022-04-07 21:57:16 767
原创 用ConfigMap管理mysql配置
ConfigMap可以对容器配置文件及集中化定义和管理1.创建configMap的yaml文件cat mysql-config.yaml2.查看创建的configmap#kubectl get configmap -n db-test3.修改mysql deployment文件cat mysql-deploy.yaml ##红色部分是相对没有configmap配...
2019-09-02 18:07:07 856
原创 linuxshell命令用不来,显示input/output error
在linux真机上开启虚拟机,因为把真机上面的rhel6镜像文件进行拷贝出现input/output errorshell命令用不来,显示vda坏掉了#scp -r 172.1.14.253:/mnt/iso/* /mnt/iso在真机上#virsh destroy r6http(虚拟机名字)再次开启#virsh start r6httperror:cann
2017-11-05 12:54:20 505
原创 安装完postfix服务启动失败
#service postfix restartFaile 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 255
原创 nagios监控数据库错误
Question1:1有两种解决方法1)使用check_tcp 监听22号端口[root@localhost objects]# vim 192.168.0.201.cfg define service{use local-servicehost_name sanny01service_description SSHDcheck_command ch
2017-10-19 16:33:42 209
原创 set list的使用
Q:检查nagios一直报错[root@localhost objects]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgProcessing object config file '/usr/local/nagios/etc/objects/hosts.cfg'...Error: Invalid
2017-10-19 11:29:52 327
原创 安装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 1Solution:#yum install gcc-c++ -y然后重新编译:#./configure
2017-10-17 09:21:18 328
原创 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 750
原创 Yum:Fatal error, run database recovery
使用yum安装软件错误检查了安装光盘yum源重新挂载,还是不行又仔细看了一遍,发现是进程被锁住了kill -9 xxx杀死进程又提示。。。。
2017-10-11 18:52:30 97
原创 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 67
原创 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 52
原创 DNS泛解析 server can't find 100.17.16.172.in-addr.arpa: SERVFAIL
Q:域名泛解析,反向代理失败[root@jiangshan /]# nslookup 172.16.17.100Server: 172.16.17.1Address: 172.16.17.1#53** server can't find 100.17.16.172.in-addr.arpa: SERVFAILS:查看主配置文件和区配置文件#vim
2017-10-11 10:49:52 5882
原创 oracle 启动em失败
Q: [oracle@localhost ~]$ lsnrctl startLSNRCTL for Linux: Version 11.2.0.1.0 - Production on 04-OCT-2017 22:43:47Copyright (c) 1991, 2009, Oracle. All rights reserved.Starting /u0
2017-10-10 23:36:30 121
原创 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 2010Copyright (c) 1982, 2006, Oracle. All Rights Reserved.ERROR:ORA-12162: TN
2017-10-10 23:32:10 100
原创 oracle 安装main thread错误
Q: @localhost database]$ No protocol specifiedException in thread "main" java.lang.NoClassDefFoundErrorat java.lang.Class.forName0(Native Method)at java.lang.Class.forName(Class.java:164)at ja
2017-10-10 23:30:02 290
原创 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 311
原创 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 errorS:磁盘坏了重新拷贝一份然后挂在上去
2017-10-10 23:11:14 329
原创 oracle安装包缺失错误
Q: cannot create /tmp/OraInstall2017-10-04_02-40-22PM/jdk/jre/lib/amd64/motif21unable 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 235
原创 DNS正向解析
正向解析:把域名解析成IP地址1.安装软件# yum install bind -y2.启动服务# service named start3.修改主配置文件# vim /etc/named.conf11 listen-on port 53 { any; };17 allow-query { any; };20 dnssec-enable no;21 dn
2017-10-10 20:16:49 174
原创 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 346
Linux防火墙
2017-10-14
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
mysql-connector-java-5.1.6.tar.gz
2017-10-13
JavaCenter_Home_2.0_Source_UTF_8.zip
2017-10-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人