Linux
-
create a thumbnail by command lineComputer/linux 2011. 9. 27. 23:45
imagemagick can do almost everything ..... convert -thumbnail widthxheight a.png a.thumbnail.png convert -thumbnail 120 a.png a.thumb.png (width 120px) convert -thumbnail 120x120 a.png a.thumb.png (width/height 120px) convert -thumbnail x120 a.png a.thumb.png (height 120px)
-
Clean up old kernel in grub list (Ubuntu)Computer/linux 2011. 1. 28. 00:23
check the current kernel [] uname -a Linux coffee 2.6.32-27-generic #49-Ubuntu SMP ... [] cd boot [] ls vmlinuz-* vmlinuz-2.6.32-26-generic [] apt-get remove linux-image-2.6.32-26-generic I didn't try to run apt-get autoremove, but I don't know it works or not
-
Using parted, add a new 2TiB HDDComputer/linux 2011. 1. 26. 02:14
stupid, RHEL..... [] /sbin/parted /dev/sdb GNU Parted 1.8.1 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) help check NUMBER do a simple check on the file system cp [FROM-DEVICE] FROM-NUMBER TO-NUMBER copy file system to another partition help [COMMAND] prints general help, or help on COMMAND mklabel,mktable LABEL-TYPE create a new disklabel (partition tab..
-
ssh connection without typing passwordComputer/linux 2011. 1. 19. 14:29
Generate Key... # 1) [A] ssh-keygen -t dsa -b 1024 -f $HOME/ssh-key # 2) [A] scp ssh-key.pub B:~/.ssh/ # 3) [B] cat B:~/.ssh/ssh-key.pub >> $HOME/.ssh/authorized_keys [B] chmod 700 $HOME/.ssh/authorized_keys # 4) [B] rm ssh-key.pub # 5) [A] alias B='ssh -i ~/.ssh/ssh-key -Y -C user@B' Make config ... [A] emacs .ssh/config Host * ForwardX11 yes ForwardAgent yes VisualHostKey yes PermitLocalComman..
-
Error read: Connection reset by peer when sshfs is using.Computer/linux 2010. 12. 21. 00:16
sshfs -o nonempty user@aaa: /home/user/links/ check the following line (or similar) exists in /etc/ssh/sshd_config of aaa Subsystem sftp /usr/libexec/openssh/sftp-server sometime, change the path of sftp-server or install some..., and restart sshd server.
-
install MySQL++ on RHEL 5.3 and Debian LennyComputer/linux 2010. 1. 27. 07:02
yum install mysql.i386 mysql-devel.i386 http://tangentsoft.net/mysql++/ extract mysql++ source into /home/softwares/ln -s /home/softwares/mysql++-3.0.0.9 /opt/mysql++cd /opt/mysql++./configure --prefix=/opt/mysql++ checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C ..
-
Debian GNU/Linux 6.0Computer/linux 2009. 12. 16. 13:36
이젠, 참 리눅스 (리닉스) 도 많이 변했다. 윈도우를 써본지가 오래되고 가끔 스캔할때나 부팅 할때 밀린 업데이트 하느라 시간을 많이 보낸다. 오랬동안 많은 운영체제를 사용하면서 느낀 건, 이 세상에는 완벽한 운영체제는 없다는 것이다. 완벽한 사람이 없듯이.. 각각의 요구사항에 맞게 그냥 사용하면 될테니까.. 나 개인적인 것으로는 조금 불편하긴 하지만, 데비안을 좋아한다. 데비안 베이스로 해서 우분투가 이젠 어느새 일등 자리에 올라서 버렸지만 그래도 옛정을 버리지 못하는 것은 데비안이 가지고 있는 뭔가 끈끈한 정이 있나 보다. 이미 오래된 뉴스인데, 우분투 8.04 인 내 오래된 노트북을 갈아 엎으려고 생각하다가 문득 생각나서 ... 잘 모르시는 분들을 위해 엉터리로 한글로 번역해볼까.. 해보니 힘드는 ..