Linux/Ubuntu2012. 2. 10. 14:15

 $ sudo service gdm stop
은 ubuntu 10.04 까지이고
ubuntu 11.10 부터는

 $ sudo service lightdm stop
으로 종료해야 한다고 한다.

[링크 : http://ubuntu.or.kr/~ubuntu/viewtopic.php?p=93957]
2010/08/23 - [Linux/Ubuntu] - ubuntu 에서 X window 종료시키기

Posted by 구차니
Linux/Ubuntu2012. 2. 5. 20:52
가끔 설치된 프로그램의 설정파일을 찾으려고 낑낑대는 적이 많았는데 -_-
dpkg 명령을 이용해서 해당 패키지의 설치경로를 알아내면 이런 고생은 안해도 되니 편할듯

$ dpkg -L [패키지 명]  

[링크 : http://newbiedoc.sourceforge.net/tutorials/apt-get-intro/info.html]  


단, 설치되어 있는 프로그램에 한함. 설치되지 않은 경우에는 설치하지 않았다고 나옴
$ codeblocks
'codeblocks' 프로그램은 현재 설치되어 있지 않습니다.  다음을 입력하여 이를 설치할 수 있습니다:
sudo apt-get install codeblocks
 
$ dpkg -L codeblocks
`codeblocks' 패키지는 설치하지 않았습니다.
아카이브 파일 정보를 보려면 dpkg --info를 실행하시고 (= dpkg-deb --info)
아카이브 내용을 보려면 dpkg --contents를 실행하십시오 (= dpkg-deb --contents)   

Posted by 구차니
Linux/Ubuntu2012. 1. 20. 20:51
iptable 에 존재하는 테이블 목록은
filter / nat / mangle/ raw
네가지 이다.
[링크 : http://www.linuxreport.org/content/view/26/23/

filter:
This is the default table (if no -t option is passed). It contains the built-in chains INPUT (for packets destined to local sockets), FORWARD (for packets being routed through the box), and OUTPUT (for locally-generated packets).
nat:
This table is consulted when a packet that creates a new connection is encountered. It consists of three built-ins: PREROUTING (for altering packets as soon as they come in), OUTPUT (for altering locally-generated packets before routing), and POSTROUTING (for altering packets as they are about to go out).
mangle:
This table is used for specialized packet alteration. Until kernel 2.4.17 it had two built-in chains: PREROUTING (for altering incoming packets before routing) and OUTPUT(for altering locally-generated packets before routing). Since kernel 2.4.18, three other built-in chains are also supported: INPUT (for packets coming into the box itself),FORWARD (for altering packets being routed through the box), and POSTROUTING (for altering packets as they are about to go out).
raw:
This table is used mainly for configuring exemptions from connection tracking in combination with the NOTRACK target. It registers at the netfilter hooks with higher priority and is thus called before ip_conntrack, or any other IP tables. It provides the following built-in chains: PREROUTING (for packets arriving via any network interface)OUTPUT (for packets generated by local processes)

[링크 :  http://linux.die.net/man/8/iptables]  

iptable 에서 "관리"하는 목록은 proc fs에 존재하며
해당 테이블의 규칙 보는 방법은 -L 옵션을 사용하면 된다.

$ sudo cat /proc/net/ip_tables_names
mangle

$ sudo iptables -t mangle -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination 

[링크 : http://forum.soft32.com/linux2/iptables-list-tables-ftopict29473.html]
Posted by 구차니
Linux/Ubuntu2012. 1. 19. 19:16
라우팅 관련해서 보다 보니 먼가 익숙하면서도 기억에 없는 녀석이 떡~하고 나타나서 찾아보니
zeroconf 관련 대역이라고 한다.

[링크 :  http://my.oops.org/111

$ ip rule show
0:      from all lookup local
32766:  from all lookup main
32767:  from all lookup default

$ ip route show
192.168.10.0/24 dev eth0  proto kernel  scope link  src 192.168.10.10  metric 1
169.254.0.0/16 dev eth0  scope link  metric 1000
default via 192.168.10.1 dev eth0  proto static 

다시 살아난(!) 위키에서 검색하니 Link-Local 용으로 RFC 3927에 정의된 녀석이라...

Reserved address blocks
CIDR address blockDescriptionReference
0.0.0.0/8 Current network (only valid as source address) RFC 1700
10.0.0.0/8 Private network RFC 1918
127.0.0.0/8 Loopback RFC 5735
169.254.0.0/16 Link-Local RFC 3927
172.16.0.0/12 Private network RFC 1918
192.0.0.0/24 Reserved (IANA) RFC 5735
192.0.2.0/24 TEST-NET-1, Documentation and example code RFC 5735
192.88.99.0/24 IPv6 to IPv4 relay RFC 3068
192.168.0.0/16 Private network RFC 1918
198.18.0.0/15 Network benchmark tests RFC 2544
198.51.100.0/24 TEST-NET-2, Documentation and examples RFC 5737
203.0.113.0/24 TEST-NET-3, Documentation and examples RFC 5737
224.0.0.0/4 Multicasts (former Class D network) RFC 3171
240.0.0.0/4 Reserved (former Class E network) RFC 1700
255.255.255.255 Broadcast RFC 919
[링크 :  http://en.wikipedia.org/wiki/IPv4#Special-use_addresses]
Posted by 구차니
Linux/Ubuntu2012. 1. 18. 23:46
집에서 사용하는 케이블 모뎀과 핸드폰의 테터링을 이용해서 동시에 해볼려고 했는데 영 안되네 -_-


공유기를 쓰므로 eth0(유선)은 192.168.0.1
테터링은 eth1(무선) 192.168.1.1 로 연결되는데

$ sudo ip route add default scope global nexthop via 192.168.0.1 dev eth0 weight 1 nexthop via 192.168.1.1 dev eth1 weight 1
RTNETLINK answers: File exists  
이런 에러를 뱉는다. -_-

Did you try to remove the old default gw? 
ip route del default ... 
And add your multipath route with several nexthops sfter that.

[링크 : http://www.debian-administration.org/articles/377
찾아보니 ip route del default 명령과 추가를 하라는데. 추가는 몰라서

$ ip route del default  
로 삭제만 하니 일단 외부로 보내려고 시도는 하지만 영안되는듯 -_-

아무튼, 위의 명령어를 수행하고 나니 아래처럼 default가 두줄로 나오는 신기한 현상!
$ ip route show
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.148  metric 2 
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.154  metric 1 
169.254.0.0/16 dev eth0  scope link  metric 1000 
default via 192.168.0.1 dev eth0  proto static 
 
$ ip route show
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.148  metric 2
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.154  metric 1
192.168.10.0/24 dev eth2  proto kernel  scope link  src 192.168.10.2
169.254.0.0/16 dev eth0  scope link  metric 1000
default
        nexthop via 192.168.0.1  dev eth0 weight 1
        nexthop via 192.168.1.1  dev eth1 weight 1 

[링크 : http://www.linuxhorizon.ro/iproute2.html]
2011/12/17 - [Linux/Ubuntu] - 여러개의 업링크 / 인터넷 업체를 사용할 경우 라우팅 설정하기 



----
2012.1.20

connection timed out이 뜨는데 왜그런걸까.. rule이 문제일까.. iptable의 문제일까?
[링크 : http://www.linuxquestions.org/.../mail-sending-problem-%96-postfix-connection-timed-out-port-25-a-713108/]
[링크 :  http://wiki.mikrotik.com/wiki/Manual:IP/Route


---
2012.1.21
혹시나 해서 /etc/iproute2/rt_tables 에 추가하고 나서
해당 테이블 별로 default 설정을 해주고 나서 테이블 별로 룰을 추가해주니
connection timed out도 안뜨고 잘되는데

# ip route add default via 192.168.0.1 dev eth0 table CABLE
# ip rule add from 192.168.0.1/24 table CABLE

# ip route add default via 192.168.1.1 dev eth1 table CELLPHONE
# ip rule add from 192.168.1.1/24 table CELLPHONE 

아직까지는 확인은 해봐야겠지만, Round-Robin처럼 작동하는 기분?

$ dstat -n -N eth0,eth1,total 

명령을 해 놓고 나오는 결과를 보고 있노라면
두개를 동시에 하는 경우는 거의 없고, 한다고 해도 몰빵을 해주는 경향을 보인다.
단지, 어려개 탭을 띄워놓거나, 다운로드는 동시에 여러개 하지 않는 이상에는 대역폭이 합쳐지지 않고
단순하게 multiple gateway를 순차적으로 쓰는 것으로 보인다.

link aggregation을 하지 않아서 그러려나?


Posted by 구차니
Linux/Ubuntu2012. 1. 14. 22:42
lshw는 lspci나 lsusb 등의 자료를 조합해서 트리구조로 출력해주는 유틸리티이다.
그런데 너무 상세하게 나와서... 오히려 보기가 힘드네 -_-
다행히도! lshw-gtk 라는 이름의 GUI 툴도 제공한다.!!

$ sudo apt-get install lshw-gtk
 


$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller (rev 12)
06:00.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:00.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:00.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:00.4 SD Host controller: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
06:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05) 

$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 152d:2339 JMicron Technology Corp. / JMicron USA Technology Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

$ lshw
WARNING: you should run this program as super-user.
devbuntu                  
    description: Computer
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 1015MiB
     *-cpu
          product: Intel(R) Pentium(R) M processor 1.73GHz
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu@0
          version: 6.13.8
          size: 1733MHz
          capacity: 1733MHz
          width: 32 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2 cpufreq
     *-pci
          description: Host bridge
          product: Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 04
          width: 32 bits
          clock: 33MHz
          configuration: driver=agpgart-intel
          resources: irq:0
        *-display:0
             description: VGA compatible controller
             product: Mobile 915GM/GMS/910GML Express Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:16 memory:b0080000-b00fffff ioport:1800(size=8) memory:c0000000-cfffffff(prefetchable) memory:b0040000-b007ffff
        *-display:1 UNCLAIMED
             description: Display controller
             product: Mobile 915GM/GMS/910GML Express Graphics Controller
             vendor: Intel Corporation
             physical id: 2.1
             bus info: pci@0000:00:02.1
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: cap_list
             configuration: latency=0
             resources: memory:44000000-4407ffff
        *-multimedia
             description: Audio device
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=HDA Intel latency=0
             resources: irq:16 memory:b0000000-b0003fff
        *-pci:0
             description: PCI bridge
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: pci bus_master cap_list
             configuration: driver=pcieport
             resources: irq:24 ioport:2000(size=4096) memory:b4000000-b7ffffff ioport:d0000000(size=67108864)
           *-network
                description: Ethernet interface
                product: 88E8036 PCI-E Fast Ethernet Controller
                vendor: Marvell Technology Group Ltd.
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: eth0
                version: 12
                serial: 00:e0:91:0b:75:8c
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical
                configuration: broadcast=yes driver=sky2 driverversion=1.25 firmware=N/A ip=192.168.0.154 latency=0 multicast=yes
                resources: irq:26 memory:b4000000-b4003fff ioport:2000(size=256)
        *-pci:1
             description: PCI bridge
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3
             vendor: Intel Corporation
             physical id: 1c.2
             bus info: pci@0000:00:1c.2
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: pci bus_master cap_list
             configuration: driver=pcieport
             resources: irq:25 ioport:3000(size=4096) memory:b8000000-bbffffff ioport:d4000000(size=67108864)
        *-usb:0
             description: USB Controller
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:23 ioport:1820(size=32)
        *-usb:1
             description: USB Controller
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2
             vendor: Intel Corporation
             physical id: 1d.1
             bus info: pci@0000:00:1d.1
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:19 ioport:1840(size=32)
        *-usb:2
             description: USB Controller
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3
             vendor: Intel Corporation
             physical id: 1d.2
             bus info: pci@0000:00:1d.2
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:18 ioport:1860(size=32)
        *-usb:3
             description: USB Controller
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4
             vendor: Intel Corporation
             physical id: 1d.3
             bus info: pci@0000:00:1d.3
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master
             configuration: driver=uhci_hcd latency=0
             resources: irq:16 ioport:1880(size=32)
        *-usb:4
             description: USB Controller
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
             vendor: Intel Corporation
             physical id: 1d.7
             bus info: pci@0000:00:1d.7
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=ehci_hcd latency=0
             resources: irq:23 memory:b0004000-b00043ff
        *-pci:2
             description: PCI bridge
             product: 82801 Mobile PCI Bridge
             vendor: Intel Corporation
             physical id: 1e
             bus info: pci@0000:00:1e.0
             version: d4
             width: 32 bits
             clock: 33MHz
             capabilities: pci bus_master cap_list
             resources: ioport:4000(size=4096) memory:bc000000-bc0fffff memory:40000000-43ffffff(prefetchable)
           *-pcmcia
                description: CardBus bridge
                product: PCIxx21/x515 Cardbus Controller
                vendor: Texas Instruments
                physical id: 0
                bus info: pci@0000:06:00.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pcmcia bus_master cap_list
                configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=192
                resources: irq:16 memory:fedff000-fedfffff ioport:4000(size=256) ioport:4400(size=256) memory:40000000-43ffffff(prefetchable) memory:48000000-4bffffff
           *-firewire
                description: FireWire (IEEE 1394)
                product: OHCI Compliant IEEE 1394 Host Controller
                vendor: Texas Instruments
                physical id: 0.2
                bus info: pci@0000:06:00.2
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=ohci1394 latency=32 maxlatency=4 mingnt=2
                resources: irq:16 memory:bc006000-bc0067ff memory:bc000000-bc003fff
           *-storage
                description: Mass storage controller
                product: PCIxx21 Integrated FlashMedia Controller
                vendor: Texas Instruments
                physical id: 0.3
                bus info: pci@0000:06:00.3
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: storage bus_master cap_list
                configuration: driver=tifm_7xx1 latency=57 maxlatency=4 mingnt=7
                resources: irq:16 memory:bc004000-bc005fff
           *-generic
                description: SD Host controller
                product: PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
                vendor: Texas Instruments
                physical id: 0.4
                bus info: pci@0000:06:00.4
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=sdhci-pci latency=57 maxlatency=4 mingnt=7
                resources: irq:16 memory:bc007000-bc0070ff memory:bc006c00-bc006cff memory:bc006800-bc0068ff
           *-network
                description: Wireless interface
                product: PRO/Wireless 2200BG [Calexico2] Network Connection
                vendor: Intel Corporation
                physical id: 2
                bus info: pci@0000:06:02.0
                logical name: eth1
                version: 05
                serial: 00:13:ce:18:65:9f
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=ipw2200 driverversion=1.2.2kmprq firmware=ABG:9.0.5.27 (Dec 12 2007) ip=192.168.0.162 latency=32 maxlatency=24 mingnt=3 multicast=yes wireless=IEEE 802.11g
                resources: irq:18 memory:bc008000-bc008fff
        *-isa
             description: ISA bridge
             product: 82801FBM (ICH6M) LPC Interface Bridge
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-ide:0
             description: IDE interface
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller
             vendor: Intel Corporation
             physical id: 1f.1
             bus info: pci@0000:00:1f.1
             logical name: scsi0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master emulated
             configuration: driver=ata_piix latency=0
             resources: irq:18 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:1810(size=16)
           *-cdrom
                description: DVD-RAM writer
                product: DVD-RAM UJ-822S
                vendor: MATSHITA
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/cdrw
                logical name: /dev/dvd
                logical name: /dev/dvdrw
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: 1.02
                capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
                configuration: ansiversion=5 status=nodisc
        *-ide:1
             description: IDE interface
             product: 82801FBM (ICH6M) SATA Controller
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 04
             width: 32 bits
             clock: 66MHz
             capabilities: ide bus_master cap_list
             configuration: driver=ata_piix latency=0
             resources: irq:19 ioport:18c8(size=8) ioport:18c0(size=4) ioport:18a8(size=8) ioport:180c(size=4) ioport:18b0(size=16) memory:b0004400-b00047ff
        *-serial UNCLAIMED
             description: SMBus
             product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 04
             width: 32 bits
             clock: 33MHz
             configuration: latency=0
             resources: ioport:18e0(size=32)
  *-scsi
       physical id: 1
       bus info: scsi@4
       logical name: scsi4
       capabilities: scsi-host
       configuration: driver=usb-storage 


[링크 : http://ezix.org/project/wiki/HardwareLiSter]
    [링크 : http://linux.die.net/man/1/lshw]
    [링크 : http://linux.die.net/man/8/lsusb]
    [링크 : http://linux.die.net/man/8/lspci]
Posted by 구차니
Linux/Ubuntu2012. 1. 14. 22:30
FALinux 세미나에서 득템(?)한 smi 자막 파일을 지원하는 동영상 재생 프로그램이다.

mplayer의 front-end라는데.. mplayer 패키지를 설치하면 cui로만 있어서 흐음..
아무튼 간에 기본으로 iso-9660 자막으로 되어 있기에 한글 자막은 깨지므로 CP949로 변경을 해주어야 한다.


[링크 : https://help.ubuntu.com/community/SMPlayer]
    [링크 : http://smplayer.sourceforge.net/]
Posted by 구차니
Linux/Ubuntu2012. 1. 14. 20:39
APM 서비스 설시치 필요한 패키지 목록

 $ sudo apt-get install apache2 mysql-server php5-mysql php5 php5-gd 

$ sudo a2enmod rewrite
$ sudo vi /etc/apache2/sites-available/default

$ sudo service apache2 restart

[링크 : http://imj2y.inetiz.com/25

문제점 목록
php5-gd를 설치하지 않으면 설치조건 검사에서 gd 쓸수없다고 나옴
php5-gb만 설치시에는 apache2를 재시작하기 전에는 인식하지 않음
php5-mysql을 설치하지 않으면 mysql 을 설치하더라도 db연결 목록에 나오지 않음
Posted by 구차니
Linux/Ubuntu2012. 1. 4. 18:40
smart는 디스크의 수명 예측을 위한 보고를 하는 녀석인데
윈도우에서야 HD Tune을 써도 되지만 리눅스라면 이녀석을 쓰면된다.
smartmontools는 CUI이고, GUI로는 gsmartcontrol이 존재한다.





[링크 : https://help.ubuntu.com/community/Smartmontools]
Posted by 구차니
Linux/Ubuntu2012. 1. 4. 16:37
htop이나 top은 하드사용은 보여주지 않는데
dstat은 디스크의 읽기 쓰기 속도를 같이 리포트 해준다.
ncurse 식으로 보여주는게 아니라 조금 아쉽지만 컬러풀!

출력내용은 CPU / 디스크 / 네트워크  인데 뒤에 두개는 패이징과 시스템 인터럽트 이런거 같은데 흐음..
자세한 내용이 man 페이지에 없으니 어쩌라구 ㅠ.ㅠ


[링크 : https://help.ubuntu.com/community/DiskPerformance]
[링크 : http://linux.die.net/man/1/dstat]

[링크 : http://dag.wieers.com/home-made/dstat/]

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

우분투에 제로보드 XE 설치시 필요한 패키지 목록  (0) 2012.01.14
ubuntu용 S.M.A.R.T 프로그램  (0) 2012.01.04
ubuntu 에서 mysql 기본 db 위치  (0) 2012.01.04
gpart / testdisk  (0) 2012.01.04
UUID로 mount 하기  (0) 2012.01.03
Posted by 구차니