OnITRoad - 常见问题
如何管理Jenkins凭证
如何管理Jenkins凭证 在本文中,我们将共享管理Jenkins凭据的信息。我们知道, 凭证基本上是用来验证用户/组的身份及其身份验证的。 简单地说,凭证是用户/密码。 为了在Jenkins中存储和管理凭证,我们需要插件。 在服务器上安装Jenkins时,如果我们已经安装了所有推荐的插件,那么默认情况下也会安装名为“ Credential plugin ”的插件。 在“凭据”页面中,我们将看到名
Views:0 2019-08-20
openerp 7.x管理员密码
openerp 7.x管理员密码 openerp7.x的admin管理员密码保存在.openerp_serverrc文件中。 su -l openerp cat ~/.openerp_serverrc|grep admin_passwd
Views:0 2019-08-20
MySQL备份bash脚本
MySQL备份bash脚本 这是一个简单的mysql备份脚本。那个脚本可以手动使用,也可以在crontab中使用。 脚本以.sql格式进行备份,压缩sql文件,最后发送包含mysql备份状态的邮件。 安装mail命令 yum install mailx ( Red Hat 和 CentOS) 或者 apt-get install mail-utils ( Debian 和 Ubuntu
Views:0 2019-08-20
mysqldump Binlogging on server not active
mysqldump Binlogging on server not active 在MySQL服务器上执行mysqldump命令时,报错: mysqldump:error:Binlogging on server not active 。 解决方案 先备份my.cnf文件。 在CentOS和Red Hat中,位置为/etc/my.cnf 在Debian和 Ubuntu中,位置为/etc/my
Views:0 2019-08-20
mysqldump table is marked as crashed and should be repaired
mysqldump table is marked as crashed and should be repaired 在使用mysqldump备份数据库时,报错: mysqldump: Got error: 145: Table ‘./DB/table-name’ is marked as crashed and should be repaired when using LOCK TABLES
Views:0 2019-08-20
Nagios插件检查mailfromd服务
Nagios插件检查mailfromd服务 我们将在bash中创建Nagios插件check_mailfromd脚本。用于检查mailformd服务的服务状态。 创建nagios插件 创建一个的新bash脚本文件。 vi check_mailfromd 内容如下 #!/bin/bash #Author jack #script is used for checking mailfromd
Views:0 2019-08-20
Nagios HTTP WARNING: HTTP/1.1 403 Forbidden
Nagios HTTP WARNING: HTTP/1.1 403 Forbidden 安装搭建nagios服务器后,无法访问,提示: Nagios HTTP WARNING: HTTP/1.1 403 Forbidden 要解决此问题,创建一个index.html文件 touch /var/www/html/index.html 重新启动httpd和nagios服务。即使不这样做,它也会在几分
Views:0 2019-08-20
Nagios插件-检查ssl证书
Nagios插件-检查ssl证书 我们将创建了一个名为check_ssl_cert_expiry的Nagios插件。用于检查ssl证书的日期。 nagios插件将在SSL证书到期日之前发送警报。 check_ssl_cert_expiry的功能: 1. 在SSL证书到期剩余天数之前发出警告和严重警报。 2. nagios服务器可能在不同时区运行。SSL证书的过期日期通常以GMT时区显示(正如我
Views:0 2019-08-20
在CentOS 7和RHEL 7上找不到netstat命令(Red Hat Enterprise Linux 7)
在CentOS 7和RHEL 7上找不到netstat命令(Red Hat Enterprise Linux 7) 在RHEL7和CentOS 7中, 报错: netstat command not found netstat命令是由nettools包提供的 yum install net-tools 可以使用yum provides查看软件包提供了哪些文件。 [root@localhost ~
Views:0 2019-08-20
新的XAMPP安全概念
新的XAMPP安全概念 安装XAMPP之后,提示错误页 Access to the requested object is only available from the local network Access forbidden! New XAMPP security concept: Access to the requested object is only available from
Views:0 2019-08-20
Nginx could not build the server_names_hash, you should increase server_names_hash_bucket_size
Nginx could not build the server_names_hash, you should increase server_names_hash_bucket_size 问题 nginx服务无法启动: [root@server ~]# systemctl restart nginx Job for nginx.service failed. See 'systemctl s
Views:0 2019-08-20
在Debian中使用apt-get安装时非交互式
在Debian中使用apt-get安装时非交互式 在使用apt-get安装时如何进行非交互式安装。 例如,在执行apt-get-y安装nagios-nrpe-server时,samba和dhcp包也会安装,此时它需要用户手动交互来表示yes/no。 如果我们不想交互确认。 必须设置名为“DEBIAN_FRONTEND=noninteractive”的环境变量。 例如: sudo export DE
Views:0 2019-08-20
在脚本中设置ssh登录服务器时不用交互输入密码
在脚本中设置ssh登录服务器时不用交互输入密码 如何在不需要人为手工输入密码的情况下登录服务器? 除了在脚本中使用expect命令。 还可以使用一个名为sshpass的包,我们可以通过SSH连接到服务器,而无需输入密码。 下面是操作的方法。 下载软件包 wget download.fedora.redhat.com/pub/epel/testing/5/i386/sshpass-1.05-1.
Views:0 2019-08-20
nagios.cmd file not found.
nagios.cmd file not found. 安装nagios,在配置vshell时报错: $./install.php NOTICE: nagios.cmd file not found. Please specify the location of this file in your /etc/vshell.conf file 解决方案 打开nagios.cfg文件并启用外部命令
Views:0 2019-08-20
owncloud错误 You are accessing the server from an untrusted domain
owncloud错误 You are accessing the server from an untrusted domain 在ubuntu14.04上安装了owncloud6后,打开时报错: You are accessing the server from an untrusted domain. Please contact your administrator. If you are
Views:0 2019-08-20
PHP Extensions "0" must be loaded Magento
PHP Extensions "0" must be loaded Magento 问题 在安装magentos1.7.0.2时,即使安装了php5mysql和所有依赖项,也会出现这个错误。 PHP Extensions "0" must be loaded Magento 解决方案 修改app/code/core/Mage/Install/etc/
Views:0 2019-08-20