[2017.03.29] stdio.h 등의 헤더 파일 부재시 해결방법.

Posted by 센큐
2017. 3. 29. 12:25 os/linux (서버, 일반)

우분투의 gcc에선 그런 현상이 일어나지 않지만 리눅스민트 17.3에서 컴파일을 하려고 하면 fatal error : stdio.h : No such file or directory 라고 뜨는 경우가 간혹 있다.


$ cd /usr/include/

로 들어가보니 없다. stdio.h가 없다..


$ sudo apt-get install libc6-dev

실행하면 stdio.h가 생성된 것을 확인 가능하다.

컴파일도 정상적으로 된다.


출처는 http://stackoverflow.com/questions/19580758/gcc-fatal-error-stdio-h-no-such-file-or-directory 여기

의존성 문제 dependency problems 해결 [17.02.01]

Posted by 센큐
2017. 2. 1. 16:32 os/linux (서버, 일반)
dpkg -i 뭐시기나 tar -xvzf 뭐시기로 설치할 때

이런식으로 메세지가 뜰 때가 있다.

dependency problems prevent configuration of ...


그땐 바로 다음줄에

sudo apt-get install -f


입력

file & directory sync in linux mint [2017.01.17]

Posted by 센큐
2017. 1. 17. 16:55 os/linux (서버, 일반)

rsync


-a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)

     --no-OPTION             turn off an implied OPTION (e.g. --no-D)

폴더, 하위폴더, 하위 파일들 모두 복사


-v, --verbose               increase verbosity

     --info=FLAGS            fine-grained informational verbosity

     --debug=FLAGS           fine-grained debug verbosity

     --msgs2stderr           special output handling for debugging

진행상황 표시


-h, --human-readable        output numbers in a human-readable format

     --progress              show progress during transfer



-z, --compress              compress file data during the transfer

     --compress-level=NUM    explicitly set compression level

     --skip-compress=LIST    skip compressing files with a suffix in LIST

이동하는 동안 압축 사용



