01 2013 档案

摘要:1. 首先去http://dev.mysql.com/downloads/mysql/5.5.html#downloads站点下载 MySQL-devel-5.5.29-2.linux2.6.i386.rpm MySQL-client-5.5.29-2.linux2.6.i386.rpm MySQL-server-5.5.29-2.linux2.6.i386.rpm2. yum install libaio3. 卸载旧的mysqlyum remove mysqlrpm -e --nodeps mysql-libs-5.1.*4. 安装#rpm -ivh MySQL-devel-5.5.29-2 阅读全文
posted @ 2013-01-30 11:37 Master HaKu 阅读(6784) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-01-29 18:14 Master HaKu 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-01-29 13:44 Master HaKu 阅读(132) 评论(0) 推荐(0) 编辑
摘要:1.查看CentOS自带的JDK是否安装,如果已经安装卸载#rpm –qa | grep jdk#rpm –qa | grep gcj#yum –y remove java-*-gcj-comat2.安装JDK下载jdk-6u18-linux-i586.bin或者jdk-6u18-linux-i586-rpm.bin,本次安装使用jdk-6u18-linux-i586.bin#mkdir /usr/local/java#cd .usr/local/java#chmod +x jdk-6u18-linux-i586.bin#./jdk-6u18-linux-i586.bin选择YES3.配置环境 阅读全文
posted @ 2013-01-28 13:40 Master HaKu 阅读(1549) 评论(0) 推荐(0) 编辑
摘要:一、CentOS 修改IP地址修改对应网卡的IP地址的配置文件 #gedit /etc/sysconfig/network-scripts/ifcfg-eth0修改以下内容DEVICE=eth0 #描述网卡对应的设备别名,例如ifcfg-eth0的文件中它为eth0 BOOTPROTO=static #设置网卡获得ip地址的方式,可能的选项为static,dhcp或bootp,分别对应静态指定的 ip地址,通过dhcp协议获得的ip地址,通过bootp协议获得的ip地址 BROADCAST=192.168.0.255 #对应的子网广播地址 HWADDR=00:07:E9:05:E8:B4 #对 阅读全文
posted @ 2013-01-28 11:31 Master HaKu 阅读(2935) 评论(0) 推荐(0) 编辑
摘要:一:使用CentOS常用命令查看cpu more /proc/cpuinfo | grep "model name" grep "model name" /proc/cpuinfo [root@localhost /]# grep "CPU" /proc/cpuinfo model name : Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz model name : Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz 如果觉得需要看的更加舒服 grep 阅读全文
posted @ 2013-01-28 11:27 Master HaKu 阅读(1127) 评论(0) 推荐(0) 编辑
摘要:很大的原因是防火墙:通过/etc/init.d/iptables status命令查询是否有打开80端口,如果没有可通过两种方式处理:1.修改vi /etc/sysconfig/iptables命令添加使防火墙开放80端口(推荐)-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT2.关闭防火墙/etc/init.d/iptables stop#start 开启#restart 重启永久性关闭防火墙chkconfig --level 35 iptables off 阅读全文
posted @ 2013-01-28 11:25 Master HaKu 阅读(788) 评论(0) 推荐(0) 编辑
摘要:1. 分区规划 2. 新增根目录分区3. 新增引导分区4. 新增swap分区5. 新增Home分区6. 最终分区图 阅读全文
posted @ 2013-01-25 16:48 Master HaKu 阅读(4677) 评论(0) 推荐(0) 编辑
摘要:一.   航班信息查询 1) 指定日期的航班信息查询 >AV: PEKCAN/10NOV 2) 指定航空公司的航班信息查询 >AV: PEKCAN/150CT/CA 3) 指定日期的航班所有舱位状态查询 >AV: H/PEKSHA/4SEP 二. 最早有座位的航班查询 FV: PEKCAN 阅读全文
posted @ 2013-01-24 10:16 Master HaKu 阅读(341) 评论(0) 推荐(0) 编辑
摘要:1. 将vmware的两张网卡的IP获得方式设置成自己获取 将vmware的两张网卡的IP获得方式设置成自己获取,很多情况下这两张网卡的IP在安装完vmware时会自动给你一个默认的IP地址,我刚开始做的时候因为这里没有修改所以导致我一直没有成功,后来才发现这里必须去自动获取IP,否则会连接不到路由器的网关,打开网络和网络共享中心,修改这两张网卡的ip获取方式2. 设置VMWare网卡适配器模式VM->Settings->选择桥接模式 3. 修改ubuntu网络ip地址为DHCP (注:静态IP方式会不能访问internet) sudo gedit /etc/network/int 阅读全文
posted @ 2013-01-22 17:20 Master HaKu 阅读(515) 评论(0) 推荐(0) 编辑
摘要:http://www.codeproject.com/Articles/515253/Service-Oriented-Architecture-and-WCF 阅读全文
posted @ 2013-01-22 09:46 Master HaKu 阅读(138) 评论(0) 推荐(0) 编辑
摘要:A layer of Mappers1 that moves data between objects and a database while keepingthem independent of each other and the mapper itself. -- Martin Fowler 阅读全文
posted @ 2013-01-14 17:31 Master HaKu 阅读(190) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示