posts - 0,  comments - 20,  trackbacks - 0

01 2010 档案

CentOs初始設定- USTC 不错更新源镜像
     摘要: 【前言】
以下前言內容擷於[CentOS - Wikipedia];CentOS(Community ENTerprise Operating System)是 Linux發行版之一,它是來自於 Red Hat Enterprise Linux 依照開放原始碼規定釋出的原始碼所編譯而成。由於出自同樣的原始碼,因此有些要求高度穩定性的伺服器以 CentOS 替代商業版的 Red Hat Enterprise Linux 使用。兩者的不同,在於 CentOS 並不包含封閉原始碼軟體,簡單說就是不用錢的 RHEL 不過享受自由當然也得不到商業支援了。

【作業環境】

CentOS 5.1 (Linux 2.6.18-53.el5)

【安裝及設定】

以下是記錄我個人在安裝 CentOS 後會做的一些設定,至於如何安裝 CentOS?由於網路上文件夠多了所以就不重新造輪子了,要注意的大概就是 /var 不要切太小因為使用 yum update 時暫存資料都放在 /var/cache/yum,其它都差不多...  阅读全文

posted @ 2010-01-19 11:22 Documents 阅读(1326) | 评论 (0)  编辑

vsftpd不能访问,SELinux相关的操作
     摘要: # 当前SELinux开启设为启动,permissive模式,在当前状态下,可以使用setenforce 1改变为enforcing模式
[root@CentOS5 ~]# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: disabled
Policy version: 21
Policy from config file: targeted
  阅读全文

posted @ 2010-01-18 22:59 Documents 阅读(3629) | 评论 (0)  编辑

CentOS 5.4环境下的php5.3.1手动安装
     摘要: CentOS 5.4环境下的php5.3.1手动安装

Cent自带的版本是5.1.16,现下载php5.3.1安装包tar.gz,解压到/usr/local/src中
执行下述命令:
./configure \
"--prefix=/usr/local/php" \
"--with-apxs2=/usr/sbin/apxs" \
"--with-config-file-path=/usr/local/php/etc" \
"--with-mysql=/usr/local/mysql" \
"--with-mysqli" \
"--with-libxml-dir=/usr/lib/libxml"   阅读全文

posted @ 2010-01-18 12:42 Documents 阅读(575) | 评论 (0)  编辑

FreeBSD 8 mysql apache php java整合
     摘要: 1.下载安装FreeBSD 8,DVD1
2.安装mysql 5 - 利用ports安装
cd /usr/ports/databases/mysql50-server/
make install clean # n长的编译过程
rehash
mysql_install_db --user=mysql
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
/usr/local/bin/mysqld_safe -user=mysql &
  阅读全文

posted @ 2010-01-14 13:47 Documents 阅读(819) | 评论 (0)  编辑

Cent OS OpenJava 1.6 Apache 2.x Tomcat 6.x JK-1.2.28(Apache Tomcat Connectors )整合
     摘要: 1.下载解压 Apache安装至 /usr/local/apache
2.下载解压tomcat安装至 /usr/local/tomcat
3.下载JK-1.2.28源文件(Apache Tomcat Connectors ) 在Tomcat官网界面上有相应连接
4. 编译JK-1.2.28
  阅读全文

posted @ 2010-01-13 18:32 Documents 阅读(558) | 评论 (0)  编辑

<2024年3月>
252627282912
3456789
10111213141516
17181920212223
24252627282930
31123456

留言簿

文章分类

文章档案

J2EE

搜索

  •  

最新评论