나머지 options

 -v, --verbose               increase verbosity

     --info=FLAGS            fine-grained informational verbosity

     --debug=FLAGS           fine-grained debug verbosity

     --msgs2stderr           special output handling for debugging

 -q, --quiet                 suppress non-error messages

     --no-motd               suppress daemon-mode MOTD (see manpage caveat)

 -c, --checksum              skip based on checksum, not mod-time & size

 -a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)

     --no-OPTION             turn off an implied OPTION (e.g. --no-D)

 -r, --recursive             recurse into directories

 -R, --relative              use relative path names

     --no-implied-dirs       don't send implied dirs with --relative

 -b, --backup                make backups (see --suffix & --backup-dir)

     --backup-dir=DIR        make backups into hierarchy based in DIR

     --suffix=SUFFIX         set backup suffix (default ~ w/o --backup-dir)

 -u, --update                skip files that are newer on the receiver

     --inplace               update destination files in-place (SEE MAN PAGE)

     --append                append data onto shorter files

     --append-verify         like --append, but with old data in file checksum

 -d, --dirs                  transfer directories without recursing

 -l, --links                 copy symlinks as symlinks

 -L, --copy-links            transform symlink into referent file/dir

     --copy-unsafe-links     only "unsafe" symlinks are transformed

     --safe-links            ignore symlinks that point outside the source tree

     --munge-links           munge symlinks to make them safer (but unusable)

 -k, --copy-dirlinks         transform symlink to a dir into referent dir

 -K, --keep-dirlinks         treat symlinked dir on receiver as dir

 -H, --hard-links            preserve hard links

 -p, --perms                 preserve permissions

 -E, --executability         preserve the file's executability

     --chmod=CHMOD           affect file and/or directory permissions

 -A, --acls                  preserve ACLs (implies --perms)

 -X, --xattrs                preserve extended attributes

 -o, --owner                 preserve owner (super-user only)

 -g, --group                 preserve group

     --devices               preserve device files (super-user only)

     --specials              preserve special files

 -D                          same as --devices --specials

 -t, --times                 preserve modification times

 -O, --omit-dir-times        omit directories from --times

 -J, --omit-link-times       omit symlinks from --times

     --super                 receiver attempts super-user activities

     --fake-super            store/recover privileged attrs using xattrs

 -S, --sparse                handle sparse files efficiently

     --preallocate           allocate dest files before writing them

 -n, --dry-run               perform a trial run with no changes made

 -W, --whole-file            copy files whole (without delta-xfer algorithm)

 -x, --one-file-system       don't cross filesystem boundaries

 -B, --block-size=SIZE       force a fixed checksum block-size

 -e, --rsh=COMMAND           specify the remote shell to use

     --rsync-path=PROGRAM    specify the rsync to run on the remote machine

     --existing              skip creating new files on receiver

     --ignore-existing       skip updating files that already exist on receiver

     --remove-source-files   sender removes synchronized files (non-dirs)

     --del                   an alias for --delete-during

     --delete                delete extraneous files from destination dirs

     --delete-before         receiver deletes before transfer, not during

     --delete-during         receiver deletes during the transfer

     --delete-delay          find deletions during, delete after

     --delete-after          receiver deletes after transfer, not during

     --delete-excluded       also delete excluded files from destination dirs

     --ignore-missing-args   ignore missing source args without error

     --delete-missing-args   delete missing source args from destination

     --ignore-errors         delete even if there are I/O errors

     --force                 force deletion of directories even if not empty

     --max-delete=NUM        don't delete more than NUM files

     --max-size=SIZE         don't transfer any file larger than SIZE

     --min-size=SIZE         don't transfer any file smaller than SIZE

     --partial               keep partially transferred files

     --partial-dir=DIR       put a partially transferred file into DIR

     --delay-updates         put all updated files into place at transfer's end

 -m, --prune-empty-dirs      prune empty directory chains from the file-list

     --numeric-ids           don't map uid/gid values by user/group name

     --usermap=STRING        custom username mapping

     --groupmap=STRING       custom groupname mapping

     --chown=USER:GROUP      simple username/groupname mapping

     --timeout=SECONDS       set I/O timeout in seconds

     --contimeout=SECONDS    set daemon connection timeout in seconds

 -I, --ignore-times          don't skip files that match in size and mod-time

 -M, --remote-option=OPTION  send OPTION to the remote side only

     --size-only             skip files that match in size

     --modify-window=NUM     compare mod-times with reduced accuracy

 -T, --temp-dir=DIR          create temporary files in directory DIR

 -y, --fuzzy                 find similar file for basis if no dest file

     --compare-dest=DIR      also compare destination files relative to DIR

     --copy-dest=DIR         ... and include copies of unchanged files

     --link-dest=DIR         hardlink to files in DIR when unchanged

 -z, --compress              compress file data during the transfer

     --compress-level=NUM    explicitly set compression level

     --skip-compress=LIST    skip compressing files with a suffix in LIST

 -C, --cvs-exclude           auto-ignore files the same way CVS does

 -f, --filter=RULE           add a file-filtering RULE

 -F                          same as --filter='dir-merge /.rsync-filter'

                             repeated: --filter='- .rsync-filter'

     --exclude=PATTERN       exclude files matching PATTERN

     --exclude-from=FILE     read exclude patterns from FILE

     --include=PATTERN       don't exclude files matching PATTERN

     --include-from=FILE     read include patterns from FILE

     --files-from=FILE       read list of source-file names from FILE

 -0, --from0                 all *-from/filter files are delimited by 0s

 -s, --protect-args          no space-splitting; only wildcard special-chars

     --address=ADDRESS       bind address for outgoing socket to daemon

     --port=PORT             specify double-colon alternate port number

     --sockopts=OPTIONS      specify custom TCP options

     --blocking-io           use blocking I/O for the remote shell

     --stats                 give some file-transfer stats

 -8, --8-bit-output          leave high-bit chars unescaped in output

 -h, --human-readable        output numbers in a human-readable format

     --progress              show progress during transfer

 -P                          same as --partial --progress

 -i, --itemize-changes       output a change-summary for all updates

     --out-format=FORMAT     output updates using the specified FORMAT

     --log-file=FILE         log what we're doing to the specified FILE

     --log-file-format=FMT   log updates using the specified FMT

     --password-file=FILE    read daemon-access password from FILE

     --list-only             list the files instead of copying them

     --bwlimit=RATE          limit socket I/O bandwidth

     --outbuf=N|L|B          set output buffering to None, Line, or Block

     --write-batch=FILE      write a batched update to FILE

     --only-write-batch=FILE like --write-batch but w/o updating destination

     --read-batch=FILE       read a batched update from FILE

     --protocol=NUM          force an older protocol version to be used

     --iconv=CONVERT_SPEC    request charset conversion of filenames

     --checksum-seed=NUM     set block/file checksum seed (advanced)

 -4, --ipv4                  prefer IPv4

 -6, --ipv6                  prefer IPv6

     --version               print version number

