Giter Site home page Giter Site logo

h2o-rpm's Introduction

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.

h2o-rpm's People

Contributors

dstufft avatar tatsushid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.