2013-08-01から1ヶ月間の記事一覧
easy_installのインストール home以下で実行 $ curl 'http://python-distribute.org/distribute_setup.py' > distribute_setup.py 実行したデイレクトリにdistribute_setup.pyがdownloadされているので $ sudo python distribute_setup.py これでeasy_instal…
(server)sudo vim /etc/ssh/sshd_config sshd_config内のPasswordAuthentication yesをコメントアウトを外して yesをnoに変更さらに Port 22を変更し上書きし、Raspberryをreboot(client)teratermの設定−認証設定ー通常使用する認定をパスワード からRSA/DSA…
Windows機からRaspbrryPiにSSHで接続する(認証はRSA鍵) クライアント側にteratermを導入 新しい接続−ホスト−RaspberryのIPアドレスを指定 SSHバージョンはSSH2を選択(以下Windows機でのteraterm操作) 設定−SSH鍵生成−鍵の種類=RSA bit=2048で生成 鍵の…
色々/etc下の設定ファイルを変更する必要があるので その設定を記録するためにetckeeperを導入。 sudo apt-get install etckeeper 途中Gitの設定があった。差分記録にGitを使用している 様子。 vim /etc/etckeeper/etckeeper.conf をみると VCS="git" となっ…
service --status-allでサービスを表示 [+] apache2 [+] atd [-] bootlogs [-] checkroot.sh [-] console-setup [+] cron [+] dbus [-] exim4 [-] hostname.sh [+] ifplugd [-] kbd [-] keyboard-setup [-] lightdm [-] motd [-] nfs-common [+] ntp [-] pro…
at(ジョブの予約 コマンド) sudo apt-get install at ver 3.1.13 一緒にatq,atrm,batchも入った
ctagssudo apt-get install ctagsver 5.9vimから操作する !ctags *.c カレントデレクトリにtagsファイルが生成されている使い方 :tag name でシンボル、関数定義場所に移動できる
ncftp(ftpソフト)sudo apt-get install ncftp でOK試しにAnonymousFTPに接続 ncftp ftp.riken.go.jp で接続OKexitかbyeで切断 wgetはすでに入っている様子
いままでsuコマンドでrootユーザーになれなかった sudo passwd root で2回パスワードを入力すると rootユーザーになれる。もとに戻るのはexitコマンド