(-h) --help                  show this help (-h is --help only if used alone)


우분투 메모 프로그램 [2017.01.02]

Posted by 센큐
2017. 1. 2. 20:17 os/linux (서버, 일반)

컴퓨터로 해야 할 작업들이 여러 가지이다 보면 휴대폰에 써 놓은 메모들보다는 위젯 형식으로 메모를 띄워놓는 것이 편할 때가 많다. 이에 우분투에서 쓸 수 있는 메모 프로그램들을 찾아보았다.


1. 저널(Xournal) : 자체적 정리 기능 없으나 손으로 직접 쓴 메모 남기는 기능.

2. 톰보이(Tomboy) : 메모끼리 연결하는 '링크' 기능. - sticky note 설치 후 알았는데, 리눅스 민트 17.3 버전에는 기본으로 깔려있었다.

3. 지노트(Gnote) : 톰보이와 겉모습과 기능은 완전히 같지만, 훨씬 가벼우며, 더 빨리 실행된다고 한다.

4. 에버노트 호환 프로그램 : 닉스노트(NixNote), 긱노트(GeekNote)

5. 심플노트 호환 프로그램 : nvPY

6. 레드노트북(RedNotebook) : 달력 형태로, 다이어리식. 서식 다양. PDF, HTML 등 여러 형식으로 내보내기 가능.

7. 배스킷 노트 패드(BasKet Note Pads) : 메모 및 자료 종합 정리 프로그램. 기능이 꽤 많다.

8. 스프링 시드 : 노트북(묶음)->메모 구조. 프로그래머를 위한 코드 블럭 기능, 문법 강조 기능

출처 :  [2015/01/28 - [IT 이야기/Linux] - 리눅스에서 무언가 기록할 일이 있다면? 프로그램이 6가지나 있습니다! -  서지스원@IT. 블로그 매거진.]



위 사이트에 올라와 있는 프로그램들도 다 구미가 당겼지만 필자에게는 작업보다 메모에 치중할 가능성이 많이 보였다... 그리하여 더 찾아보다 보니 윈도의 sticky note와 같은 기능이 있더라.


9. Sticky Notes


9-1.Terminal을 이용해 설치하는 방법 - Sticky Notes


>> sudo add-apt-repository ppa:umang/indicator-stickynotes


>> sudo apt-get update


>> sudo apt-get install indicator-stickynotes


출처 : [2016/06/15 - [공부] - 우분투 메모/포스트잇 프로그램 Sticky Notes - 집]


9-2. User interface를 사용하여 설치하는 방법 - Sticky Notes

  Step 1: Open "Software & Updates." Go to Other Software -> Add. Now type `ppa:umang/indicator-stickynotes` (without the `quotes`). Add the source and close the window. You will be asked to reload sources. Click "Reload".

  Step 2: Open the Ubuntu Software Center, search for Indicator Stickynotes, and install.

  More info: https://launchpad.net/~umang/+archive/ubuntu/indicator-stickynotes


▲ 위의 노란색 아이콘을 누르면 이런저런 조작을 할 수 있다.




10. Xpad



출처

[2013/08/11 - [Linux] -  [우분투] 스티커(Sticky note) 프로그램 소개 - 개발자 지식 충전소]

사진은 소프트웨어 매니저에서 캡처.

래안텍 REX-32 QHD Slim [2016.12.25]

Posted by 센큐
2016. 12. 25. 04:15 컴퓨터 하드웨어

현재 모니터는 토마토디스플레이 TM-F2210L (TN패널, 22인치, 16:10). 그 때 나온 제품 중에 TM-F2410L 광시야각 제품도 16:10의 해상도를 가진 제품이었는데 대체 왜 F2210을 샀었는지 기억이 나지 않는다.. 아마 그때 24인치 제품을 샀으면 지금 다른 모니터를 알아보지는 않았을까..


하지만! 현재 쓰고 있는 모니터는 창을 많이 띄우고 작업하긴 매우 번거로운 22인치이므로.. 새로운 모니터를 물색해 보았다.

