Because the company project needs an interactive platform, can initiate activities, send message messages, discussed later found that this is a forum function.
So it is not intended to spend time to develop related functions, directly another set of BBS to calculate the ball ...
Always feel that building BBS is not a difficult, there are many mature products are supported directly to build a station, find some information to see after the discovery or need a lot of knowledge and architecture
Re-installed a CentOS 7 virtual machine, the installation process a lot of information, we go to search under
System Configuration Related
System version: Centos-7-x86_64-minimal-1503-01.iso
Host Name: BBS
Ip:10.10.10.14 This is a virtual machine auto-assignment
Below is a list of service support needed for the site
1. Apache Server
2. Mysql Installation
3. PHP Installation
4. discuz! Installation
Service installation
1. Installing Apache
A. Search for related software using Yum
[[email protected] ~]# yum search httpd loaded plugin: fastestmirrorloading mirror speeds from cached Hostfile * base:mirrors. 163.com * extras:mirrors.163.com * updates:mirrors.163.com======================================================== N/S matched:httpd ========================================================libmicrohttpd-devel.i686:development Files for libmicrohttpdlibmicrohttpd-devel.x86_64:development files for Libmicrohttpdlibmicrohttpd-doc.noarch: Documentation for Libmicrohttpdhttpd.x86_64:Apache HTTP serverhttpd-devel.x86_64:development interfaces for the Apache HTTP serverhttpd-manual.noarch:documentation for the Apache http serverhttpd-tools.x86_64:tools for use with the APAC He HTTP Serverlibmicrohttpd.i686:Lightweight library for embedding a webserver in Applicationslibmicrohttpd.x86_64:Lig Htweight Library for embedding a webserver in APPLICATIONSMOD_AUTH_MELLON.X86_64:A SAML 2.0 authentication module for th E Apache Httpd Servermod_dav_svn.x86_64:ApaChe httpd module for Subversion server
b, for httpd software Installation
Yum Install httpd.x86_64
The system will start to install, then the following will enumerate a lot of httpd service dependencies, direct y agreed to install, this installation look at the speed, generally will soon
C. View httpd status after successful installation
[[email protected] ~]# systemctl status httpd.servicehttpd.service-the Apache HTTP Server loaded:loaded (/usr/lib/s Ystemd/system/httpd.service; Disabled) active:inactive (dead)
Dead Description Service does not start, start this service: Systemctl start Httpd.service
[[email protected] ~]# systemctl status httpd.servicehttpd.service-the Apache HTTP Server loaded:loaded (/usr/lib/s Ystemd/system/httpd.service; Disabled) Active:active (running) since four 2015-11-05 17:47:08 CST; 6s ago Main pid:19288 (httpd) Status: "Proces Sing requests ... "
Loaded-disabled is not a random boot state, this needs to be modified: Systemctl enable Httpd.service
D, for server-related configuration, a lot of information is recommended to modify the Listen port is 8080, the default is 80, in fact, do not need to modify, if there is a modification configuration needs to restart the service. The default port configuration here.
Vi/etc/httpd/conf/httpd.conf
< VirtualHost > # directive.## Listen on specific IP addresses as shown below to# prevent Apache from glomming onto all Bound IP addresses.# #Listen 12.34.56.78:80listen
E, test whether our server is installed, open IE, enter the local IP plus the port number to access the Server Administration page.
This machine is 10.10.10.14, so my address is: http://10.10.10.14/
If you want the address bar to be displayed as a URL, you can also modify the configuration file data item ServerName, I set the company abbreviation Luoan, save restart service to take effect.
bbs. luoan.com:80
This is not more like that, haha, yes, the above URL to the browser can parse the words need to configure the local redirection.
OK, the server is installed.
2. Installation
Build Forum BBS discuz_x3.2 from scratch