记录关于Devops运维,虚拟化容器云计算,数据库,网络安全等各方面问题。
一、下载所需文件 服务器:Subversion http://sourceforge.net/projects/ 客户端:Tortoisesvn http://tortoisesvn.net/downloads.html二、在Windows安装 解压文件,双击安装包,这个你会的,最傻瓜安装方式就是一直地Next。。。三、创建项目(一库一项目)1、建立目录,存放所有仓库,这里为 "D:\svnhome"。2、创立独立仓库,存放各个项目(web web2) svnadmin create D:\svnhome\web svnadmin create D:\svnhome\web2当然,你也可以使用Tortoisesvn创建仓库,先建立一个仓库目录D:\svnhome\web,在web上面点击右键,如下3、启动服务器 svnserve -d -r D:\svnhome至此,你的SVN服务器已经可以访问了!访问地址为:svn://127.0.0.1/web svn://127.0.0.1/web2如果不是在本机访问,必须把回路IP改成局域网或公网IP四、服务器简单配置1、编辑文件 D:\svnhome\web\conf\svnserve.conf (库配置文件),请将下面几行内容前面的#号与空格删除!每行前面不能有任何字符,不然会报错!anon-access = noneauth-access = writepassword-db = passwdauthz-db = authz 2、编辑文件 D:\svnhome\...
Centos6.8一个网卡多网段不同网关IP配置方法一台服务器只有一个网卡,但是接了三个不同的网段,且网关不一样。安装系统后,一定要先使用NetManger 服务来配置下网卡配置文件的内容。注意不能使用network 服务来生成网卡配置文件,不然网络会不通。# : service NetworkManager restart下面是手动修改后的eth0的配置文件,如下:DEVICE=eth0TYPE=EthernetUUID=57b58ac2-2532-4df8-aef0-08a4f6bf2f11ONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=staticIPADDR=23.252.160.35NETMASK=255.255.255.0GATEWAY=23.252.160.1DNS1=114.114.114.114HWADDR=00:0C:29:61:E4:5BDEFROUTE=yesPEERDNS=yesPEERROUTES=yesIPV4_FAILURE_FATAL=yesIPV6INIT=noNAME="System eth0"LAST_CONNECT=1466085224然后再手动复制ifcfg-eth0的配置, ifcfg-eth0:1, ifcfg-eth0:2DEVICE=eth0:1TYPE=EthernetONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=staticIPADDR=23.252.163.93NETMASK=255.255.255.0GATEWAY=23.252.163.1DEFROUTE=yesPEERDNS=yesPEERROUTES=yesIPV4_FAILURE_FATAL=yesIPV6INIT=noNAME="System eth0"LAST_CONNECT=1466085224配置好网卡信息后,最后使用network 启动,测试网...
opatch lsinventory 报oraInst.loc文件不存在 分类: Oracle 在检查数据库安装补丁信息时,需要使用opatch命令。这时就需要读取oraInst.loc文件,不同的系统这个文件的位置不一样。HP_UX 默认文件位置: /var/opt/oracle/ AIX & LINUX 默认文件位置: /etc我遇到的情况显示如下信息:$ opatch lsinventoryInvoking OPatch 10.2.0.4.3Oracle Interim Patch Installer version 10.2.0.4.3Copyright (c) 2007, Oracle Corporation. All rights reserved.Oracle Home : /oracle10g/oracleCentral Inventory : n/a from : OPatch version : 10.2.0.4.3OUI version : 10.2.0.4.0OUI location : /oracle10g/oracle/ouiLog file location : n/aOPatch cannot find a valid oraInst.loc file to locate Central Inventory.OPatch failed with error code 104根据自己的系统,到默认文件...
[INS-20802] Oracle Net Configuration Assistant failed。在安装Oracle 11g R2时出现了该错误提示。以前安装的时候没有碰到过类似的错误。原来是64bit和32bit系统兼容性的问题。如果基于64bit硬件安装32bit 的Linux 和32bit的Oracle 11g,则需要安装patch 8670579。下面给出patch的安装过程。一、错误提示 [INS-20802] Oracle Net Configuration Assistant failed . Cause -- The plug-in failed in its perform method. Action -- Refer to the logs or contact Oracle Support Services. Log File Location /u01/oraInventory/logs/installActions2011-10-27_02_42-57PM.log 查看日志文件: INFO: Oracle Net Services Configuration: INFO: # INFO: # An unexpected error has been detected by HotSpot Virtual Machine: INFO: # INFO: # SIGSEGV (0xb) at pc=0xa446a43c, pid=9431, t...
Recently I had a chance to work with the newly released PCIe AIC based Intel DC P3500 1.2TB NVMe SSD. After the installing Fusion-io on ESXi guide was published, NVMe was the next technology to evaluate. We were using a NVMe SSD to evaluate performance under VMware ESXi 6.0 and found some interesting results. I used the standard IOmeter for read throughput, write throughput, 4K read IOPS and 4K write IOPS. The results were certainly lower than we expected.Setting up the EnvironmentThe test server was a Lenovo TD340, a fairly typical dual Intel Xeon E5-2600 V2 tower server. The P3500 1.2TB NVMe SSD was plugged into the PCIe 3.0 x16 slot. VMware ESXi 6.0 detected the drive without any issues using built-in drivers.Intel DC P3500 1200GB available to ESXi 6After formatting the drive and attaching it to the ESXi host, I created a Windows Server 2012 R2 VM (on a different drive) then assigned the P3500 LUN drive to the VM.Intel DC P3500 1200...
Open-Falcon 是小米运维部开源的一款互联网企业级监控系统解决方案.Githubhttps://github.com/open-falcon/of-releaseHighlights and features数据采集免配置:agent自发现、支持Plugin、主动推送模式容量水平扩展:生产环境每秒50万次数据收集、告警、存储、绘图,可持续水平扩展。告警策略自发现:Web界面、支持策略模板、模板继承和覆盖、多种告警方式、支持回调动作。告警设置人性化:支持最大告警次数、告警级别设置、告警恢复通知、告警暂停、不同时段不同阈值、支持维护周期,支持告警合并。历史数据高效查询:秒级返回上百个指标一年的历史数据。Dashboard人性化:多维度的数据展示,用户自定义Dashboard等功能。架构设计高可用:整个系统无核心单点,易运维,易部署。Quick InstallOpen-Falcon,整体可以分为两部分,即绘图组件、告警组件。其中:安装绘图组件 负责数据的采集、收集、存储、归档、采样、查询、展示(Dashboard/Screen)等功能,可以单独工作,作为time-series data的一种存储展示方案。安装告警组件 负责告警策略配置(portal)、告警判定(judge)、告警处理(alarm/sender)、用户组管理(uic)等,可以单独工作。如果你熟悉docker,想快速搭建并...
magento2 wdcp_v3安装程序时报错误: exception 'Exception' with message 'Warning: Error while sending QUERY packet以下是修改的wdcp mysql5.6的配置文件,修改后重启,就可以了。# mysql conf /etc/my.cnf# Created by http://www.wdlinux.cn# Last Updated 2010.06.01[client]port = 3306socket = /tmp/mysql.sock[mysqld]port = 3306socket = /tmp/mysql.sockskip-external-lockingkey_buffer_size = 32Mmax_allowed_packet = 64Mtable_open_cache = 512sort_buffer_size = 1Mread_buffer_size = 1Mread_rnd_buffer_size = 2Mmyisam_sort_buffer_size = 8Mthread_cache_size = 8query_cache_size = 64Mthread_concurrency = 8max_connections = 5000wait_timeout = 100interactive_timeout = 30max_connect_errors = 9long_query_time = 1tmp_table_size = 32M#log-bin=mysql-bin#binlog_format=mixed#server-id = 1[mysqldump]quickmax_allowed_packet = 8M[mysql]no-auto-rehash[my...
下载地址:mysql-proxy-0.8.3-linux-glibc2.3-x86-64bit.tar.gzhttp://downloads.mysql.com/archives/proxy/添加用户:[root@martin tools]# groupadd -r -g 303 mysql-proxy [root@martin tools]# useradd -g mysql -u 303 -r -s /sbin/nologin mysql-proxy[root@martin tools]# tar xf mysql-proxy-0.8.3-linux-glibc2.3-x86-64bit.tar.gz -C /usr/local/ [root@martin tools]# cd /usr/local/ [root@martin local]# ln -sv mysql-proxy-0.8.3-linux-glibc2.3-x86-64bit/ mysql-proxy配置服务脚本:[root@martin mysql-proxy]# vim /etc/rc.d/init.d/mysql-proxy #!/bin/bash # # mysql-proxy This script starts and stops the mysql-proxy daemon # # chkconfig: - 78 30 # processname: mysql-proxy # description: mysql-proxy is a proxy daemon for mysql # Source function library. . /etc/rc.d/init.d/functionsprog="/usr/local/mysql-proxy/bin/mysql-proxy"conf="/etc/mysql-proxy.cnf"PROXY_PID="/var/run/mysql-proxy.pid" # Check that networking is up. [ ${NETWORKING} = "no" ] &...
LInux硬盘挂载失败,提示mount: wrong fs type, bad option, bad superblock on /dev/的解决办法客户重装系统后始终挂载硬盘。试了几次提示mount: wrong fs type, bad option, bad superblock on /dev/xvdb1应该不是分区格式问题,因为系统模板是我们做的,没有换过。客户也没有改变过硬盘分格式,我试着修复下/dev/xvdb1,运行e2fsck /dev/xvdb1然后一路"yes",几分钟后修复完成,再挂载,OK,成功了,再写入开机自动挂载脚本中:echo "/dev/xvdb1 /home ext3 defaults 1 2" >> /etc/fstab重启系统检查,OK,没问题了。
最新评论