이런저런 검색들과 고민들을 거친 결과 27인치 FHD와 32인치 QHD 두 가지의 선택의 갈림길에 섰다. 필자가 처음 (직접) 샀던 모니터가 LG 27mt55d여서 27인치 FHD를 써보기도 하였고, QHD를 쓰고 싶었으나, 총알의 부족으로 못 써본 점, 그럼에도 불구하고 27인치 QHD는 너무 작을거라는 대다수의 평을 참고하여 32인치 QHD 모니터를 구매하기로 결정하였다.


총알은 지금도 부족한지라.. 싼 제품 중에 골라야 하는데 조금 들어본 제품사들은 경성GK 큐닉스, 크로스오버, 알파스캔, 벤큐 정돈데, 알파스캔은 32인치 QHD 모델이 없고, 나머지는 A/S 등에서 호불호가 갈려 그냥 끌리는 걸로 골라야겠다는 생각을 가졌다. 내가 써보고 좋으면 좋은거고 아니면 어쩔 수 없는 거지 뭐!

이 때 눈에 들어온 제품은 래안텍 REX-320QHD WHITE 모델이었다. 16년 12월 25일 기준 다나와 최저가 278,790원이고, 간단 스펙은 다음과 같다.

81cm(32형) / 와이드(16:9) / 광시야각 / 2560 x 1440(WQHD) / 0.27675mm / 6㎳ / 250㏅ / 3,000:1 / LED 방식 / 60Hz / HDMI / DVI / D-SUB / 스피커 / 강화유리 / 100 x 100mm / 47W / 05W (출처 : 다나와)

덧붙이자면 무게는 11kg, 유광 패널, 모델명에도 나와있듯 베젤 및 스탠드가 화이트이다. 상품평을 읽던 중 신제품 발매 소식을 알았고, 그리하야 찾아낸 모델!


래안텍  REX-32 QHD Slim 모니터. 현재 다나와 최저가 299,000원이며, 간단 스펙은 다음과 같다.

81cm(32형) / 와이드(16:9) / AH-IPS / 광시야각 / 2560 x 1440(WQHD) / 0.2727mm / 5(GTG)㎳ / 300㏅ / 1,200:1 / 1,000,000:1 / NTSC 71% / LED 방식 / 60Hz / HDMI / DP포트 / D-SUB / 플리커 프리 / 블루라이트 차단 / 틸트 / 게임모드 지원 / 100 x 100mm / 최대 47W / 0.5W / mini DP 


어댑터 정보도 남긴다.

직류전원장치

모델명 : SUN-1200500

정격입력 : 100-240V~50/60Hz Max1.7A

정격출력 : 12V -- 5.0A

외경 : 5.5mm, 내경 : 2.1mm  (인 듯)



(출처 : 래안텍 홈페이지)


처음 들어보는 기업 제품이지만, 상품 문의 등에 답해주는 태도나, 그냥 느낌적인 느낌, 32인치인데 무게가 5.5kg(스탠드 포함이라고 한다.) 그리고 싸다....  뭐 딱히 스펙상으로는 나무랄 데 없어 보여, 일단 질러보기로 한다. 후기가 너무 없어 후기도 올려볼 예정이다. (언제가 될 진 모르겠지만...ㅎ)


현재 모니터 암으로는 카멜 마운트 MA-2를 쓰고 있는데, 공식적으론 27인치까지 지원한다고 되어있지만, 무게도 공식적으로 8kg까지 지원한다고 하고,  전에 쓰던 27mt55d도 5.3kg이었는데 거뜬히 사용하였으므로 5.5kg이라는 REX-32 QHD Slim 모니터도 사용 가능할 것이라 생각한다.




2017.01.01 추가 - 래안텍 REX-32 QHD Slim 사용후기


1. 개봉 및 설치

▲모니터 박스는 종이박스


▲8천원 추가하면 배송시 모니터를 보호해주는 공기주머니(?)로 싸여 온다.


▲구성품을 꺼낸 모습. 위에서부터 어댑터, 모니터, 모니터 위에 전원 연결선, HDMI 연결선, 오른쪽 아래부분에 모니터 받침대, 제일 밑에 막대는 모니터와 모니터 받침대를 연결해 주는 지지대. 모니터의 액정 부분이 위를 향하고 있는 모습이다. (모니터를 감싸고 있는 비닐에서 불투명한 부분이 액정부)


