记录关于Devops运维,虚拟化容器云计算,数据库,网络安全等各方面问题。
1.概述    G5是一款高性能高并发负载、易配置使用、支持远程管理的轻量级TCP/IP的通讯转发、(负载均衡)通讯分发器软件。基于epoll(ET)事件驱动非堵塞全异步无锁框架实现(在非Linux操作系统上退化为select实现),能运行在Linux、UNIX和WINDOWS等多种主流操作系统上。    G5支持所有TCP应用层协议,这意味着不仅可以用于网站HTTP服务,还能用在SMTP、POP、FTP上等,甚至非常见TCP应用协议。    G5支持几乎所有主流负载均衡算法,如轮询、最少连接数、最小响应时间等。    使用场景如下:    * 简单的TCP通讯转发    * 与无负载均衡功能的通讯软件配合实现负载均衡分发,避免改造通讯软件带来的工作量和风险    * 网站反向代理通讯网关2.开发背景    今天和系统运维的老大聊天,谈到一直在用的F5,行里对其评价为价格过高、功能复杂难懂,没有发挥相应的价值。因为以前我曾经给行里开发过一个通讯中间件,附带软实现了负载均衡,几年使用下来一直效果不错,突然想自己再软实现一个纯负载均衡通讯分发器,并开源分享给大家。    说干...
Centos6 安装pen 实现负载均衡,下面是web安装实例。 Install pen which is lightweight simple Load Balancing software.It is TCP protocol based, so it's possible to balance not only HTTP but SMTP, FTP, LDAP and so on.This example is based on the environment like follows. | --------+-------------------------------------------------------------------- | +-------------------+--------------------+--------------------+ |10.0.0.30 |10.0.0.51 |10.0.0.52 |10.0.0.53 +------+-----+ +-------+------+ +-------+------+ +-------+------+ | Frontend | | Backend#1 | | Backend#2 | | Backend#3 | | Pen Server | | Web Server | | Web Server | | Web Server | +------------+ +--------------+ +--------------+ +--------------+  Configure Pen to load balance to Backend#1, Backend#2, Backend#3 web servers.[1]Install Pen.# install from EPEL[root@dlp ~]# yum --enablerepo=ep...
Centos7 安装配置vsftpd,ftp 530 /ftp 500 报错解决方法首先安装vsftpd 软件,142  yum -y install vsftpd  143  systemctl enable vsftpd.service   144  systemctl start vsftpd.service 启用vsftpd 服务下面是添加ftpadmin 账号与ftp目录  145  useradd -d /var/www/html/ -s /sbin/nologin ftpadmin#vi /etc/vsftpd.conf将配置文件中”anonymous_enable=YES “改为 “anonymous_enable=NO”取消如下配置前的注释符号:local_enable=YESwrite_enable=YESchroot_local_user=YESchroot_list_enable=YESchroot_list_file=/etc/vsftpd.chroot_list保存退出编辑/etc/vsftpd/chroot_list文件,将ftpadmin的帐户名添加进去,保存退出修改ftpadmin 密码  147  passwd ftpadmin   148  systemctl restart vsftpd.service   修改ftp目录的用户组。  169  chown -R ftpadmin /var/www/html使用ftp功能测试,ftp登陆正常。
    Centos6 配置openvpn,windows客户端   首先安装软件包。   1  yum -y install openvpn easy-rsa 复制配置文件    2  cp -R /usr/share/easy-rsa/ /etc/openvpn/    3  cp /usr/share/doc/openvpn-2.3.2/sample/sample-config-files/server.conf /etc/openvpn安装一些工具,可以不装    4  yum -y install gcc gcc-c++ autoconf automake libtool gettext lzo lzo-devel pam-devel    9  cd /etc/openvpn/easy-rsa/2.0/ 初始化证书的授权中心# source ./vars#./clean-all 创建CA证书和密钥./build-ca   创建服务端的证书和密钥    18  ./build-key-server server6.        创建客户端的证书和密钥   19  ./build-key chenshake   20  ./build-dh 修改系统参数,打开路由包转发功能。   21  vi /etc/sysctl.conf # Controls IP packet forwardingnet.ipv4.ip_forward = 1# Controls source route verificationnet...
