搜索""的结果
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 ...
ESXI VMotion fails at 10% with a memory resource error (1006408) Symptoms VMotion fails at 10% Cannot power on virtual machineThe vmware.log file for the virtual machine that fails to migrate contains messages similar to:Jul 17 09:21:31.809: vmx| [msg.vmmonVMK.admitFailed] Could not power on VM : Admission check failed for memory resourceJul 17 09:21:31.809: vmx| Please refer to the VMware ESX Server Resource Management Guide for information on resource management settings.Jul 17 09:21:31.809: vmx| [msg.monitorLoop.createVMFailed] Failed to power on VM----------------------------------------Jul 17 09:21:31.825: vmx| Module MonitorLoop power on failed. Resolution The message Admission check failed for memory resource indicates that the destination host is unable to accept the virtual machine because of a resource constraint. You must check resource settings and change the settings if necessary: To check resource settings:From the Inventory pane in VMware Inf...
ESXI Vcenter Failed to power on VM "Admission check failed for memory resource"Posted by Mohammed Raffic on July 23, 2012 in Troubleshooting | 2977 Views When you try to power on the virtual machine in the ESXi host configured with the lower amount of RAM. Generally the ESXi host running in the lab environment. I got the below error when try to power on the virtual machine yesterday. “Failed to power on VM :Could not power on VM : Admission check failed for memory resource See the VMware ESX Resource Management Guide for information on resource management settings. Group vm.80740: Cannot admit VM: Memory admission check failed. Requested reservation: 25046 pages”It looks something that memory resource allocation problem. First I thought to check the resource pool settings But unfortunately, I am not using resource pools in my lab environment. After that I verified the memory information of the ESXi host in the configuration Tab -> Memory. Please refer the be...
最新评论