07 2012 档案

摘要:在CentOS系统下,主要有两种方法设置自己安装的程序开机启动。1、把启动程序的命令添加到/etc/rc.d/rc.local文件中,比如下面的是设置开机启动httpd。#!/bin/sh## This script will be executed *after* all the other init scripts.# You can put your own initialization stuff in here if you don't# want to do the full Sys V style init stuff.touch /var/lock/subsys/loc 阅读全文
posted @ 2012-07-29 16:58 noneisnull 阅读(261) 评论(0) 推荐(0)
摘要:文章来源:http://www.centos.bz/2011/04/reset-mysql-root-password/你可以按照以下简单的五步来重置MySQL数据库服务器密码。第一步,停止MySQL服务器。第二步,使用–skip-grant-tables选择启动mysqld进程以便解除要求密码登录提示。第三步,以root用户连接mysql服务器。第四步,设置一个新的mysql root用户密码。第五步,退出并重启mysql服务器。以下给出每步的具体命令。1、停止mysql服务/etc/init.d/mysql stop输出:Stopping MySQL database server: my 阅读全文
posted @ 2012-07-29 16:56 noneisnull 阅读(278) 评论(0) 推荐(0)
摘要:netstat -pnt |grep 3721| awk '/^tcp/{print $5}' | cut -d: -f 1 | sort -n |uniq -c 阅读全文
posted @ 2012-07-25 16:38 noneisnull 阅读(769) 评论(0) 推荐(0)
摘要:Infomax Reference Phone Major Feature ListFeatureDescriptionKey ComponentSIM SlotSingle SIMIDTBDFrequency (MHz)850/900/1800/1900FEM, RFMD RF7170RFRDA6220EGPRS/EDGEClass-10, Type-B, Asynchronouse EDGEOSAndroid 2.2LCM3.5" HVGAR61529A1Touch Panel電容式多點觸控FT5206Memory MCP4Gb NAND Flash + 2Gb SDRAMhyn 阅读全文
posted @ 2012-07-21 16:04 noneisnull 阅读(437) 评论(0) 推荐(0)
摘要:常用命令service iptables [save|start|restart|stop]iptables -L -n简单shell命令iptables -P INPUT DROPiptables -P FORWARD DROPiptables -P OUTPUT DROPiptables -A INPUT -p tcp --dport 22 -j ACCEPTiptables -A INPUT -p tcp -m multiport --destination-port 22,80,8081,10000,9000,3307 -j ACCEPT重定向设置iptables -t nat -A 阅读全文
posted @ 2012-07-17 15:50 noneisnull 阅读(726) 评论(0) 推荐(0)
摘要:相关compile option 如下:MMS_SUPPORT 如OBIGO_Q03C_MMS_V01 或OBIGO_Q03C_MMS_V02MMS_FEATURE 如FULL, SLIM 或NONE08A 0836 之前的软件版本并没有MMS_SUPPORT 的定义,而是通过TELECA_FEATURE 和UNIFIED_MESSAGE_SUPPORT 来定义是否有打开MMS 功能。说明:1. MMS_SUPPORT MMS_SUPPORT = OBIGO_Q03C_MMS_V01V01 是短信与彩信分开的设计,该solution 从底层server 到mmi 全部采用第三方,尤其是UI 阅读全文
posted @ 2012-07-12 11:24 noneisnull 阅读(546) 评论(0) 推荐(0)
摘要:简介提高服务器性能有很多方法,比如划分图片服务器,主从数据库服务器,和网站服务器在服务器。但是硬件资源额定有限的情况下,最大的压榨服务器的性能,提高服务器的并发处理能力,是很多运维技术人员思考的问题。要提高Linux系统下的负载能力,可以使用nginx等原生并发处理能力就很强的web服务器,如果使用Apache的可以启用其Worker模式,来提高其并发处理能力。除此之外,在考虑节省成本的情况下,可以修改Linux的内核相关TCP参数,来最大的提高服务器性能。当然,最基础的提高负载问题,还是升级服务器硬件了,这是最根本的。TIME_WAITLinux系统下,TCP连接断开后,会以TIME_WAI 阅读全文
posted @ 2012-07-05 15:40 noneisnull 阅读(569) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2012-07-05 15:18 noneisnull 阅读(2787) 评论(0) 推荐(0)