----------- --------
110 北京市
120 天津市
[相关软件]
Redhat 7.0 Linux
Apache 1.3.12
PHP 4.0.0
Sybase 11.9.2 for Linux /Intel
[安装过程]
1。 安装RED HAT 7.0
我选择了Customer 全安装,因为安装Sybase时,要有X环境。
安装完成后,建立一个工作目录/home/workshop,上传所有安装文件
sybase-common-11.9.2-3.i386.rpm
sybase-openclient-11.1.1-3.i386.rpm
apache_1.3.12.tar.gz
php-4.0.0.tar.gz
2. 安装Sybase的open-client.
在/home/workshop目录下:
host_name# rpm -hiv sybase-common-11.9.2-3.i386.rpm
host_name# rpm -hiv sybase-openclient-11.1.1-3.i386.rpm
默认的安装路径为/opt/sybase-11.9.2/ , 并且有了一个sybase用户,用passwd sybase命令更改sybase用户的密码。
现在,用sybase登陆到你的linux计算机上,计算机将显示
------------------------------------------------------------------------
C-Shell users:
source .cshrc
=> Start @#srvbuild@#
srvbuild
Documentation towards any Sybase product can be found on our Dynaweb
pages accessible from our World Wide Web site:
We would like you to register your installation and find more
information about this Sybase Adaptive Server Enterprise release
for Linux available from:
Enjoy this Sybase Adaptive Enterprise Server installation !
bash-2.04$
------------------------------------------------------------------------
这时,启动Xwindow环境,
bash-2.04$startx
在Xwindow环境中,运行/opt/sybase-11.9.2/bin/dsedit, 选择Add New Server Entry,
Server Name : devhost (可随意写)
再选择add new network transport ,
transport type : TCP
host name : 211.5.6.50 (服务器的ip)
port Number: 5000 (Sybase服务器监听的端口)
完成后,确定退出。
可用isql命令检验是否连接成功,
bash-2.04$isql -Usa -Sdevhost
输入密码后,出现
1> use test
2> go
1> select * from test.Province
2> go
Province_id Province
----------- --------
110 北京市
120 天津市
130 河北省
140 山西省
150 内蒙古
210 辽宁省
220 吉林省
230 黑龙江
... ...
610 陕西省
620 甘肃省
630 青海省
640 宁夏区
650 新疆区
660 西藏区
(28 rows affected)
1>
啊,现在openclient就安装完成了。
2. 安装Apache 及 PHP4
host_name/home/workshop# tar -vzxf apache_1.3.12.tar.gz
host_name/home/workshop# tar -vzxf php-4.0.0.tar.gz
进入apache目录,预编译apache
# ./configure --prefix=/home/apache
我们把Apache 安装在/home目录下。
进入php目录,编译php + sybase
#cd ../php-4.0.0
# ./configure --with-apache=../apache_1.3.12
--with-mysl=no
--with-sybase-ct=/opt/sybase-11.9.2/
--enable-ftp
--enable-track-vars
# make ; make install
# cp php.ini-dist /usr/local/lib/php.ini
# cd ../apache_1.3.12
# ./configure --prefix=/home/apache --activate-module=src/modules/php4/libphp4.a
# make ; make install
编译工作已经完成了,现在需要修改一些配置文件。
#cd /home/apache/conf
#vi httpd.conf
修改DirectoryIndex index.html index.php3 index.php那一行
将AddType application/x-httpd-php .php那一行前面的#去掉
加入一行AddType application/x-httpd-php .php3
最后,还需要修改几个参数
ServerName
ServerAdmin
DocumentRoot "/home/apache/htdocs"
启动Apache
cd ../bin
./apachectl start
现在,要写一个文件,让apache在计算机启动时也启动。
and you will edit /etc/rc.d/rc.sysinit , add auto_run file at the last line.
auto_run will be created at /usr/sbin and with +x mode.
auto_run is:
#!/bin/sh
/home/apache/bin/apachectl restart
==================================================================================
安装部分完成。
110 北京市
120 天津市
[相关软件]
Redhat 7.0 Linux
Apache 1.3.12
PHP 4.0.0
Sybase 11.9.2 for Linux /Intel
[安装过程]
1。 安装RED HAT 7.0
我选择了Customer 全安装,因为安装Sybase时,要有X环境。
安装完成后,建立一个工作目录/home/workshop,上传所有安装文件
sybase-common-11.9.2-3.i386.rpm
sybase-openclient-11.1.1-3.i386.rpm
apache_1.3.12.tar.gz
php-4.0.0.tar.gz
2. 安装Sybase的open-client.
在/home/workshop目录下:
host_name# rpm -hiv sybase-common-11.9.2-3.i386.rpm
host_name# rpm -hiv sybase-openclient-11.1.1-3.i386.rpm
默认的安装路径为/opt/sybase-11.9.2/ , 并且有了一个sybase用户,用passwd sybase命令更改sybase用户的密码。
现在,用sybase登陆到你的linux计算机上,计算机将显示
------------------------------------------------------------------------
C-Shell users:
source .cshrc
=> Start @#srvbuild@#
srvbuild
Documentation towards any Sybase product can be found on our Dynaweb
pages accessible from our World Wide Web site:
We would like you to register your installation and find more
information about this Sybase Adaptive Server Enterprise release
for Linux available from:
Enjoy this Sybase Adaptive Enterprise Server installation !
bash-2.04$
------------------------------------------------------------------------
这时,启动Xwindow环境,
bash-2.04$startx
在Xwindow环境中,运行/opt/sybase-11.9.2/bin/dsedit, 选择Add New Server Entry,
Server Name : devhost (可随意写)
再选择add new network transport ,
transport type : TCP
host name : 211.5.6.50 (服务器的ip)
port Number: 5000 (Sybase服务器监听的端口)
完成后,确定退出。
可用isql命令检验是否连接成功,
bash-2.04$isql -Usa -Sdevhost
输入密码后,出现
1> use test
2> go
1> select * from test.Province
2> go
Province_id Province
----------- --------
110 北京市
120 天津市
130 河北省
140 山西省
150 内蒙古
210 辽宁省
220 吉林省
230 黑龙江
... ...
610 陕西省
620 甘肃省
630 青海省
640 宁夏区
650 新疆区
660 西藏区
(28 rows affected)
1>
啊,现在openclient就安装完成了。
2. 安装Apache 及 PHP4
host_name/home/workshop# tar -vzxf apache_1.3.12.tar.gz
host_name/home/workshop# tar -vzxf php-4.0.0.tar.gz
进入apache目录,预编译apache
# ./configure --prefix=/home/apache
我们把Apache 安装在/home目录下。
进入php目录,编译php + sybase
#cd ../php-4.0.0
# ./configure --with-apache=../apache_1.3.12
--with-mysl=no
--with-sybase-ct=/opt/sybase-11.9.2/
--enable-ftp
--enable-track-vars
# make ; make install
# cp php.ini-dist /usr/local/lib/php.ini
# cd ../apache_1.3.12
# ./configure --prefix=/home/apache --activate-module=src/modules/php4/libphp4.a
# make ; make install
编译工作已经完成了,现在需要修改一些配置文件。
#cd /home/apache/conf
#vi httpd.conf
修改DirectoryIndex index.html index.php3 index.php那一行
将AddType application/x-httpd-php .php那一行前面的#去掉
加入一行AddType application/x-httpd-php .php3
最后,还需要修改几个参数
ServerName
ServerAdmin
DocumentRoot "/home/apache/htdocs"
启动Apache
cd ../bin
./apachectl start
现在,要写一个文件,让apache在计算机启动时也启动。
and you will edit /etc/rc.d/rc.sysinit , add auto_run file at the last line.
auto_run will be created at /usr/sbin and with +x mode.
auto_run is:
#!/bin/sh
/home/apache/bin/apachectl restart
==================================================================================
安装部分完成。
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
白云城资源网 Copyright www.dyhadc.com
暂无“Apache+PHP4.0+Sybase安装文档”评论...
RTX 5090要首发 性能要翻倍!三星展示GDDR7显存
三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。
首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。
据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。
更新日志
2024年05月18日
2024年05月18日
- 张琍敏2006-金鼎奖系列14[台湾版]CD1[WAV+CUE]
- 林一峰2008-城市旅人[香港首版][WAV+CUE]
- 群星1990-六个梦电视原声带[日本版][WAV+CUE]
- [In-Akustik7801]KissedByASong-《Dynaudio丹拿发烧示范盘》(2014)HQCD[WAV+CUE]
- 群星《17号音乐仓库2 第10期》[320K/MP3][66.53MB]
- 群星《17号音乐仓库2 第10期》[FLAC/分轨][163.67MB]
- 宝丽金50周年《古典篇》3CD限定盘[低速原抓WAV+CUE][1.8G]
- 群星.1986-新格名曲精选-歌3【新格】【WAV+CUE】
- 【ABC唱片】徐刚《独步外滩SACD》ISO+WAV分轨
- 刘月宁《扬琴独奏-木兰辞变奏曲》[FLAC+CUE]
- 陈奕迅《48首选》[WAV分轨][1.8G]
- 林忆莲《陪着我走》 SACD DSD64[DSF][1.1G]
- 卓依婷《化蝶》2CD[WAV+CUE][1.1G]
- 刘欢范琳琳.1988-信天游迪斯科(TP版)【内蒙古音像】【WAV+CUE】
- 群星-真声音真音乐[WAV+CUE]