▲카멜 마운트 MA-2에 꽂혀있던 기존 22인치 모니터를 제거하는 중.


▲모니터 뒷면의 베사홀을 이용하기 위해 뒷면 커버를 떼낸 모습. 손으로 살짝 떼 내면 된다. VESA 규격은 100x100, 중간에 직사각형 꼭지점에 나사구명이 있는 것은 모니터 받침대를 조립하는 부분일 것이다.


▲래안텍 REX-32 QHD Slim 모니터 베사 홀에 카멜 마운트 MA-2 모니터암을 연결한 모습.


▲ 베사 홀 윗부분에 공간이 부족하여 다음과 같이 살짝 뜨는 현상이 발생한다. 밑에 뭘 받치든지 해야 할 것 같다..


2. 사용기


▲13.3인치 노트북과 32인치 모니터의 조합. 모니터 암에도 적절하게 위치하는 것을 볼 수 있다.

QHD(REX-32 QHD Slim), FHD(V3-371 51CW)의 차이를 볼 수 있다.


▲ 왼쪽 모니터는 토마토 디스플레이 TM-F2210L (22인치 16:10 모니터). 13.3인치 모니터와 크게 차이가 나지 않아 보인다. 


▲ 불량화소 테스트. 화이트 닷 및 블랙 닷이 나타나지 않고, 이런저런 테스트 결과 필자 기준에선 양품이라는 결론.

테스트는 http://monitor.co.kr/ 을 통해 진행하였다.


3. 기타

                

▲ 왼쪽 사진) 베젤이 엄청 얇다. 10mm의 위엄. 오른쪽 사진) (아래쪽부터) HDMI 2개, DP, mini DP, RGB,  스피커 출력 △




windows 10 wim(esd) 업데이트 통합, 프로그램 설치 후 iso 수정 [2016.08.29]

Posted by 센큐
2016. 8. 29. 23:47 os/windows
출처는 

[2009/11/21 - 윈도우 7 설치 - 감사 모드(Audit Mode)를 통해 일반화 작업하기 (Sysprep 봉인, 만능 고스트)]


** vmware는 workstation pro에 포함된 player version을 이용해야 함. 아니그러시면 추후 mapping 작업에 애를 먹으실 수 있습니다..

1. Vmware 상에서 프로그램 설치 후 sysprep 봉인 작업


- "I will install the operating system later."로 진행.


- "Play virtual machine" 버튼을 누르기 전 "Edit virtual machine settings"를 눌러 iso 이미지를 mount한다.


- 반드시 예약파티션 없이 설치 진행한다.


- OOBESystem 단계라고 한다. (윈도 7의 경우, "Windows 7 Proffesional K" 이런식으로 뜨며 사용자 이름 및 컴퓨터 이름 설정하는 창이 뜬다.)

여기서 감사모드 진입 : Ctrl+Shift+F3.


 (아래 시스템 준비 도구는 가볍게 취소 버튼을 눌러 나가주시면 된다.)



- 프로그램 깔기 ㄱㄱ (for All users로 설치해야 함, 재시작 No!) 문제가 생겼을 때 대비를 위해 take snapshot 찍어가며 설치. (물론 vmware player는 스냅샷 기능이 없다..)


- 시스템 감사 모드에서 한글2014를 설치할 때 닷넷프레임워크 3.5가 깔리지 않아 불편하다. (인터넷 연결을 배제했기 때문에)

이 때는 윈도 설치 미디어를 탑재한 다음 관리자 모드 Cmd에서

dism /online /enable-feature /featurename:NetFX3 /All /Source:E:\sources\sxs /LimitAccess

를 입력한다. (이 때 E는 윈도 설치 미디어의 위치. )(출처 : How to enable .NET Framework 3.5 on Windows 8 in Offline Mode)


- 설치한 프로그램 그룹 경로

   『Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs』에서

   『ProgramData\Microsoft\Windows\Start Menu\Programs』로 이동.

- 바탕 화면 경로 admin->public으로 이동.

   『Users\Administrator\Desktop』에서

   『Users\Public\Desktop』 (필자는 어차피 바탕화면에 아무것도 안 놓는 걸 좋아해서 필요없긴 하다... 그러나 혹시나 이 글을 누군가 보고 필요할 수도 있어 적어둔다.)

