摘要:
以 apache/httpd 服务作为例子任务Red Hat / Fedora Ubuntu Ubuntu (with sysv-rc-conf or sysvconfig) 立即启动/停止某服务service httpd start invoke-rc.d apache start service apache start 启动时自动加载chkconfig httpd on update-rc.d apache defaults sysv-rc-conf apache on 启动时不加载chkconfig httpd off update-rc.d apache purge sysv-rc- 阅读全文
摘要:
1.下载 JDK :http://www.oracle.com/technetwork/java/javase/downloads/index.html我目前现在到最新版本是:jdk-7u6-linux-i586.rpm2. 安装: rpm -ivh jdk-7u6-linux-i586.rpm安装结束到时候会报出很多到文件未找到到警告信息,这些信息可以忽略。3. 配置java环境变量编辑/etc/profile, 在末尾加上:#set java environmentJAVA_HOME=/usr/java/jdk1.7.0_06CLASSPATH=.:$JAVA_HOME/lib/tools 阅读全文