go.etcd.io/etcd@v3.3.27+incompatible/Documentation/platforms/freebsd.md (about)

     1  ---
     2  title: FreeBSD
     3  ---
     4  
     5  Starting with version 0.1.2 both etcd and etcdctl have been ported to FreeBSD and can be installed either via packages or ports system. Their versions have been recently updated to 0.2.0 so now etcd and etcdctl can be enjoyed on FreeBSD 10.0 (RC4 as of now) and 9.x, where they have been tested. They might also work when installed from ports on earlier versions of FreeBSD, but it is untested; caveat emptor.
     6  
     7  ## Installation
     8  
     9  ### Using pkgng package system
    10  
    11  1. If pkg­ng is not installed, install it with command `pkg` and answering 'Y' when asked.
    12  
    13  2. Update the repository data with `pkg update`.
    14  
    15  3. Install etcd with `pkg install coreos-etcd coreos-etcdctl`.
    16  
    17  4. Verify successful installation by confirming `pkg info | grep etcd` matches:
    18  
    19  ```
    20  r@fbsd­10:/ # pkg info | grep etcd
    21  coreos­etcd­0.2.0              Highly­available key value store and service discovery
    22  coreos­etcdctl­0.2.0           Simple commandline client for etcd
    23  r@fbsd­10:/ #
    24  ```
    25  
    26  5. etcd and etcdctl are ready to use! For more information about using pkgng, please see: http://www.freebsd.org/doc/handbook/pkgng­intro.html
    27   
    28  ### Using ports system
    29  
    30  1. If ports is not installed, install with `portsnap fetch extract` (it may take some time depending on hardware and network connection).
    31  
    32  2. Build etcd with `cd /usr/ports/devel/etcd && make install clean`. There will be an option to build and install documentation and etcdctl with it.
    33  
    34  3. If etcd wasn't installed with etcdctl, it can be built later with `cd /usr/ports/devel/etcdctl && make install clean`.
    35  
    36  4. Verify successful installation by confirming `pkg info | grep etcd` matches:
    37   
    38  
    39  ```
    40  r@fbsd­10:/ # pkg info | grep etcd
    41  coreos­etcd­0.2.0              Highly­available key value store and service discovery
    42  coreos­etcdctl­0.2.0           Simple commandline client for etcd
    43  r@fbsd­10:/ #
    44  ```
    45  
    46  5. etcd and etcdctl are ready to use! For more information about using ports system, please see: https://www.freebsd.org/doc/handbook/ports­using.html
    47  
    48  ## Issues
    49  
    50  If there are any issues with the build/install procedure or there's a problem that is local to FreeBSD only (for example, by not being able to reproduce it on any other platform, like OSX or Linux), please send a problem report using this page for more information: http://www.freebsd.org/send­pr.html