基于centos ,apache, mysql 安装 reviewboard 3.0.17
Prepartion
1.CentOS Linux release 8.1.1911 (Core)
3.dependences install
$ yum install gcc libffi-devel openssl-devel patch
$ sudo yum install python2-devel.x86_64
$ sudo dnf install redhat-rpm-config
$ sudo yum install make
Apache
1.Install Apache
To install Apache on your CentOS server, use the following command:
$ sudo yum install httpd.x86_64
2.Activate Apache
To activate Apache, start its service first.
1.start httpd.service
$sudo systemctl start httpd.service
- Next, set the Apache service to start when the system boots:
$sudo systemctl enable httpd.service
3.Verify Apache Service
Display information about Apache, and verify it’s currently running with:
$ sudo systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Active: active (running) since Mon 2020-01-27 08:55:21 EST; 1s ago
Docs: man:httpd.service(8)
Main PID: 3536 (httpd)
Status: "Started, listening on: port 80"
Tasks: 213 (limit: 5030)
Memory: 17.2M
CGroup: /system.slice/httpd.service
├─3536 /usr/sbin/httpd -DFOREGROUND
├─3537 /usr/sbin/httpd -DFOREGROUND
├─3538 /usr/sbin/httpd -DFOREGROUND
├─3539 /usr/sbin/httpd -DFOREGROUND
└─3540 /usr/sbin/httpd -DFOREGROUND
Jan 27 08:55:21 soar systemd[1]: Starting The Apache HTTP Server...
Jan 27 08:55:21 soar systemd[1]: Started The Apache HTTP Server.
Jan 27 08:55:21 soar httpd[3536]: Server configured, listening on: port 80
4.Configure firewalld to Allow Apache Traffic
In a standard installation, CentOS 7 is set to prevent traffic to Apache.
Normal web traffic uses the