Linux2016. 12. 12. 15:31

우분투에서 정상 기동했는데 런레벨이 2라고 뜨길래 허허헉?! 하면서 검색해보니

레드햇의 런레벨과는 좀 다른 구분을 한다고 한다.

$ runlevel

N 2 


아무튼 우분투는 1은 싱글 2는 멀티/GUI

레드햇은 3은 싱글 5는 멀티

[링크 : http://zetawiki.com/wiki/리눅스_런레벨]

'Linux' 카테고리의 다른 글

ctime mtime.. 엌?!  (0) 2016.12.31
base64 유틸리티  (0) 2016.12.28
yaffs2 / ext4 비교?  (0) 2016.11.04
dri drm ddx  (0) 2016.10.23
fdisk 파티션이 2048 부터 시작하는 이유  (0) 2016.10.22
Posted by 구차니
Linux/Ubuntu2016. 11. 14. 19:26

정리 잘 된 블로그 있어서 링크


[링크 : http://logon.tistory.com/391]


grub update

$ sudo vi /etc/default/grub

$ sudo update-grub


avahi disable

$ sudo /etc/default/avahi-daemon



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

crontab 과 cron 서비스 reload  (0) 2017.01.04
우분투에서 lamp / apm 설치 간편하게..  (0) 2016.12.29
fcitx-hangul  (0) 2016.11.14
xwindow 가상 터미널 비활성화 하기  (2) 2016.10.11
linux console disable on runtime  (0) 2016.10.11
Posted by 구차니
Linux/Ubuntu2016. 11. 14. 19:23

ibus는 한불 간건가?


[링크 : http://geekcoders.tistory.com/entry/Ubuntu-1604-fcitx-한글-설정]

[링크 : http://packages.ubuntu.com/trusty/utils/fcitx-hangul]


+

odroid u3 16.04에서 ibus 대신에 fcitx 하는데  빠르게 입력하고 공백을 넣어도 문제없이 잘 입력된다.

나중에 문제되면 nimf로 갈아타봐야지 일단은 귀찮...


여기서는 fcitx도 문제가 있으니 nimf로 하라고 하네..

[링크 : http://logon.tistory.com/391]

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

우분투에서 lamp / apm 설치 간편하게..  (0) 2016.12.29
ubuntu 16.04 설정관련  (0) 2016.11.14
xwindow 가상 터미널 비활성화 하기  (2) 2016.10.11
linux console disable on runtime  (0) 2016.10.11
linux cpu hotplug  (0) 2016.10.11
Posted by 구차니
Linux2016. 11. 4. 17:16

간단하게 정리하면..

eMMC 쓰면 ext4 써도 무난(eMMC에서 셀 관리 하니)

NAND에서는 yaffs가 무난(NAND는 셀 관리 기능이 없으므로)


다만. 안드로이드에서 2.3 버전 이후 바꾼 이유는

성능 저하로 인해(yaffs가 single thread라는데 무슨 의미인지..) 그렇다고


 The problem with YAFFS, T'so explained in his blog entry, is that it is single-threaded and would likely "have been a bottleneck on dual-core systems." Concurrency will be important on next-generation Android devices that use multi-core ARM processors.


[링크 : http://arstechnica.com/.../2010/12/ext4-filesystem-hits-android-no-need-to-fear-data-loss/]

    [링크 : http://stackoverflow.com/questions/23946910/what-file-system-does-android-use]

[링크 : https://kldp.org/node/137454]

'Linux' 카테고리의 다른 글

base64 유틸리티  (0) 2016.12.28
리눅스 런레벨  (0) 2016.12.12
dri drm ddx  (0) 2016.10.23
fdisk 파티션이 2048 부터 시작하는 이유  (0) 2016.10.22
hostname을 이용한 자신의 아이피 받아오기  (0) 2016.10.18
Posted by 구차니
Linux2016. 10. 23. 20:24

The Device Dependent X (DDX) is the part of the x-server that interacts with the hardware.

[링크 : https://en.wikipedia.org/wiki/X.Org_Server]


The Direct Rendering Infrastructure (DRI) is a framework for allowing direct access to graphics hardware under the X Window System in a safe, efficient way.

[링크 : https://en.wikipedia.org/wiki/Direct_Rendering_Infrastructure]


In computing, the Direct Rendering Manager (DRM), a subsystem of the Linux kernel, interfaces with the GPUs of modern video cards. DRM exposes an API that user-space programs can use to send commands and data to the GPU, and to perform operations such as configuring the mode setting of the display.

[링크 : https://en.wikipedia.org/wiki/Direct_Rendering_Manager]

'Linux' 카테고리의 다른 글

리눅스 런레벨  (0) 2016.12.12
yaffs2 / ext4 비교?  (0) 2016.11.04
fdisk 파티션이 2048 부터 시작하는 이유  (0) 2016.10.22
hostname을 이용한 자신의 아이피 받아오기  (0) 2016.10.18
파티션 label 변경하기  (0) 2016.10.15
Posted by 구차니
Linux2016. 10. 22. 11:09

결론은 파티션 정보로 인해서 그정도는 띄어놔야 한다?

63은 CHS 방식으로 파티션 나눌때나 그랬고

이제 더 커진 이유는 GPT로 인해서 크게크게?


Because your old disc was partitioned with a old utility, such as the Linux fdisk, that uselessly implemented track-alignment using the entirely fake disc geometry that you see reported, and your new disc has been or is being partitioned by a newer utility that (by default) aligns to 1MiB boundaries instead. 


In other words, the LBA sector number 63 corresponds to cylinder 0, head 1, sector 1 in the CHS format, which is the first sector you can use in the MBR format. However, the number 63 is not divisible by 8, which causes a problem with 4K drives, so some modern tools starts the first partition at 2048 which also provides future GPT compatibility. – billc.cn Oct 31 '11 at 23:48 


[링크 : http://superuser.com/questions/352572/why-does-the-partition-start-on-sector-2048-instead-of-63]

'Linux' 카테고리의 다른 글

yaffs2 / ext4 비교?  (0) 2016.11.04
dri drm ddx  (0) 2016.10.23
hostname을 이용한 자신의 아이피 받아오기  (0) 2016.10.18
파티션 label 변경하기  (0) 2016.10.15
구버전 사용시 호환(?)  (0) 2016.10.12
Posted by 구차니
Linux2016. 10. 18. 09:06

hostname을 이용해서 자기 자신의 아이피 를 받아 올수 있다.


$ hostname -i

127.0.0.1


$ hostname -I

192.168.10.11 


-i, --ip-address

Display the IP address(es) of the host. Note that this works only if the host name can be resolved. Avoid using this option; use hostname --all-ip-addresses instead. 


-I, --all-ip-addresses

Display all network addresses of the host. This option enumerates all configured addresses on all network interfaces. The loopback interface and IPv6 link-local addresses are omitted. Contrary to option -i, this option does not depend on name resolution. Do not make any assumptions about the order of the output.


[링크 : https://linux.die.net/man/1/hostname]

[링크 : http://stackoverflow.com/.../how-to-i-get-the-primary-ip-address-of-the-local-machine-on-linux-and-os-x]

'Linux' 카테고리의 다른 글

dri drm ddx  (0) 2016.10.23
fdisk 파티션이 2048 부터 시작하는 이유  (0) 2016.10.22
파티션 label 변경하기  (0) 2016.10.15
구버전 사용시 호환(?)  (0) 2016.10.12
strip 된 so 파일의 symbol 보기  (0) 2016.09.21
Posted by 구차니
Linux2016. 10. 15. 11:07

$ sudo e2label /dev/device new-label-name-here


[링크 : http://www.cyberciti.biz/faq/linux-modify-partition-labels-command-to-change-diskname/]

[링크 : https://linux.die.net/man/8/e2label]

'Linux' 카테고리의 다른 글

fdisk 파티션이 2048 부터 시작하는 이유  (0) 2016.10.22
hostname을 이용한 자신의 아이피 받아오기  (0) 2016.10.18
구버전 사용시 호환(?)  (0) 2016.10.12
strip 된 so 파일의 symbol 보기  (0) 2016.09.21
sysbench  (0) 2016.09.04
Posted by 구차니
Linux2016. 10. 12. 23:14

/bin/sh -> /bin/dash

이걸 /bin/bash로 변경

[링크 : https://www.howtoforge.com/community/threads/edgy-6-10-server.7704/]



/usr/include/stdio.h:671:20: note: previous declaration of ‘getline’ was here

[링크 : http://stackoverflow.com/.../why-do-i-get-a-conflicting-types-for-getline-error-when-compiling-the-longest]

'Linux' 카테고리의 다른 글

hostname을 이용한 자신의 아이피 받아오기  (0) 2016.10.18
파티션 label 변경하기  (0) 2016.10.15
strip 된 so 파일의 symbol 보기  (0) 2016.09.21
sysbench  (0) 2016.09.04
grep --exclude-dir  (0) 2016.07.09
Posted by 구차니
Linux/Ubuntu2016. 10. 11. 18:54

없으면 허전한 녀석이라 꺼볼일은 없을 듯?


$ sudo vi /etc/X11/xorg.conf

Section "ServerFlags"

    Option "DontVTSwitch" "true"

EndSection 



[링크 : http://askubuntu.com/questions/357039/how-do-i-disable-virtual-consoles-tty1-6]

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

ubuntu 16.04 설정관련  (0) 2016.11.14
fcitx-hangul  (0) 2016.11.14
linux console disable on runtime  (0) 2016.10.11
linux cpu hotplug  (0) 2016.10.11
ubuntu php4 설치  (0) 2016.10.06
Posted by 구차니