ڵȨ鿴־
ڵȨ鿴־
告警日志介绍   告警日志文件是一类特殊的跟踪文件(trace file)。告警日志文件命名一般为alert_<SID>.log,其中SID为ORACLE数据库实例名称。数据库告警日志是按时间顺序记录message和错误信息。   告警日志位置 在ORACLE 10g中,BACKGROUND_DUMP_DEST参数确定了告警日志的位置,但是告警日志的文件名无法修改,告警日志的名称为:alert_<SID>.log ,其中<SID>是实例的名称。BACKGROUND_DUMP_DEST参数是动态的。 SQL> show parameter background_dump_dest; NAME TYPE VALUE--------------------- ----------- ------------------------------background_dump_dest string /u01/app/oracle/admin/GSP/bdumpSQL> 告警日志以及所有后台跟踪文件都会被写至BACKGROUND_DUMP_DEST参数所指定的目录。 在ORACLE 11g 以及ORACLE 12c中,告警日志文件的位置有了变化。主要是因为引入了ADR(Automatic Diagnostic Repository:一个存放数据库诊断日志、跟踪文件的目录),关于ADR对应的目录位置可以通过查看v$diag_info系统视图。如下所示(ORACLE 12c ) SQL> select * from v$diag_info; INST_...
CentOS PPTPD VPN一键安装包 系统要求:CentOS 5 32bit/64bit。安装方法,登陆SSH后输入以下命令: CentOS 5.X专用: wget http://www.huzs.net/soft/pptp_onekey/pptpd5.sh sh pptpd5.sh CentOS 6.X专用: wget http://www.huzs.net/soft/pptp_onekey/pptpd6.sh sh pptpd6.sh 安装完成后会提示vpn用户名和密码。 VPN用户管理: 直接编辑文件:,按照相同格式添加用户名和密码即可。 vi /etc/ppp/chap-secrets以下是Centos6 安装 PPTP.sh 脚本源码:yum remove -y pptpd pppiptables --flush POSTROUTING --table natiptables --flush FORWARDrm -rf /etc/pptpd.confrm -rf /etc/ppprpm -Uvh http://poptop.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpmyum --enablerepo=poptop-stable install pptpdmknod /dev/ppp c 108 0echo 1 > /proc/sys/net/ipv4/ip_forwardecho "mknod /dev/ppp c 108 0" >> /etc/rc.localecho "echo 1 > /proc/sys/net/ipv4/ip_forward" >> /etc/rc.localecho "localip 172.16.22.254" >> /etc/pptpd.confecho "rem...
Install KVMInstalling Softaculous Virtualizor for Linux-KVM is very simple.Contents1 Requirements2 Partition Scheme3 Installation3.1 Installation Parameters4 Login5 Admin Panel6 Ports7 Create Storage8 Virtualizor Network in KVM9 Trouble Shoot9.1 Cant open http://IP-Address:4084Requirements CentOS 5.x / 6.x / 7.x or Red Hat Enterprise Linux 5.x / 6.x or Scientific Linux 5.x / 6.x or Ubuntu 12.04 or Ubuntu 14.04 (x86_64) yum / apt-get Storage to create the VPS (DomUs) disksNotes :- KVM module does not support 32 bit operating system. Please install a 64 bit OS if you want to install KVM. KVM module requires VT enabled from the BIOS to be loaded.Partition SchemePartitionSizeDescription/80-100 GBRoot partition containing all Hardware Node operating system files, OS templates and ISOsSWAP4 GB +Paging partition for the Linux operating system(Swap memory is been used by virtual servers if there is shortage of real memory)StorageAll the remaining space on the hard diskThis partition c...
Install XenServerInstalling Softaculous Virtualizor for XenServer is very simple.Contents1 Requirements2 Partition Scheme3 Installation3.1 Installation Parameters4 Login5 Admin Panel6 PortsRequirements XenServer 6.2 or XenServer 6.5 YUMNotes :- XenServer 6.2 or XenServer 6.5 needs to be installed before and Virtualizor will be installed on that. Before installing virtualizor on Xenserver 6.5 you will require to disable cirtix repo to start virtualizor installation.You can disable repo(For Xenserver 6.5 only) with following command from "CLI":sed -i 's/^enabled=1/enabled=0/' /etc/yum.repos.d/Citrix.repo After installation of virtualizor is completed you can enable it.You can enable repo(For Xenserver 6.5 only) with following command from "CLI":sed -i 's/^enabled=0/enabled=1/' /etc/yum.repos.d/Citrix.repo Partition SchemeXenServer does not allow you to change the partition scheme much. When XenServer is installed it will be installed with 4GB space for the ...
    总共268页,当前第112页 | 页数:
  1. 102
  2. 103
  3. 104
  4. 105
  5. 106
  6. 107
  7. 108
  8. 109
  9. 110
  10. 111
  11. 112
  12. 113
  13. 114
  14. 115
  15. 116
  16. 117
  17. 118
  18. 119
  19. 120
  20. 121
  21. 122