LoginSignup
16
13

More than 5 years have passed since last update.

VyOS(Vyatta)にgitをインストールする

Last updated at Posted at 2014-10-23

VyOS(Vyatta)でレポジトリを追加してgitをインストールします。

VyOS上のコマンドで任意のレポジトリを追加する事が可能です。コマンドは以下の通り。

configure
 set system package repository squeeze components main
 set system package repository squeeze url http://cdn.debian.net/debian
 set system package repository squeeze distribution squeeze

commit/saveしてください。デフォルトの設定と合わせて以下のようになるはずです。

    package {
        repository community {
            components main
            distribution helium
            url http://packages.vyos.net/vyos
        }
        repository squeeze {
            components main
            distribution squeeze
            url http://cdn.debian.net/debian
        }
    }

インストールはapt-get installです。

$ sudo apt-get update
$ sudo apt-get install git-core

gitインストール後は以下もどうぞ。

VyOSのバックアップをGitHubとTFTPに自動でアップする
http://komeiy.hatenablog.com/entry/2014/12/05/200946

16
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
13