This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 設定 | |
VPN Server/hoge>IPsecenable | |
L2TP over IPsec サーバー機能を有効 (yes / no): yes | |
Raw L2TP サーバー機能を有効 (yes / no): no | |
EtherIP / L2TPv3 over IPsec サーバー機能を有効 (yes / no): no | |
IPsec 事前共有鍵の文字列 (9 文字以下を推奨): ********* | |
VPN 接続時に仮想 HUB 名が省略された場合のデフォルト仮想 HUB 名: hoge | |
# 仮想 NAT および DHCP サーバー機能 (SecureNAT 機能) の有効化が必要らしい | |
VPN Server/love>SecureNatEnable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vpncmdの起動 | |
cd /usr/local/vpnserver/ | |
./vpncmd | |
# vpncmd の表示 | |
1. VPN Server または VPN Bridge の管理 | |
2. VPN Client の管理 | |
3. VPN Tools コマンドの使用 (証明書作成や通信速度測定) | |
# サーバの設定なので 1 を選択 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/init.d/vpnserverの作成 | |
vim /etc/init.d/vpnserver | |
# 以下を書き込む | |
#!/bin/sh | |
# chkconfig: 2345 99 01 | |
# description: SoftEther VPN Server | |
DAEMON=/usr/local/vpnserver/vpnserver | |
LOCK=/var/lock/subsys/vpnserver | |
test -x $DAEMON || exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 管理ツールのアップデート | |
sudo apt-get update | |
sudo apt-get upgrade | |
# SoftEtherのダウンロードページより | |
# OS等にあったものをダウンロード | |
wget http://jp.softether-download.com/files/softether/v4.22- | |
9634-beta-2016.11.27-tree/Linux/SoftEther_VPN_Server/32bit_- | |
_ARM_EABI/softether-vpnserver-v4.22-9634-beta-2016.11.27- | |
linux-arm_eabi-32bit.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sshのコンフィグを開く | |
sudo vim /etc/ssh/sshd_config | |
# Port番号を49152〜65535の間で変更 | |
Port 22 → Port XXXXX | |
# sshを再起動 | |
sudo /etc/init.d/ssh restart | |
# sshで接続する |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# static routersの確認 | |
route | |
# routeの内容の表示 | |
# ゲートウェイにあたる部分が static routersとdnsに書き込むアドレスになります. | |
受信先サイト ゲートウェイ ネットマスク フラグ Metric Ref 使用数 インタフェース | |
default XX.XX.XX.X 0.0.0.0 UG 202 0 0 eth0 | |
# /etc/dhcpcd.confの設定 | |
sudo vim /etc/dhcpcd.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ファームウェアのアップデート | |
sudo rpi-update | |
sudo reboot | |
# パッケージ管理ツールのアップデート | |
sudo apt-get update | |
sudo apt-get upgrade | |
# rootのパスワードの設定 | |
sudo passwd root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<list> | |
<item> | |
<name>WindowsMouseButton</name> | |
<identifier>remap.mouse_mouse_button</identifier> | |
<autogen> | |
--PointingButtonToKey-- | |
PointingButton::BUTTON4, | |
KeyCode::CURSOR_LEFT, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install imagemagic | |
convert image.png image.eps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ln -s /usr/local/bin/openmpi/lib/libmpi.20.dylib /usr/local/lib/libmpi.20.dylib |
NewerOlder