在 FreeBSD 6 上用 Ports 來安裝 Apache+MySQL+P…
2009-05-13 05:19:45来源:未知 阅读 ()
make install
Installing /usr/local/etc/rc.d/apache22.sh startup script.
To run apache www server from startup, add apache22_enable="YES"
in your /etc/rc.conf. Extra options can be found in startup script.
===> Compressing manual pages for apache-2.2.2
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for apache-2.2.2
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/lib/libapr-1.so.2
This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/apache22.sh
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://httpd.apache.org/
上面的訊息,提到要開機時馬上啟動 Apache Web Server 可以在 /etc/rc.conf 檔案中加入下面一行
apache22_enable="YES"
手動啟動 Apache Web Servrer 的方法
/usr/local/etc/rc.d/apache22.sh
Apache Web Server 設定檔在 /usr/local/etc/apache22/httpd.conf
根目錄在 /usr/local/www/data
安裝 MySQL(參考
FreeBSD 6.0架設管理與應用
)
cd /usr/ports/databases/mysql41-server
make WITH_CHARSET=big5 WITH_XCHARSET=all install clean
在 /etc/rc.conf 中加入下面一行
mysql_enable="yes"
接著您就可以使用下列指令啟動 MySQL
/usr/local/etc/rc.d/mysql-server.sh start
啟動 MySQL 後,我們就可以使用下列指令進入 MySQL 互動式命令列
/usr/local/bin/mysql mysql
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- Freebsd oracle 10g 2009-05-13
- KDE/FreeBSD 测试 QT-4.5.1. 2009-05-13
- OpenBSD 4.5下安装Gnome 2.24成功! 2009-05-13
- OpenBSD 4.5 2009-05-13
- DragonFly BSD 2.2.1发布 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash