http://reval-mocchi.rhcloud.com

linux

pacstrapでこけた

Portable Arch Linuxを作成するために,USBメモリ*1へBaseSystemをインストールしようとしたら.... error: could not open file /mnt/usbstick/var/cache/pacman/pkg/vi-1:070224-2-x86_64.pkg.tar.xz.part: Invalid argument error: could not open fil…

sshで公開鍵認証するときにいつもすること

たまに設定するとこけるときがあるので備忘録 RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys option:enable title:sshd_config ログイン先の CentOS 7で行った操作. [mocchi@virtualhost ~]$ mkdir $HOME/.ssh …

MBAでNTFSフォーマットされたSDカードに書き込む!

[mocchi@mba-local] ~ $ df -h Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk1s1 30Gi 23Gi 6.1Gi 80% 557 6428795 0% /Volumes/Untitled [mocchi@mba-local] ~ $ diskutil unmountDisk /dev/disk1s1 Unmount of all volume…

プロセスにシグナルを送る

例えば,sshdをrestartしたいときには,いくつかの方法がある. 1つはservice(もしくはsystemd)を使うこと root@mocchit:~# service ssh restart [ ok ] Restarting OpenBSD Secure Shell server: sshd. option:enable style:terminal もう1つはprocessにsig…