DIGITory/Mac2012. 7. 29. 01:45

Mountain Lion Download후..

Finder의 응용프로그램 디렉토리에 있는  "OS X Mountain Lion 설치" 를 패키지 내용 보기...로 보면

Contents > ShareSupport 에 있는 InstallESD.dmg를 찾을 수 있음... 이 파일을 복사 해 둠

http://blog.gete.net/lion-diskmaker-us/

위 링크에서 disk maker 받아서 실행... 복사해 둔 dmg파일을 가지고 USB disk 만듬..

끗...



Posted by Joe.C
DIGITory/Android2012. 6. 21. 18:20

참고 : http://blog.naver.com/metzenbaum1?Redirect=Log&logNo=30138517275


Google과 Calendar 연동 시 Jorte.. 혹은 기본 캘린더에서도  한 달? 두 달만 동기화 되는 경우.


그냥 Google calendar가서 내보내기 했다가 다시 가져오기 하고 나서 동기화 하면 됨...


왜 이런지는 모름;;;;

Posted by Joe.C
DIGITory/Ubuntu2012. 5. 12. 15:40


perlexpr............. ㅠ.ㅠ 


rename --help 해보면 아래와 같이 나옴;;;

Unknown option: help

Usage: rename [-v] [-n] [-f] perlexpr [filenames]


어렵다... 쩝...


간단히 확장명 전체 바꾸기....

예 - 현재 디렉토리 파일의 확장자로 jpg를 가진 파일의 확장자를 전부 png로 바꾸기....

rename 's/.jpg/.png/' *


대충... 간단히 쓸만큼만 설명해 보면...


rename 's/[파일명 중 바꾸고 싶은 대상 문자열]/[대상 문자열 대신 들어갈 문자열]/' *

(문자열이 단순한 특수문자 하나라면 앞에 역슬래쉬를 붙여줌..)


출처 : http://ppaktion.maru.net/185


'DIGITory > Ubuntu' 카테고리의 다른 글

Mac Theme for Ubuntu  (3) 2012.10.18
Ubuntu installation - Partition (우분투 설치 - 파티션)  (1) 2012.08.10
Ubuntu에 jdk 설치하기  (1) 2012.05.03
Sharing directories between Ubuntu PCs  (2) 2012.04.28
Ubuntu - Nvidia driver  (1) 2012.04.26
Posted by Joe.C
DIGITory/Ubuntu2012. 5. 3. 21:36

1. JDK download

http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html

바뀔 수도 있고... ㅎㅎㅎ tar파일을 받는다...

jdk-7u4-linux-x64.tar.gz 이런거... 난 64bit 10.10 ubuntu...


2. extract the file to the directory "/usr/lib/jvm/jdk1.7.0_04"

 no matter with the name of directory....


3.  just do this

sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_04/jre/bin/java" 1


4. and this....

sudo update-alternatives --config java


5. you can see the selection menu

There are 2 choices for the alternative java (providing /usr/bin/java).


  Selection    Path                                      Priority   Status

------------------------------------------------------------

* 0            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      auto mode

  1            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      manual mode

  2            /usr/lib/jvm/jdk1.7.0_04/jre/bin/java      1         manual mode


Press enter to keep the current choice[*], or type selection number:


6. enter 2!!!


7. set environment variables....

add this to .bashrc

export JAVA_HOME=/usr/lib/java/jdk1.7.0_04

export PATH=/usr/java/bin/:$JAVA_HOME:$PATH

export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib


That's it.


안되면 : http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux

Posted by Joe.C
DIGITory/Ubuntu2012. 4. 28. 00:04


1. Server Ubuntu - has a directory to be shared. (IP : 90.80.70.60)

sudo apt-get install portmap nfs-kernel-server

vi /etc/exports

    add to the file "[PATH of the directory to be shared] [Client Ubuntu's IP](rw)"

                             ex) /home/me/Shared 10.20.30.40(rw)


sudo /etc/init.d/nfs-kernel-server restart (IP : 10.20.30.40)

sudo exportfs -v  (jut to check.. you can see the directory can be shared)



2. Client Ubuntu - Need to access the directory on Server Ubuntu

sudo apt-get install nfs-kernel-server (I'm not sure...it can be nfs-common)

sudo mkdir [directory to mount]

       ex) sudo mkdir /mnt/nfs

