posts - 0,  comments - 20,  trackbacks - 0
CentOS
CentOS 5.2 LVM 新增加一块硬盘的方法      摘要: 有用LVM2,现在.空间不足,需.再加一块硬盘。 鲜花
先加上硬盘,用fdisk .-l.,可以看到新硬盘。.
给新加的硬.盘分区: fdisk /dev/s.db.
>n
>t
>8e(linux LVM)
  阅读全文
posted @ 2010-09-25 15:09 Documents 阅读(587) | 评论 (0)  编辑
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 阅读(1327) | 评论 (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 阅读(3631) | 评论 (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)  编辑
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)  编辑
linux下手动安装pdo_mysql
posted @ 2009-12-11 22:23 Documents 阅读(2178) | 评论 (0)  编辑
转:基于CentOS的LAMP
posted @ 2009-12-10 09:27 Documents 阅读(276) | 评论 (0)  编辑

<2024年4月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

留言簿

文章分类

文章档案

J2EE

搜索

  •  

最新评论