linux mint 17.3에서 윈도 공유폴더 접근 [2017.04.15]

Posted by 센큐
2017. 4. 15. 14:28 os/linux (서버, 일반)

$$mount -t cifs 경로 "target 폴더" -o username=계정이름 -o password=비밀번호


상세한 설명은 다음에 추가하는 걸로.



소유자 root에서 바꾸기


sudo chown 바꿀소유자.바꿀그룹 file및폴더

[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) 프로그램 소개 - 개발자 지식 충전소]

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

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.