아이폰/패드에 ssh 이용 파일 전송 하는 방법 입니다.
ipad,iphone에 open ssh 설치 후 기본 비밀번호를 변경 했습니다.
아이폰/패드에 ssh 이용 파일 전송 하는 방법 입니다.
ipad,iphone에 open ssh 설치 후 기본 비밀번호를 변경 했습니다.
리눅스에서 파일명은 변경하는 커멘드 명령어는 아래와 같습니다.
출처 : http://nixcraft.com/linux-software/11780-how-rename-file-linux.html
Question: How do I uncompress a *.7z file ( 7zip file ) in UNIX / Linux ? Can you explain with a simple example?
Answer: Use 7za command to unzip a 7z file ( 7zip file ) on Unix platform as shown below.
Verify whether you have 7za command on your system.
# whereis 7za 7za: /usr/bin/7za /usr/share/man/man1/7za.1.gz
If you don’t have 7za command, install p7zip package as shown below.
# yum install p7zip
$ sudo apt-get install p7zip
$ 7za e myfiles.7z 7-Zip (A) 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30 p7zip Version 9.04 (locale=C,Utf16=off,HugeFiles=on,1 CPU) Processing archive: ../../myfiles.7z Extracting myfiles/test1 Extracting myfiles/test2 Extracting myfiles/test Extracting myfiles Everything is Ok Folders: 1 Files: 3 Size: 7880 Compressed: 404
$ 7za a myfiles.7z myfiles/ 7-Zip (A) 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30 p7zip Version 9.04 (locale=C,Utf16=off,HugeFiles=on,1 CPU) Scanning Creating archive myfiles.7z Compressing myfiles/test1 Compressing myfiles/test2 Everything is Ok
Files and sub directories of myfiles/ will be added to the myfiles.7z.
출처 : http://www.thegeekstuff.com/2010/04/7z-7zip-7za-file-compression/
윈도우와 리눅스용 라이센스 키가 동일 합니다.
리눅스에서 vmware를 설치 한 후 라이센스 입력 버튼을 눌러도 동작되지 않을 경우 command line으로 등록하는 방법은 아래와 같습니다. 제가 등록한 버전은 9.0.2 build-1031769 입니다. 리눅스 민트 15 x64 mate환경 입니다.
/usr/lib/vmware/bin/vmware-vmx --new-sn 123-123-123-123...123
http://communities.vmware.com/thread/398573?start=0&tstart=0
리눅스 mint 15 mate 64bit , transmission 2.77에서 정상 작동 하는군요!!
출처 : http://www.foresightlinux.se/make-chromium-or-chrome-to-open-magnet-links-in-lxde/
Been updated the post: http://www.foresightlinux.se/make-chromium-to-open-magnet-links/
But here goes:
To make chromium to open magnet links, that most of the torrent sites uses. You need to open terminal and write
터머널을 열고 아래의 3개를 모두 복사 후 실행 합니다.
gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "transmission %s"
gconftool-2 -s /desktop/gnome/url-handlers/magnet/needs_terminal false -t bool
gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true
Open xdg-open in desired text-editor
아래의 파일을 수정합니다.
sudo nano /usr/bin/xdg-open
find the lines: 다음 라인을 찾아서
#-------------------------------------- # Checks for known desktop environments # set variable DE to the desktop environments name, lowercase detectDE() { if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde; elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome; elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome; elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce; elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde; else DE="" fi }
make it to look like this intead: 아래 처럼 바꾸면 됩니다!
#-------------------------------------- # Checks for known desktop environments # set variable DE to the desktop environments name, lowercase detectDE() { # if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde; # elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome; # elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome; # elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce; # elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde; # else DE="" # fi DE=gnome; }
wireshark와 GNS를 리눅스 상에서 연동하여 테스트 하는데 wireshark를 실행하면 다음과 같은 에러가 나타납니다.
이때 root권한으로 gns 및 wireshark가 실행 되어질 경우 나타는 문제 였습니다.
gns에서 root권한으로 실행하지 않으면 cloud 기능이 작동안되서 어쩔 수 없이 보안상 좋지 않은 root권한으로
이용 하고 있는 상황..
Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:45: dofile has been disabled |
그냥 enter를 눌러서 무시하고 사용해도 저 같은 경우는 되었습니다.
제가 사용한 버전은 1.8.x 였는데 1.10.1로 업그레이드 하니 root권한에서도 해당 문제가 발생하지 않았습니다.
최신 버전은 아래에서 다운로드 할 수 있습니다.
http://www.wireshark.org/download.html
wireshark를 실행하면 다음과 같은 에러가 나타나면서 실행이 되지 않았습니다.
(리눅스 mint 15 mate x64)
Notebook-PC ~/Downloads/wireshark-1.10.0 $ wireshark
wireshark: error while loading shared libraries: libwiretap.so.3: cannot open shared object file: No such file or directory
터미널에 다음을 입력하여 해결 하였습니다.
@Notebook-PC ~/Desktop $ sudo ldconfig
[sudo] password for :
@Notebook-PC ~/Desktop $ wireshark
출처 : http://ask.wireshark.org/questions/6568/starting-wireshark-error-libwiretapso1
Q. How do I boot a Linux system into single user mode?
A. Single user mode is useful to fix some system problem. Following are steps you need to use to boot Grub boot loader into single user mode.
(1) At grub boot screen (after restart)
(2) Select the kernel
(3) Press the e key to edit the entry
(4) Select second line (the line starting with the word kernel)
(5) Press the e key to edit kernel entry so that you can append single user mode
(6) Append the letter S (or word Single) to the end of the (kernel) line
(7) Press ENTER key
(8) Now press the b key to boot the Linux kernel into single user mode
(9) When prompted give root password and you be allowed to login into single user mode.