Skip to content

Instantly share code, notes, and snippets.

@hiroyuki-sato
hiroyuki-sato / gist:62acb4567c9501a0736e
Last active August 29, 2015 14:02
VyOS 勉強会ネタ
1 VyOS開発あれこれ
1.1 ツールやサイト
1.1.1 OS
1.1.1.1 Debian6
1.1.2 言語
1.1.2.1 Perl
1.1.2.2 C
1.1.3 ツール
1.1.3.1 git
1.1.3.2 github
@hiroyuki-sato
hiroyuki-sato / sample.png
Last active August 29, 2015 14:02
Prawn question 6/10
a

リンクがない場合

require 'celluloid'

class T2
  include Celluloid
 
  def initialize
apt-get install dh-make


$ cat >>~/.bashrc <<EOF
DEBEMAIL="[email protected]"
DEBFULLNAME="Firstname Lastname"

export DEBEMAIL DEBFULLNAME

@hiroyuki-sato
hiroyuki-sato / IO.popen.rb
Last active August 29, 2015 14:04
IO.popen with celluloid
require 'celluloid'
require 'pp'
class Sample
include Celluloid
include Celluloid::Logger
finalizer :shutdown
def send_message
@hiroyuki-sato
hiroyuki-sato / gist:67f9577e027cbb00a98f
Created July 28, 2014 14:51
OpenVPN site-to-site config test
vyos@vyos:~$ show version
Version: VyOS 1.0.4
Description: VyOS 1.0.4 (hydrogen)
Copyright: 2014 SO3 Group
Built by: [email protected]
Built on: Mon Jun 16 15:58:49 UTC 2014
Build ID: 1406161558-32e5690
System type: x86 64-bit
Boot via: livecd
Hypervisor: VMware
# This is a config file for the Zabbix agent daemon (Unix)
# To get more information about Zabbix, visit http://www.zabbix.com
############ GENERAL PARAMETERS #################
### Option: PidFile
# Name of PID file.
#
# Mandatory: no
# Default:
@hiroyuki-sato
hiroyuki-sato / gist:11cb2dce5e648dd73421
Last active August 29, 2015 14:04
Zabbix-agent入りVyOSの作り方

1 はじめに

VyOS上でzabbix-agentを使うための手順です。zabbix-agentを設定するVyOS用のコマンド を利用できます。反響があれば本家に取り込んでもらおうと思っております。

要望や改善点などをお知らせください。(twitter:@hiroysato)まで

2, 作業内容

  • ISOイメージ作成環境の構築
@hiroyuki-sato
hiroyuki-sato / gist:886f378c251bf62ce877
Created August 4, 2014 14:49
debianメンテナンスリンク