Unofficial H2O RPM for Fedora, RHEL/CentOS and OpenSUSE builder
Shell Makefile HTML
Permalink
Failed to load latest commit information.
rpmbuild Update H2O version to 2.1.0 Jan 18, 2017
scripts Change fedora base image from fc23 to fc24 Sep 8, 2016
.gitignore Deploy RPMs to Bintray automatically Aug 17, 2016
.travis.yml Deploy RPMs to Bintray automatically Aug 17, 2016
Dockerfile.centos6 Install git required for building mruby Dec 20, 2016
Dockerfile.centos7 Install git required for building mruby Dec 20, 2016
Dockerfile.fedora Install git required for building mruby Dec 20, 2016
Dockerfile.opensuse-leap Install git required for building mruby Dec 20, 2016
Dockerfile.opensuse13
LICENSE Add license file May 23, 2015
Makefile Update H2O version to 2.1.0 Jan 18, 2017
README.md Update H2O version to 2.1.0 Jan 18, 2017

README.md

H2O Unofficial RPM package builder

Build Status

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 search Debian package, please see h2o-deb

How to use prebuilt RPM

This has Bintray RPM repository so if you'd like to just install such a prebuilt package, please put following into a bintray-tatsushid-h2o-rpm.repo in /etc/yum.repos.d

#bintray-tatsushid-h2o-rpm - packages by tatsushid from Bintray
[bintray-tatsushid-h2o-rpm]
name=bintray-tatsushid-h2o-rpm
#If your system is CentOS
baseurl=https://dl.bintray.com/tatsushid/h2o-rpm/centos/$releasever/$basearch/
#If your system is Fedora
#baseurl=https://dl.bintray.com/tatsushid/h2o-rpm/fedora/$releasever/$basearch/
gpgcheck=0
repo_gpgcheck=0
enabled=1

Once the file is correctly saved, you can install packages in the repository by

yum install h2o

or if you use Fedora

dnf install h2o

How to build RPM

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
  • opensuse13
  • opensuse-leap

build options.

To build RPM in your server without docker, please copy files under rpmbuild to your build system

Installing RPM

After building, please copy RPM under *.build directory to your system and run

yum install h2o-2.1.0-1.el6.x86_64.rpm

or if you use Fedora 22 or later

dnf install h2o-2.1.0-1.fc24.x86_64.rpm

or if you use OpenSUSE

zypper install h2o-2.1.0-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

License

This is under MIT License. Please see the LICENSE file for details.