Quantcast
Channel: 容器云计算,Devops,DBA,网络安全。
Browsing all 780 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How To Configure A High Available Load-balancer With HAProxy And Keepalived

How To Configure A High Available Load-balancer With HAProxy And Keepalived This tutorial explains how to set up a two-node load balancer with HAProxy and keepalived on CentOS 7. The load balancer...

View Article


How to configure DRBD On CentOS 6.5

How to configure DRBD On CentOS 6.5 IntroductionThe Distributed Replicated Block Device (DRBD) is a distributed replicated storage system for the Linux platform. It is implemented as several userspace...

View Article


Image may be NSFW.
Clik here to view.

How To Install Snort NIDS On CentOS 7

How To Install Snort NIDS On CentOS 7 IntroductionThere are few and straight forward administration guides are available for snort on the web. Today, we will try to explain anatomy of snort step by...

View Article

Image may be NSFW.
Clik here to view.

RHEL 7 / CentOS 7: How to get started with Firewalld,自定义服务与端口

RHEL 7 / CentOS 7: How to get started with Firewalld Hello All,Today I was trying to learn and know about Systemd. I have found one of the great Article about firewalld, Sharing with you guys, It will...

View Article

CentOS 7 firewall 修改服务端口与新增服务方法

CentOS 7's new firewalld service Oliver Pelz December 2015  In this article by Oliver Pelz, author of the book, CentOS 7 Linux Server Cookbook, Second Edition, we will learn the fundamentals of...

View Article


Image may be NSFW.
Clik here to view.

EwoMail开源WEB邮件服务器软件

EwoMail开源邮件服务器软件EwoMail是基于Linux的开源邮件服务器软件,集成了众多优秀稳定的组件,是一个快速部署、简单高效、多语言、安全稳定的邮件解决方案,帮助你提升运维效率,降低 IT...

View Article

Linux主机日志通过Shell定时备份到NFS远端存储方法

Linux主机日志备份基本方法。由于主机日志比较多,需要保留日志。所以主机通过NFS备份到一台闲置主机上面。以下是救命脚本信息。可以根据自己情况修改。通过定时任务,备份日志,示例日志有两种,一种是日志文件按天来分割。另外一种是按日志文件大小来分割。log_home="/home/logs"...

View Article

linux 程序通过shell 定时重启方法

服务器有个java程序,运行时每周一会出现调用数据库时,产生的数据不正常。需要每周一重启程序后,才会正常生成数据库数据。所以作了一个定时重启脚本。比较简单,以下是示例。cat crond_pss/restartpss.sh #!/bin/bashproc_pid=`ps -ef|grep 'pps.main.PssServer'|grep -v "grep" | awk '{print...

View Article


Oracle 日志文件Warning: log write elapsed time 664ms, size 1KB

Warning: log write elapsed time 664ms, size 1KB 突然才发现一个数据库的LGWR进程的跟踪文件scm2_lgwr_5690.trc有大量的告警信息,如下所示: *** 2017-08-07 17:05:03.132Warning: log write elapsed time 664ms, size...

View Article


Image may be NSFW.
Clik here to view.

无法登录到 vCenter Server Appliance 的 root 帐户 (重置Vcenter密码)

无法登录到 vCenter Server Appliance 的 root 帐户 (2099752) Symptoms 免责声明:本文为 Unable to log in to the root account of vCenter Server Appliance (2069041) 的翻译版本。尽管我们会不断努力为本文提供最佳翻译版本,但本地化的内容可能会过时。有关最新内容,请参见英文版本。登录...

View Article

oracle 存储过程与游标返回出多行数据案例

oracle 利用存储过程输入参数返回多行数据方法。oracle 自带示例scott账号下,利用存储过程返回一行与多行数据方法。1,利用存储过程返回一行数据,输入参数empno,返回ename与sal.create or replace procedure p_emp_info(p_empno emp.empno%TYPE)asp_ename emp.ename%TYPE;p_sal...

View Article

oracle数据库时间戳转换成日期时间方法

oracle数据库时间戳转换成日期时间方法时间戳是自 1970 年 1 月 1 日(00:00:00 GMT)以来的秒数。它也被称为 Unix 时间戳(Unix Timestamp)。Unix时间戳(Unix timestamp),或称Unix时间(Unix time)、POSIX时间(POSIX...

View Article

oracle 使用PL/SQL与游标(CURSOR),循环(loop),条件(if)来更新数据。

oracle 使用PL/SQL与游标(CURSOR),循环(loop),条件(if)来更新数据。declare  CURSOR emp_cursor is    SELECT ename, sal FROM emp FOR UPDATE;  emp_record emp_cursor%ROWTYPE;begin  OPEN emp_cursor;  LOOP    FETCH emp_cursor...

View Article


oracle PL/SQL中使用替代变量与多层嵌套

oracle 使用pl/sql通过雇员所在部门号查出对应部门名称。参考示例语句如下:declarev_no emp.deptno%TYPE;v_dname dept.dname%TYPE;begin  begin  select e.deptno into v_no from emp e where lower(e.ename)=lower('&dna');  end;select...

View Article

Oracle FUNCTION创建函数与plsql调用方法

定义:CREATE [OR REPLACE] FUNCTION <过程名>[(参数列表)] RETURN 数据类型 IS         [局部变量声明]         BEGIN            可执行语句          EXCEPTION            异常处理语句          END [<过程名>];变量的类型:in 为默认类型,表示输入;...

View Article


oracle PL/SQL 标识符命名规则+大小写规则

代码编写规则 一、PLSQL 块的语法规则:     1、语句可以跨跃几行。     2、词汇单元可以包括:分隔符、标识符、文字、和注释内容。     3、分隔符:      +-*/=<>||....     4、标识符:      最多30个字符,不能有保留字除非用双引号引起。      字母开头,不与列同名。     5、文字串:如...

View Article

Tomcat对CVE-2017-12615和CVE-2017-12616: Tomcat安全漏洞问题

针对CVE-2017-12615和CVE-2017-12616: Tomcat安全漏洞问题做重要预警。如您尚未完成相关漏洞的修复工作,强烈建议您参考下文立即执行解决方案。Apache...

View Article


Image may be NSFW.
Clik here to view.

利用MySQL读写分离,提升应用数据吞吐性能

利用MySQL读写分离,提升应用数据吞吐性能...

View Article

Image may be NSFW.
Clik here to view.

Excel 非常有用的快捷键功能

.grap_1{ color:#000000; } .gray { color: #999999; }1秒就能解决的Excel问题,有人竟花了9小时! 这个灾难跟一个「世纪难题」有关,那就是——「Excel 到底有多少行?」 为了找到这一问题的结果,2017 年 1 月 11 日,一外国小哥勇敢地站了出来,亲手进行手动计数实验。 令人「感动」的是, 9 小时 36 分之后,他终于成功滚到了最后一行!...

View Article

PHP博客打开报错:Fatal error: Smarty : syntax error: unrecognized tag

本站博客添加百度的一键分享功能代码后,打开网站提示以下报错:Fatal error: Smarty error: [in blog.html line 46]: syntax error: unrecognized tag: "common":{"bdSnsKey":{ (Smarty_Compiler.class.php, line 455)...

View Article
Browsing all 780 articles
Browse latest View live