This provides H2O RPM spec file and required files e.g. SysVinit, systemd service etc. to build RPM for Fedora, RHEL/CentOS 6/7 and OpenSUSE.
If you have a docker environment, you can build RPMs by just running
make
If you'd like to build RPM for specific distribution, please run a command like following
make centos6
Now this understands
- centos6
- centos7
- fedora
- opensuse
build options.
To build RPM in your server without docker, please copy files under
rpmbuild
to your
build system
After building, please copy RPM under *.build
directory to your system and
run
yum install h2o-1.5.4-1.el6.x86_64.rpm
or if you use Fedora 22 or later
dnf install h2o-1.5.4-1.fc23.x86_64.rpm
or if you use OpenSUSE
zypper install h2o-1.5.4-1.x86_64.rpm
Once the installation finishes successfully, you can see a configuration file
at /etc/h2o/h2o.conf
.
To start h2o, please run
service h2o start
or
systemctl enable h2o.service
systemctl start h2o.service
This is under MIT License. Please see the LICENSE file for details.