-  실행 - 『C:\Windows\system32\sysprep\sysprep.exe /generalize /oobe /shutdown』 입력. (실행창이 관리자 모드가 아닐 경우 cmd를 관리자 모드로 켜야겠죠?)

 Enter!    =>






2. wim 파일 최종 수정

- vmware player를 관리자 권한으로 실행 후 가상 머신의 settings의 Hard Disk 부분에서 map을 누르고 "open file in read-only mode" 체크된 상태로 빈 파티션으로 마운트.(ex:U:\)

   



- 마운트된 이미지를 관리자모드 cmd로 진입 후 dism으로 캡쳐(win 8 이상)

DISM /Capture-Image /ImageFile:install.esd /CaptureDir:U:\  /Name:"Win10edu" /compress:fast


**윈7일 경우

  - cmd를 관리자 권한으로 실행, imageX파일이 있는 위치로 가서

   『imagex /compress fast /check /scroll /capture U: Z:\install.wim "Windows 7 Proffesional K"

  (빠른 압축, 이미지 파일 무결성 check, 이미지 과정 scroll, U:\ 내용을 V:\install.wim로 만듦)


- vmware에서 mapping해 두었던 U: disconnect.























cf) 윈도 업데이트 먼저 통합하기. (현재 윈도10은 1607버전이 최신이고, 이후 업데이트는 신경 쓸 만큼 그리 많지 않아 업데이트를 진행하진 않았다. 그리고 wim-esd 변환이 귀찮!!!)


DISM(Deployment Image Servicing and Management; 배포 이미지 서비스 및 관리)을 주로 이용다.

-  윈도 이미지에서 sources\install.wim 혹은 sources\install.esd 파일을 추출한다.

-  『dism /get-wiminfo /wimfile:install.wim』or 『dism /get-wiminfo /wimfile:install.esd』 입력, 수정할 버전의 index number를 알아 둔다. 

- esd->wim 파일로 변환 (시간이 좀 걸린다..)

『dism /export-image /sourceimagefile:install.esd /sourceindex:index number /destinationimagefile:install.wim /compress:fast』

- mount할 폴더를 하나 만들어 두고 (여기선 mt라 하자.) 마운트한다.

   『dism /mount-wim /wimfile:install.wim /index:index number /mountdir:mt』

- 업데이트 통합.

   『dism /image:mt /add-package /packagepath:update files path

 돌려놓고 컴퓨터가 절전모드에 빠지지 않게 설정해 둔 뒤 라면 하나 끓여먹고 집안일 좀 하다가 오는 걸 추천..ㅎ (업데이트양이 많을 때)

- 폴더 unmount.

   『dism /unmount-wim /mountdir:mt /commit』.

 혹시 오류가 생겨 중단한 경우, 변경 사항 삭제가 필요하면 마지막부분에 commit 대신 discard를 써 주면 된다.

windows 7 wim 업데이트 통합, 프로그램 설치 후 iso 수정[2016.08.18]

Posted by 센큐
2016. 8. 18. 06:23 os/windows

우선 출처를 밝혀두자면,

[2009/11/21 - 윈도우 7 설치 - 감사 모드(Audit Mode)를 통해 일반화 작업하기 (Sysprep 봉인, 만능 고스트)]

이다.


목적은 여러 대의 컴퓨터에 똑같은 운영체제를 재설치(SSD만 교체하는 작업..) 해야 하는데 설치하려는 컴퓨터 사양이 그리 좋지 않아 업데이트, 설치에 시간이 너무 많이 걸리므로 최대한 시간을 줄여보고자 시도하는 것이다.



1. 윈도 7 업데이트 통합하기.


DISM(Deployment Image Servicing and Management; 배포 이미지 서비스 및 관리)을 주로 이용다.

-  『dism /get-wiminfo /wimfile:install.wim』 입력, 수정할 index number를 알아 둔다.

- mount할 폴더를 하나 만들어 두고 (여기선 mt라 하자.) 마운트한다.

   『dism /mount-wim /wimfile:install.wim /index:index number /mountdir:mt』

- 업데이트 통합.

   『dism /image:mt /add-package /packagepath:update files path

 돌려놓고 컴퓨터가 절전모드에 빠지지 않게 설정해 둔 뒤 라면 하나 끓여먹고 집안일 좀 하다가 오는 걸 추천..ㅎ (업데이트양이 많기때문에)