showmount -c [Server Ubuntu's IP]

       ex) showmount -c 90.80.70.60

       If you can't see anything after doing this, It's about the security problem. 

       'lokkit' command to get it off.


mount it!!!

     ex) sudo mount -t nfs 90.80.70.60:/home/me/Shared /mnt/nfs




(from : http://blog.naver.com/dresstowin?Redirect=Log&logNo=50079887962)


Posted by Joe.C
DIGITory/Ubuntu2012. 4. 26. 18:00



1. download driver-installation file from nvidia.com

2. sudo stop gdm (in 12.04... no gdm service... 'sudo service lightdm stop')

3. automatically going to text mode

   after ctrl + alt + F1 to go to text-mode, then you can stop gdm.

4. sudo ./NVIDIA-Linux-x86_64-295.40.run (downloaded)

5. after installing

6. sudo start gdm



I faced the problem below, when I do re-boot after 5th-step.

"You do not appear to be using the NVIDIA X driver. Please edit your X configuration file 
    (just run `nvidia-xconfig` as root), and restart the X server. "

then I did "sudo nvidia-xconfig"..... I couldn't see the X-window again :-(

I had to re-install ubunto to see it again.


Posted by Joe.C
DIGITory/Ubuntu2012. 4. 26. 15:37

First of all, to clean your cache just use this command:

sudo apt-get clean

This will avoid this kind of problems in the future.

Lets try to solve this by remaking the missing directory:

sudo mkdir -m755 /var/cache/apt/archives/partial


(https://answers.launchpad.net/ubuntu/+source/apt/+question/9470)

'DIGITory > Ubuntu' 카테고리의 다른 글

Sharing directories between Ubuntu PCs  (2) 2012.04.28
Ubuntu - Nvidia driver  (1) 2012.04.26
유용한 리눅스 프로그램들  (1) 2012.04.21
ADB on Ubuntu  (1) 2012.04.05
Ubuntu - install Java jdk ... (11.04)  (0) 2012.04.05
Posted by Joe.C
DIGITory/Ubuntu2012. 4. 21. 15:09
Posted by Joe.C
DIGITory/Ubuntu2012. 4. 5. 15:23



1. Install JAVA 

take a look  " http://joec.tistory.com/522 "


2. download 'android-sdk-linux'

go get it " http://developer.android.com/sdk/index.html "

and extract it to a directory


3. install Android SDK Platform-tools

You can see the text-file "adb_has_moved.txt" in 'tools' directory

------------------------------------------------------------------------------------------------

The adb tool has moved to platform-tools/


If you don't see this directory in your SDK,

launch the SDK and AVD Manager (execute the android tool)

and install "Android SDK Platform-tools"


Please also update your PATH environment variable to

include the platform-tools/ directory, so you can

execute adb from any location.

------------------------------------------------------------------------------------------------
:-(

so execute 'android' in tools. and install it.
then you can see 'platform-tools' directory.
'adb' file in it.

Posted by Joe.C
DIGITory/Ubuntu2012. 4. 5. 14:32



※ you can also install 'openjdk-6-jdk' by "sudo apt-get install openjdk-6-jdk"...


This is about installing SUN-JAVA JDK.


1.  Downloading

go to "http://www.oracle.com/technetwork/java/javase/downloads/index.html"

and donwload jdk (I got "jdk-7u3-linux-i586.tar.gz")

and extract it. you can see a directory named ""jdk1.7.0_03"

move the directory to "/usr/lib/java/" (create the 'java' directory)


2.  Installing

execute 'sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/java/jdk1.7.0_03/jre/bin/java" 1'

and 'sudo update-alternatives --config java'

If you have another java-jdk, you can see some menus to select.

If you have just one, you can see this...

"There is only one alternative in link group java: /usr/lib/java/jdk1.7.0_03/jre/bin/java

Nothing to configure."


3. Checking

add the directory to PATH.

I did... edit '~/.bashrc' file. 

adding.... 

'export JAVA_HOME=/usr/lib/java/jdk1.7.0_03'

'export PATH=$JAVA_HOME:$PATH'

and excute 'java -version' to check.

you can see this...finally.

-------------------------------------------------------------------------------------

java version "1.7.0_03"

Java(TM) SE Runtime Environment (build 1.7.0_03-b04)

Java HotSpot(TM) Server VM (build 22.1-b02, mixed mode)


Posted by Joe.C