兴国资源网 Design By www.nnzcdc.com
----------- --------
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
==================================================================================
安装部分完成。
兴国资源网 Design By www.nnzcdc.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
兴国资源网 Design By www.nnzcdc.com
暂无评论...
P70系列延期,华为新旗舰将在下月发布
3月20日消息,近期博主@数码闲聊站 透露,原定三月份发布的华为新旗舰P70系列延期发布,预计4月份上市。
而博主@定焦数码 爆料,华为的P70系列在定位上已经超过了Mate60,成为了重要的旗舰系列之一。它肩负着重返影像领域顶尖的使命。那么这次P70会带来哪些令人惊艳的创新呢?
根据目前爆料的消息来看,华为P70系列将推出三个版本,其中P70和P70 Pro采用了三角形的摄像头模组设计,而P70 Art则采用了与上一代P60 Art相似的不规则形状设计。这样的外观是否好看见仁见智,但辨识度绝对拉满。
更新日志
2024年05月16日
2024年05月16日
- 黑帝斯哈迪斯2姊妹双刃图鉴及附魔效果一览 黑帝斯哈迪斯2全武器图文介绍
- 刘文正.2013-金典歌展2CD【南方】【WAV+CUE】
- 刘珺儿.2001-标准心上人【P.TMUSIC】【WAV+CUE】
- 谭小环.1997-自主【BMG】【WAV+CUE】
- WBG入选沙特电竞世界杯!角逐多个电竞项目
- 《小谢尔顿》最终季大结局首曝片段 成年谢米回归!
- 鸣潮凌阳声骸怎么选择 凌阳声骸搭配及词条选择攻略
- 鸣潮莫特斐声骸怎么选择 莫特斐声骸搭配及词条选择攻略
- 黑帝斯哈迪斯2月石之斧图鉴及附魔效果一览 哈迪斯斧头介绍及祝福推荐
- 甲子慧.2015-最爱【乾坤唱片】【WAV+CUE】
- 甲子慧.2007-红线情【乾坤唱片】【WAV+CUE】
- 周翠玲.2010-JZ8爵士八号【久乐实业】【WAV+CUE】
- 《家园3》公布最新预告片 高级版玩家已可抢先体验!
- 《地狱之刃2》预告对比:精心打磨三年 画质显著提升
- 《生化危机4:重制版》路径光追Mod:帧数遭暴降 画面大提升