本文详细介绍FreeBSD平台安装配置web服务器
出现下面显示证明mysql安装成功!
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 2 to server version: 3.23.52
Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
mysql>
键入exit退出mysql。
为mysql的root用户设置一个口令123456
# mysqladmin -u root password '123456'
现在我们来安装一个支持php+mysql的论坛。到 http://www.faeryboard.com/showthread.php?s=&threadid=2429 去下载完美版的仙境论坛程序。将下载的rar压缩包解开,然后使用ftp上传到/home/ylf/app目录。
事先备份web服务器演示页面
# cd /usr/local/www/data
# mkdir backup
# mv * backup
将论坛程序拷贝到/usr/local/www/data目录
# cd /home/ylf/app/vbb2.3.0final
# cp –r * /usr/local/www/data
编辑论坛配置文件:
# vi /usr/local/www/data/admin/config.php
内容如下:
^M
/////////////////////////////////////////////////////////////^M
// Please note that if you get any errors when connecting, //^M
// that you will need to email your host as we cannot tell //^M
// you what your specific values are supposed to be //^M
/////////////////////////////////////////////////////////////^M
^M
// type of database running^M
// (only mysql is supported at the moment)^M
$dbservertype='mysql';^M #数据库类型
责编:豆豆技术应用
- Linux/Unix新闻
- Linux/Unix入门
- Linux/Unix命令
- Linux/Unix安装
- Linux/Unix编程
- Linux/Unix管理
- Linux/Unix桌面
- Linux/Unix内核
- Linux/Unix软件
- Linux/Unix发行版
- IBM AIX
- Solaris
- NetBSD
- SCO Unix
- NetBSD Internals
- NetBSD 指导手册
- FreeBSD Porter 手册
- FreeBSD Handbook 简体中文版
- FREEBSD 使用者手册
- FreeBSD 5.x 架设管理与应用
- FreeBSD 6.0架设管理与应用
- OpenBSD FAQ中文版