if (_type == "js") {//js预编译 var _script = "_define(function(exports,module){\n"; _script += "var $parent = \""...
分类:
其他好文 时间:
2014-06-15 23:52:57
阅读次数:
310
# vi /etc/yum.repos.d/dag.repo[dag]name=Dag RPM Repository for Red Hat Enterprise Linuxbaseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dagg...
分类:
数据库 时间:
2014-06-15 23:52:17
阅读次数:
500
在crontab定时执行python脚本,在shell下没有问题,在crontab中报no module,找不到安装的库。1 crond服务未启动crontab不是Linux内核的功能,而是依赖一个crond服务,这个服务可以启动当然也可以停止。如果停止了就无法执行任何定时任务了,解决的方法是打开它...
分类:
编程语言 时间:
2014-06-15 22:17:58
阅读次数:
423
axis2中的模块化开发,可以让开发人员自由的添加自己所需的模块,提高开发效率,降低开发的难度。
Axis2可以通过模块(Module)进行扩展。Axis2模块至少需要有两个类,这两个类分别实现了Module和Handler接口。开发和使用一个Axis2模块的步骤如下:
1. 编写实现Module接口的类。Axis2模块在进行初始化、销毁等动作时会调用该类中相应的方法)。
2. ...
分类:
Web程序 时间:
2014-06-15 19:06:14
阅读次数:
377
1.安装 snmp服务[root@localhost] yum install -y net-snmp net-snmp-utils2.配置snmp服务第一步:(yum安装snmpd的配置文件为/etc/snmp/snmpd.conf ,一份非常详细的文档,先备份一份snmpd.conf)[root...
分类:
其他好文 时间:
2014-06-15 15:48:56
阅读次数:
243
#!/bin/bash#安装必备的软件yum -y install dhcp tftp-server tftp xinetd syslinux vsftpdyum -y install *kickstart*#配置kickstart服务器端的DHCP服务>/etc/dhcpd.conf#######...
分类:
其他好文 时间:
2014-06-14 23:38:10
阅读次数:
1548
添加系统以外的软件库[1]Addrpmforerepositories#yum-yinstallhttp://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm#把“enabled=0”避免安装软件包发生冲突#sed-i-e"s/enabled=1/enabled=0/g"/etc/yum.repos.d/rpmforge.repo#使用此软件库..
分类:
其他好文 时间:
2014-06-13 21:21:32
阅读次数:
378
*************************************部署MYSQL*******************************************yum-yinstallgccgcc-c++gcc-g77autoconfautomakezlib*fiex*libxml*ncurses-devellibmcrypt*libtool-ltdl-devel*makecmakebison*useraddmysql-d/usr/local/mysql-s/sbin/nologintar-..
分类:
数据库 时间:
2014-06-13 21:10:19
阅读次数:
515
安装phpmyadmin通过web管理Mysql,所以需要WebServer的支持;[1]InstallphpMyadminformtoEPELrepositories#yum--enablerepo=epel-yinstallphpMyAdminphp-mysqlphp-mcrypt#vim/etc/httpd/conf.d/phpMyAdmin.conf
Alias/phpMyAdmin/usr/share/phpMyAdmin
Alias/phpmyadmin/usr/sha..
分类:
数据库 时间:
2014-06-13 21:09:16
阅读次数:
437
添加系统以外源:http://kernal.blog.51cto.com/8136890/1426095[1]InstallMysqlServer#yum-yinstallmysql-server
#/etc/rc.d/init.d/mysqldstart
InitializingMySQLdatabase:WARNING:Thehost‘webserver1.lisys.cn‘couldnotbelookedupwithresolveip.
Thisprobablymeansthatyour..
分类:
数据库 时间:
2014-06-13 21:04:08
阅读次数:
330