- 폴더 unmount.

   『dism /unmount-wim /mountdir:mt /commit』.

 혹시 오류가 생겨 중단한 경우, 변경 사항 삭제가 필요하면 마지막부분에 commit 대신 discard를 써 주면 된다.


(1-1. wim 파일 교체 - ultraISO 프로그램 이용 iso 수정 or usb NTFS 형식으로 제작 후 직접 교체)


참고로 exe파일을 update에 같이 넣고 싶다면 cmd에서 『"파일명" /x:"exe 풀 폴더명"』 이용



2. vmware(workstation pro에 포함된 player version을 이용해야 함. 추후 mapping을 위해) 상에서 프로그램 설치 후 sysprep 봉인 작업


- "I will install the operating system later."로 설치.

- 반드시 예약파티션 없이 설치 진행한다.

- "Windows 7 Proffesional K" 이런식으로 뜨며 사용자 이름 및 컴퓨터 이름 설정하는 창이 뜰 것이다. OOBESystem 단계라고 한다. 여기서 감사모드 진입 : Ctrl+Shift+F3.

- 프로그램 깔기 ㄱㄱ (for All users로 설치해야 함, 재시작 No!) 문제가 생겼을 때 대비를 위해 take snapshot(vmware) 찍어가며 설치.

- 설치한 프로그램 그룹 경로

   『Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs』에서

   『ProgramData\Microsoft\Windows\Start Menu\Programs』로 이동.

- 바탕 화면 경로 admin->public으로 이동.

   『Users\Administrator\Desktop』에서

   『Users\Public\Desktop』 (필자는 어차피 바탕화면에 아무것도 안 놓는 걸 좋아해서 필요없긴 하다... 그러나 혹시나 이 글을 누군가 보고 필요할 수도 있어 적어둔다.)

-  실행 - 『C:\Windows\system32\sysprep\sysprep.exe /generalize /oobe /shutdown』 입력. (어차피 관리자모드라 그냥 써도 된다.)



3. wim 파일 최종 수정

- vmware player를 관리자 권한으로 실행 후 가상 머신의 settings의 Hard Disk 부분에서 map을 누르고 "open file in read-only mode" 체크된 상태로 빈 파티션으로 마운트.(ex:U:\)

- cmd를 관리자 권한으로 실행, imageX파일이 있는 위치로 가서

   『imagex /compress fast /check /scroll /capture U: Z:\install.wim "Windows 7 Proffesional K"』

  (빠른 압축, 이미지 파일 무결성 check, 이미지 과정 scroll, U:\ 내용을 V:\install.wim로 만듦, 이미지 설명 : 윈7프로K)

- vmware에서 U:\ disconnect.



install.wim 파일이 생길 것이다..!


물론 이 수정한 wim파일에 1번을 재적용 해도 될 것 같긴 하나, 시도해 보진 않았다.




win10 16-08-27 추가


2. vmware에서 설치

우선 시스템 감사 모드로 들어가서 한글2014를 설치할 때 닷넷프레임워크 3.5가 깔리지 않아 불편하다. (인터넷 연결을 배제했기 때문에)

이 때는 윈도 설치 미디어를 탑재한 다음 관리자 모드 Cmd에서

Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:E:\sources\sxs /LimitAccess

를 입력한다. (이 때 E는 윈도 설치 미디어의 위치. )(출처 : How to enable .NET Framework 3.5 on Windows 8 in Offline Mode)


3. wim 파일 생성.



4. wim->esd 파일로 변환

dism /export-image /sourceimagefile:install.wim /sourceindex:index number /destinationimagefile:install.esd /compress:fast


5. iso 파일에서 source폴더의 install.esd 변경

linux mint 17.3 cinnamon 설치 [2016.07.09]

Posted by 센큐
2016. 7. 9. 17:32 os/linux (서버, 일반)

[리눅스 민트 시나몬 스크린샷]


리눅스 민트 




우분투 기반의 OS이다. (Ubuntu trusty : ubuntu 14.04(LTS) ver., Ubuntu Xenial : ubuntu 16.04(LTS) ver.)


[Linux Mint 17.3 "Rosa" - Cinnamon (64-bit) 설치]

우분투 사용자 모임 등에서 눈팅을 통해 얻은 결과 (물론 다음에 다시 포스팅하거나 이 글을 수정하여 자세한 정보 기재 예정) 우분투 16.04는 아직도 해결되지 못한 문제들이 꽤 보이는 것 같아 14.04버전을 기반으로 한 녀석을 쓰기로 결정하쳤다.


