09 2013 档案
用于软件包管理的21个Linux YUM命令 转载
摘要:http://flycars001.iteye.com/blog/1949085YUM到底是啥东东?YUM(Yellowdog Updater Modified)是一款开源命令行及图形化软件包管理工具,面向基于RPM(红帽软件包管理器)的Linux系统。 它让广大用户和系统管理员可以在系统上轻松地安装、更新、移除或搜索软件包。它由Seth Vidal开发和发布,采用了GPL(通用公共许可证),是一款开源工具。这意味着,谁都可以下载和访问代码,以修复软件错误,开发定制的软件包。YUM 通过解决软件包的依赖项问题,使用众多的第三方软件库来自动安装软件包。1. 使用Yum安装软件包想安装一个名为Fi 阅读全文
posted @ 2013-09-30 11:09 一天不进步,就是退步 阅读(1499) 评论(0) 推荐(0)
Apache+tomcat+mod_jk+centos6.2负载均衡集群配置--转载
摘要:转载地址:http://blog.163.com/chenhui_java/blog/static/17267249420128101191860/注: 由于长期受转载毒害,所以本人日志均是原创;其中所记载技术都是在项目中经过验证,能够正常运行后才整理出的相关文档。日志中本人会陈述在项目中所遇到的 所有问题及解决方法。由于软件和系统版本影响以及其他环境影响,可能大家所遇到的问题不同,希望朋友们可以将遇到的问题贴出来,一起解决。本日志是整理的使用jk搭建apache和tomcat负载均衡集群,其中并没有涉及到session的复制,请查看日志的朋友留意。我 使用两台服务器搭建集群,ip分别为:19 阅读全文
posted @ 2013-09-28 07:30 一天不进步,就是退步 阅读(469) 评论(0) 推荐(0)
libtool: link: `dftables.lo' is not a valid libtool object
摘要:手误造成的错误:make & make install。&位操作符导致的错误!应该是make && make install。 阅读全文
posted @ 2013-09-26 23:43 一天不进步,就是退步 阅读(1120) 评论(0) 推荐(0)
CentOS下安装JDK7 转载
摘要:转载地址:http://www.cnblogs.com/rilley/archive/2012/02/02/2335395.htmlCentOS下安装JDK7下载地址:http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html1. 安装JDK1.7.0下载完成后在取得root权限后执行:[root@sea sea]# sudo rpm -ivh /目录/jdk-7-linux-x64.rpm执行结果:Preparing... ######################## 阅读全文
posted @ 2013-09-26 00:04 一天不进步,就是退步 阅读(307) 评论(0) 推荐(0)
perl基本语法--转载
摘要:http://www.cnblogs.com/zhtxwd/archive/2012/03/06/2381585.html本文介绍从变量类型、操作运算符、控制叙述、子程序、I/O和档案处理、 Regular Expressions、Spectial Variables、Help、函数、总结几个部分介绍perl,只是叙述了一些Perl的基本语法。一.数据型态(Data type): Perl 的数据型态大致分为四种:Scalar(变量)、Scalar Array(数组)、Hash Array(散列)、References(指针),看起来虽少但用起来却绰绰有余。尤其在写Perl程序时可以不必事先宣 阅读全文
posted @ 2013-09-25 09:24 一天不进步,就是退步 阅读(569) 评论(0) 推荐(0)
window xp Apache与Tomcat集群配置--转载
摘要:转载地址:http://www.cnblogs.com/obullxl/archive/2011/06/09/apache-tomcat-cluster-config.html一、环境说明WindowsXPapache_2.0.59-win32-x86-no_ssl.msihttp://httpd.apache.org/mod_jk-apache-2.0.59.sohttp://tomcat.apache.org/download-connectors.cgiapache-tomcat-5.5.23.zip http://tomcat.apache.org/download-55.cgi我的. 阅读全文
posted @ 2013-09-24 15:19 一天不进步,就是退步 阅读(265) 评论(0) 推荐(0)
Tomcat Clustering - A Step By Step Guide --转载
摘要:Tomcat Clustering - A Step By Step GuideApache Tomcat is a great performer on its own, but if you're expecting more traffic as your site expands, or are thinking about the best way to provide high availability, you'll be happy to know that Tomcat also shines in a clustered environment. With 阅读全文
posted @ 2013-09-24 10:03 一天不进步,就是退步 阅读(776) 评论(0) 推荐(0)
centos nfs配置--转载
摘要:http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-nfs-client-config.html18.6.NFS Server ConfigurationThere are three ways to configure an NFS server under Red Hat Enterprise Linux: using the NFS Server Configuration Tool (system-config-nfs), manually editing its configuration file (/etc/ex 阅读全文
posted @ 2013-09-23 11:06 一天不进步,就是退步 阅读(1929) 评论(0) 推荐(1)
Mount NAS Storage in Linux Overview 转载
摘要:Mount NAS Storage in LinuxOverviewMounting your NAS Storage to a device that runs on a Linux-based Operating System can be done using a series of simple commands in the shell or terminal within the OS. This procedure outlines the steps required to mount NAS Storage on any of the following operating 阅读全文
posted @ 2013-09-22 15:41 一天不进步,就是退步 阅读(1518) 评论(0) 推荐(1)
Device eth0 does not seem to be present, delaying initialization.转载
摘要:昨天在vm里面克隆了个虚拟机,克隆之后,启动了网卡起不来,已启动就报Device eth0 does not seem to be present, delaying initialization.[FAILED]经过各种google,最终要是找到了答案使用克隆后的虚拟机时发现原来在基本系统中的网卡eth0到了新系统却没有了,使用ifconfig -a会发现只有lo。http://www.linuxyan.com/linux-service/181.html因为基本系统的网络相关配置都是基于eth0的,如果基于此克隆虚拟机继续克隆或复制新的虚拟机,网卡的标识每一次都会自动加1变成eth1(第二 阅读全文
posted @ 2013-09-21 21:43 一天不进步,就是退步 阅读(317) 评论(0) 推荐(0)
install keepalived on RedHat/CentOS to provide IP failover for web cluster
摘要:Contents[hide]1 Introduction2 Our Sample Setup3 Install Keepalived4 Install Kernel Headers5 Compile keepalived6 Create Required Softlinks7 Configuration8 Verify: Keepalived Working Or Not8.1 Sample outputs8.2 Hugo said ...8.3 YazzY said ...IntroductionKeepalived provides a strong and robust health c 阅读全文
posted @ 2013-09-21 18:53 一天不进步,就是退步 阅读(932) 评论(0) 推荐(0)
Tracert 转
摘要:路由跟踪在线TracertTracert(跟踪路由)是路由跟踪实用程序,用于确定 IP 数据报访问目标所采取的路径。Tracert 命令用 IP 生存时间 (TTL) 字段和 ICMP 错误消息来确定从一个主机到网络上其他主机的路由。Tracert 工作原理 通过向目标发送不同 IP 生存时间 (TTL) 值的“Internet 控制消息协议 (ICMP)”回应数据包,Tracert 诊断程序确定到目标所采取的路由。要求路径上的每个路由器在转发数据包之前至少将数据包上的 TTL 递减 1。数据包上的 TTL 减为 0 时,路由器应该将“ICMP 已超时”的消息发回源系统。 Tra... 阅读全文
posted @ 2013-09-11 18:25 一天不进步,就是退步 阅读(249) 评论(0) 推荐(0)
weblogic集群中获取jndi的方式
摘要:#ThefollowingexamplespecifiesalistofWebLogicServersusingthesameport:ht.put(Context.PROVIDER_URL,"t3://acme1,acme2,acme3:7001");AlltheWebLogicServerslistenontheportspecifiedattheendoftheURL.#ThefollowingexamplespecifiesalistofWebLogicServersusingthedifferentports:ht.put(Context.PROVIDER_URL 阅读全文
posted @ 2013-09-11 13:50 一天不进步,就是退步 阅读(403) 评论(0) 推荐(0)
《高性能网站构建实战》 目录--转
摘要:《高性能网站构建实战》第一篇 架构规划篇第1章 网站架构简介 21.1 网站的硬架构 21.1.1 机房的选择 21.1.2 带宽的大小 21.1.3 服务器的划分 31.2 网站的软架构 31.2.1 框架的选择 31.2.2 逻辑的分层 41.3 网站架构需要考虑的几个问题 51.3.1 html静态化 51.3.2 图片服务器分离 51.3.3 数据库集群和库表散列 61.3.4 缓存 61.3.5 镜像 71.3.6 负载均衡 71.4 操作系统的选择及参数优化 71.4.1 用u盘自动安装操作系统 71.4.2 系统初始化 13.1.5 小结 17第二篇 负载应用篇第2章 lvs+k 阅读全文
posted @ 2013-09-11 08:50 一天不进步,就是退步 阅读(828) 评论(0) 推荐(0)
linux下如何修改weblogic console登陆的用户名和密码
摘要:1. 执行安装目录下config.sh./config.sh2.选择 2|Extend an existing WebLogic configuration3. 别的一路跳过,到修改security,选择yes,即可修改weblogic console登录的用户名和密码。 阅读全文
posted @ 2013-09-03 11:41 一天不进步,就是退步 阅读(2691) 评论(0) 推荐(0)
启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory
摘要:http://hi.baidu.com/kaisep/item/0e4bf6ee5da001d1ea34c986 源地址启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory启动weblogic时报以下错误: 解决办法: 为避免此错误,应确保没有没有启动其它进程或访问此文件并将它删除。 在关机时通常会对此文件进行解锁,但如果上次发生了异常关机(如崩溃... 阅读全文
posted @ 2013-09-03 10:36 一天不进步,就是退步 阅读(1839) 评论(0) 推荐(0)
linux常用命令
摘要:#!/bin/sh myPath="/var/log/httpd/" myFile="/var /log/httpd/access.log" #这里的-x 参数判断$myPath是否存在并且是否具有可执行权限 if [ ! -x "$myPath"]; then mkdir "$myPath" fi 阅读全文
posted @ 2013-09-03 09:17 一天不进步,就是退步 阅读(467) 评论(0) 推荐(0)