2012년 9월 18일 화요일

[foxit] where is my page number in a pdf?


probably, a foxit pdf reader show a page number somewhere,

but, I could not find the palace. So, I am googling and then find the answer..

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

the page number is displayed with status bar at the bottom of the browser.

First, go to "EDIT" -> "Preferences" 


then, check "show Status bar" 


Now, the page number is display at the bottom.. 









2012년 9월 13일 목요일

Ubuntu 12.04 설치후 작업

Ubuntu 12.04 설치후 작업

1. update source 변경 및 업데이트 설치 

업데이트 관리자의 설정에서 아래 내용들을 변경한다. source를 변경하는 이유는 업데이트 속도를 조금더 빠르게 하기 위해서이다.

update - 제안하는 업데이트 추가
기타 소프트웨어 - 캐노니칼 파트너 추가
소스 코드 - ftp.daum.net 로 변경


2. 추가 드라이버 설치 

그래픽 카드 드라이버 설치를 위해서 추가드라이버 설치를 한다.

** ubuntu 13.04(32bits) 에서는 별도의 드라이버 설치가 없어보임..


3.Vim 설치 

$ sudo apt-get remove vim-tiny --purge
$ sudo apt-get install vim vim-gnome vim-gtk


2012년 9월 11일 화요일

LAB RACK tutorial

LAB RACK tutorial

이 기본 토폴로지를 이용해서 다음 아래 네트워크를 구성한다. 


(그림 생략)


모든 라우터에 작업을 위한 기본 명령어를 실행한다. 
Router>en    
Router#conf t
Router(config)#no ip domain-lookup  (명령어를 잘못 입력한 경우, 기다리는 시간 없이.) 

Router(config)#line con 0
Router(config-line)#no exec-timeout  ( timeout 에 의한 로그아웃 안된다. )
Router(config-line)#logging synchronous  ( 중간에 명령어가 짤리는 현상 방지)


lab 작업은  layer 순서대로 작업을 진행하고 테스트 한다. 
step 1. 모든 라우터에 loopback0 인터페이스를 생성하고 설정

Router(config)#int lo0
Router(config-if)#ip address 10.10.2.2 255.255.255.255
Router(config-if)#no shutdown 


step 2. layer 2 (SW1)의 vlan 설정






2012년 9월 10일 월요일

SecureCRT 화면 설정 변경하기


SecureCRT 화면 색을 고쳐보자

SecureCRT에서 화면 색을 매트릭스처럼 마춰 보자.. ^^

먼저 실행을 시켜서 메뉴바에 있는
'Option > Global Option.. ' 에서 바꾸면 된다.


위에서와 같이 Temial > Advanced 에 가서 Monochrome 에 Edit로 바꾸면 된다.


Foregroud & Backgroud 색을 원하는 색으로 변경한다.





이제 putty에서 secureCRT 로 터미널을 옮기게 되었네요.. 

출처 : http://r5xs.blogspot.com.au/2009/07/securecrt-%ED%99%94%EB%A9%B4-%EC%83%89%EC%9D%84-%EA%B3%A0%EC%B3%90%EB%B3%B4%EC%9E%90.html

GNS3에서 secureCRT 설정 방법

GNS3에서 secureCRT 설정 방법

Edit > Preferences를 클릭하면 아래 화면과 같이 나온다. Terminal Settings 탭에서 아래와 같이 원하는 터미널 프로그램을 선택하고 실행파일 위치를 지정해 주면 된다.


자 이제 secureCRT 를 이용해서 Cisco 라우터를 세팅하면 된다.



[기타] 호주의 시간별 전기 요금


호주는 한국과 달리 보일러라는 개념이 없어서 난방을 위해서 전기히터를 사용하고 있다. 
전기료가 없마나 나오는지 궁금해서 한번 찾아보았다. 

호주에서는 3개의 시간 구간을 정해서 전기료를 부과 한다. 

