差分

提供: fukudat.net
ナビゲーションに移動検索に移動
751 バイト追加 、 2020年10月21日 (水) 23:49
<pre>
sudo cpan LWP LWP::protocol::https DBI DBD::mysql
</pre>
 
== Configure ==
以下のファイルを準備。どれも他者から読めないよう、chmod og-rwx しておく。
 
~/git/sensors/bin/dbconfig.json
<pre>
{
"db": "experiment",
"user": "experiment",
"passwd": "パスワード",
"table": "radiation"
}
</pre>
 
httpconfig.json
<pre>
{
"protocol": "https",
"host": "fukudat.net",
"port": 443,
"realm": "PRIVATE",
"user": "ユーザ名",
"passwd": "パスワード"
}
</pre>
 
iijconfig.json
<pre>
{
"user" : "アカウント番号",
"passwd" : "パスワード",
"contracts" : [
{
"id" : "hddで始まる契約番号",
"label" : "見やすいラベル",
"description" : "説明書き"
},
...
]
}
</pre>

案内メニュー