Unofficial H2O RPM for Fedora, RHEL/CentOS and OpenSUSE builder
Shell Makefile HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
rpmbuild
scripts
.gitignore
.travis.yml Split TravisCI build into matrix build Dec 16, 2017
Dockerfile.centos6
Dockerfile.centos7
Dockerfile.fedora Change fedora base image from fc27 to fc28 Jun 1, 2018
Dockerfile.opensuse-leap
LICENSE
Makefile Change fedora base image from fc27 to fc28 Jun 1, 2018
README.md Change fedora base image from fc27 to fc28 Jun 1, 2018

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
  • 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.2.5-1.el6.x86_64.rpm

or if you use Fedora 22 or later

dnf install h2o-2.2.5-1.fc28.x86_64.rpm

or if you use OpenSUSE

zypper install h2o-2.2.5-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.