일단 다운로드 받고 부팅디스크를 제작한다. (이는 다른 많은 사이트들에도 올라와있으므로 pass!)



1. software sources에서 mirrors 변경 (업데이트 및 파일들 받는 주소 변경)


root 계정 비밀번호 활성화 :  sudo passwd root

All about linux [2016.07.09~]

Posted by 센큐
2016. 7. 9. 03:26 os/linux (서버, 일반)

start.




links.

https://www.linux.com/

리눅스 민트, 설치는 어떻게? - 설치, 최적화 방법!

Windows 10 과 Ubuntu 15.10 듀얼 부팅 하기

나의 리눅스 노트북(Linux Mint) 초기 세팅법 (15.03.06 updated)

우분투에서 wine 설치 및 설정법




info.



windows 7 efi 방식으로 부팅하기 [2016.06.18]

Posted by 센큐
2016. 6. 18. 20:57 os/windows

현재 windows 10을 쓰고 있다. 호환성이 많이 좋아지긴 했지만, 윈도7을 쓰는 게 편한 경우도 있어 결국 윈도 7과 10을 멀티부팅하기로 결정했다.


우선, 윈도 10과 7의 가장 중요한 차이는 efi 방식과 아닌 방식이라는 점이다. 


윈도 8 이상 버전은 메인보드가 지원하는 한 efi 방식으로 설치가 가능하다. efi 방식의 장점은 빠른 부팅속도... 가 있고, 나머지는 아직 잘 느끼지 못하겠지만,, efi 방식으로 설치하기 위해서는 하드 디스크가 GPT 방식이어야 한다. 그러나 win7 포함, 이전의 운영체제는 MBR 방식을 이용한다. MBR 방식의 하드에서는 efi 방식으로 설치가 되지 않고, GPT 방식의 하드에서는 efi방식 외의 이전 윈도 설치가 되지 않는다.


다행히, 윈도7 64bit 버전에 한해 efi 방식 설치도 가능하다고 한다. 그러나 이마저도 윈도7을 GPT 방식 하드에 설치하기 위해 사전 작업을 해야 한다.


1. 부팅usb를 만든다.  (부팅시 ntfs 방식의 usb로는 efi 부팅이 안되는 경우도 있으므로 fat32 포맷을 권장)





2. 설치 usb 내의 efi\microsoft\boot 폴더 전체를 efi 폴더로 붙여넣어 준다.


3. windows 7 64bit 사용자 기준, 본인의 C:\windows\boot\efi 폴더에서 bootmgfw.efi 파일을 복사, usb 파일 내의 efi\boot 폴더 내에 붙여넣은 후, bootx64.efi로 파일명을 변경해 준다.







필자의 노트북은 bios 설정에서 legacy 모드, uefi 모드를 각각 지원하는데, 위 방법은 legacy or uefi 모드를 지원하는 보드에서만 적용이 되는 것 같다.. 

나중에 다른컴퓨터에 적용하기 위해 글을 남겨둔다.


결국 legacy 모드로 win10과 win 7을 멀티부팅시키기로 결정..!


16.06.20 legacy 모드로 win7을 설치하고, VHD로 win10을 설치하였다. VHD 설치 방법은 [윈도우 7 VHD 만들어서 설치하기 :: snoopybox] 를 참고하였다. 글 내용은 윈7에 관한 내용이지만, 윈10으로도 거의 똑같이 적용된다.


16.06.24 혹시 몰라 간단한 VHD 설치 방법을 기록해 놓겠다.


1. 윈도 설치 모드로 부팅

2. Shift+F10 (cmd 창 열기)

3. diskpart

4. create vdisk file="위치" maximum=최대용량(MB) type=expandable(동적 메모리 할당; VHD 부팅때만 최대용량으로 만들어줌)

5. attach vdisk

6. exit

7. install gogo!



16.07.08

- CSM mode (legacy & uefi mode) 지원 보드(Gigabyte 970A-DS3)에서 시도해 본 결과 정상적으로 win 7이 설치되었다..! 보드가 지원해야 gpt 디스크에도 win 7을 설치할 수 있다.


- 위의 순서 2에서 windows 7 64bit 사용자 이외에도 windows 10 64bit 사용자도 똑같이 적용된다. 다만, usb 부팅 초기에 loading 화면이 약간 다르다.