全文検索:
- Vyatta - IPSec Brige / L2TP(IPSec)+Nat @05_network:04_vyatta
- = インターフェース設定 ====== ===== vyatta-A ===== <code> # set interfaces ethernet eth0 address 10.10.10.246/24 # set interfaces ethernet eth1 address 192.168.10.246/24 # set system gateway-address '10.10.10.1' # set system host-name 'vyatta-A' </code> ===== vyatta-B ===== <c
- Vyatta Backup/Reestore @05_network:04_vyatta
- vyatta-config-gen-sets.pl /config/backup.config set interfaces ethernet eth0 address '10.10.100.1/24' set interfaces ethernet eth0 duplex 'auto' set interfaces ethernet eth0 hw-id '52:54:00:2e:6e:99' set interfaces ethernet eth0 smp_affinity 'auto' se
- Vyatta Openvpn @05_network:04_vyatta
- === インターフェース設定 ====== ===== vyatta-A ===== <code> set system hostname router-A set interfaces ethernet eth0 address 10.10.10.246/24 set interfaces ethernet eth1 address 192.168.10.246/24 set service nat rule 10 outbound-interface eth0 set s
- FreeBSD - vim @02_freebsd:99_その他
- ake install </code> ====== .vimrc ====== <code> set nobackup if v:lang =~ "^ko" set fileencodings=euc-kr set guifontset=-*-*-medium-r-normal--16-*-*-*-*-*-*-* elseif v:lang =~ "^ja_JP" set fileencodings=euc-jp set guifontset=-misc-fix
- Vyatta Cluster @05_network:04_vyatta
- |Global|Local| |172.20.1.252|10.1.1.252| <code> set cluster dead-interval '20000' set cluster group cluster1 auto-failback 'false' set cluster group cluster1 primary 'vyatta.primary' set cluster group cluster1 secondary 'vyatta.secondary
- Vyatta OpenVPN Server/Client @05_network:04_vyatta
- ta.key </code> ===== コマンド ===== <code console> # set interfaces openvpn vtun0 encryption 'aes128' # set interfaces openvpn vtun0 mode 'server' # set interfaces openvpn vtun0 openvpn-option '--tls-auth /etc/openvpn/ta.key 0' # set interfaces openvpn vtun0 protocol 'udp' # set int
- 01 vim @01_linux:20_エディタ
- rcを置けばOK <code> $ cat ~/.vimrc ""#####表示設定##### ""set number "行番号を表示する set title "編集中のファイル名を表示 set showmatch "括弧入力時の対応する括弧を表示 syntax on "コードの色分け set tabstop=4 "インデントをスペース4つ分に設定 set nosmartindent "
- 55 corosync pacemaker @01_linux:01_net
- 設定 ===== ==== フィルタの停止と、初期設定 ==== pcs property set stonith-enabled=false pcs property set no-quorum-policy=ignore pcs resource defaults resource-s... ocf:pacemaker:ping \ name=ping_set \ dampen=5s \ multi... ocf:pacemaker:ping \ name=ping_g_set \ dampen=5s \ multi
- ipコマンド/IPエイリアス追加 @02_freebsd:80_unixコマンド
- th1.210 type vlan id 210 ==== UP ==== ip link set eth1.210 up ==== Down ==== ip link set eth1.210 down ==== 削除 ==== ip link del eth1.210 ===== ... route delete default ==== MTU変更 ==== ip link set eth0 mtu 9000 ===== VLANを付ける ===== eth0を使って、eth... = <code> # ip link add bond0 type bond # ip link set bond0 type bond miimon 100 mode 802.3ad # ip link
- Vyatta - L2TP(IPSec) @05_network:04_vyatta
- +----+-----+ ===== コマンド ===== <code> set vpn ipsec ipsec-interfaces interface eth0 set vpn ipsec nat-networks allowed-network [ネットワークセグメント] set vpn ipsec nat-traversal enable set vpn l2tp remote-access authentication local-users username [ユーザ名] p
- Vyatta - Nat @05_network:04_vyatta
- .0/16からの接続はNatさせる場合 <code console> $ configure # set nat source rule 10 # set nat source rule 10 outbound-interface eth0 # set nat source rule 10 source address '192.168.0.0/16' # set nat source rule 10 translation address masquerade
- 36 LINSTOR Bcache @01_linux:13_storage
- ORでzfsthinを設定してもシンプロにならないので注意</color> <code> zfs set compress=lz4 DataPool ##zfs set compress=off DataPool zfs set sync=disabled DataPool zfs set atime=off DataPool zpool set autotrim=off DataPool </code> ==== プールの設定
- MySQLコマンド @02_freebsd:04_database:01_mysql
- -----+------------------+------------+ 12 rows in set (0.00 sec) </code> ==== 権限の確認 ==== <code conso... +-------------+-----------+-----------+ 4 rows in set (0.00 sec) </code> ==== ユーザ作成 ==== <code> CREAT... sole> mysql> create database 新データベース名 character set utf8; # mysqldump 旧データベース名 | mysql 新データベース名 ... -----+------+-----+---------+-------+ 31 rows in set (0.01 sec) </code> ==== カラムのデータ型を変更する ==== <co
- Vyatta - インストール @05_network:04_vyatta
- /code> ====== インターフェース設定 ====== <code console> # set interfaces ethernet eth0 address 10.10.100.1/24 # set interfaces ethernet eth1 address 192.168.100.246/... 24 </code> ====== システム設定 ====== <code console> # set system gateway-address 10.10.100.5 # set system name-server 8.8.8.8 # set system host-name vyatta02.ho
- Vyatta VRRP @05_network:04_vyatta
- 問題無く通信できる。 ===== switch1(vyatta-A) ===== <code> # set interfaces ethernet eth1 vrrp vrrp-group 99 # set interfaces ethernet eth1 vrrp virtual-address 192.168.5.1 # set interfaces ethernet eth1 vrrp preempt true # set interfaces ethernet eth1 vrrp priority 255 </code> =