Peak  2pm to 8pm on working weekdays
 Shoulder
 7am to 2pm and 8pm to 10pm on working weekdays
 7am to 10pm on weekends and public holidays
 Off Peak  All other times

이제부터 모든 전기 제품은 10시 이후에 사용해야 겠다.

ubuntu 12.04 samba 설치 - 우분투에서 삼바 설치


우분투에서 samba(삼바) 설치하기

1. 모든 사용자를 위한 공유 폴더 설정

삼바 설정을 위한 모든 패키지 설치

citylock@citylock:~$ sudo apt-get install samba samba-common
[sudo] password for citylock:
Reading package lists... Done
Building dependency tree    
Reading state information... Done
(이하 생략)


samba 가 제대로 설치되었는지 확인하기 위해서 samba 버전을 체크한다.

citylock@citylock:~$ smbd --version
Version 3.6.3

삼바에 필요한 기타 패키지 설치 
citylock@citylock:~$ sudo apt-get install python-glade2 system-config-samba 
Reading package lists... Done
Building dependency tree    
Reading state information... Done
python-glade2 is already the newest version.
python-glade2 set to manually installed.
The following extra packages will be installed:
(이하생략..)

samba 파일 공유에 필요한 윈도우의 WorkGroup 명을 확인한다. 
윈도우 command 창, c:>net config workstation


samba 설정 파일 수정
citylock@citylock:/etc/samba$ cat smb.conf
#============== Global Settings ======================
[global]
   workgroup = WORKGROUP
   server string = Samba Server %v
   netbios name = ubuntu
   security = user
   map to guest = bad user
   dns proxy = no
#=============== Share Definitions ==================
[MyShare]
   path = /samba/share
   browsable =yes
   writable = yes
   guest ok = yes
   read only = no


설정이 완료되면 samba 를 재시작

citylock@citylock:/etc/samba$ sudo service smbd restart
smbd stop/waiting
smbd start/running, process 8581

여기까지 했다면 윈도우에서 Network 의 내용을 확인하면 ubuntu samba 가 추가된 것을 확인할 수 있다.  


하지만, 아직까지 공유폴더에 write 권한은 부여되어 있지 않다. 모든 사용자(inc. guest) 들이 write 를 하기 위해서는 공유폴더의 권한 수정해야 한다.

citylock@citylock:~/Videos$ chmod 777 (공유디렉토리)

그럼이제 누구나 접근해서 읽기 & 쓰기가 가능하다.



2. 사용자/그룹 등록 및 관리

우분투에 samba 관리용 그룹을 추가한다.

citylock@citylock:~/Videos$ sudo addgroup smbgrp
[sudo] password for citylock:
Adding group `smbgrp' (GID 1001) ...
Done.

특정 사용자만 로그인해서 사용할 폴더를 생성한다. 
citylock@citylock:~$ mkdir secure
citylock@citylock:~$ sudo chown -R citylock:smbgrp secure/
[sudo] password for citylock:
citylock@citylock:~$ sudo chmod -R 0770 secure/
citylock@citylock:~$ sudo adduser citylock smbgrp
Adding user `citylock' to group `smbgrp' ...
Adding user citylock to group smbgrp
Done.
citylock@citylock:~$ sudo smbpasswd -a citylock
New SMB password:
Retype new SMB password:
citylock@citylock:~$ 


다시 /etc/samba/smb.conf 파일에 secure 폴더를 추가 등록한다. 
[secure]
  path = /home/citylock/secure
  valid users = @smbgrp
  guest ok = no
  writable = yes
  browsable = yes

samba 재시작
citylock@citylock:/etc/samba$ sudo service smbd restart
smbd stop/waiting
smbd start/running, process 9339

이제 윈도우에서 secure 폴더를 접속하면 로그인 창이 나오게 되고 smbgrp 그룹의 사용자만 이용가능하다. 




참고 사이트 : http://rbgeek.wordpress.com/2012/04/25/how-to-install-samba-server-on-ubuntu-12-04/