Linux/Ubuntu2011. 12. 11. 14:14
motd 라고 해야하나 issue 라고 해야하나
아무튼, CPU 보안관련 경고는 CPU에서 지원안하는데 계속 뜨고 -_-
그 아래에 CPU 사용 현황등이 출력된다.

login as: minimonk
minimonk@192.168.0.135's password:
Linux ubuntu64srv 2.6.32-33-server #70-Ubuntu SMP Thu Jul 7 22:28:30 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.3 LTS

Welcome to the Ubuntu Server!
 * Documentation:  http://www.ubuntu.com/server/doc

Your CPU appears to be lacking expected security protections.
Please check your BIOS settings, or for more information, run:
  /usr/bin/check-bios-nx --verbose

  System information as of Sun Dec 11 14:12:38 KST 2011

  System load:  0.05               Processes:           130
  Usage of /:   0.7% of 129.32GB   Users logged in:     0
  Memory usage: 0%                 IP address for eth3: 192.168.0.135
  Swap usage:   0%

  Graph this data and manage this system at https://landscape.canonical.com/

Last login: Sat Dec  3 23:00:32 2011
minimonk@ubuntu64srv:~$ 



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

ubuntu-desktop 패키지 정보  (0) 2011.12.11
Ubuntu 시리얼 콘솔 활성화 시키기  (0) 2011.12.11
Ubuntu 릴리즈별 이름  (0) 2011.12.11
ifenslave 상황별 에러  (0) 2011.12.04
ubuntu server howto  (0) 2011.12.04
Posted by 구차니
Linux/Ubuntu2011. 12. 11. 12:53
Linux/Ubuntu2011. 12. 4. 23:23
modprobe bonding을 하지 않고 추가할 경우
$ sudo ifconfig bond0 192.168.12.1 netmsk 255.255.255.0
SIOCSIFADDR: No such device
bond0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
bond0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
bond0: ERROR while getting interface flags: No such device 

modprobe bonding을 하지 않았고 interface를 잘못입력한 경우
$ sudo ifenslave eth0 eth1
Master 'eth0': Error: handshake with driver failed. Aborting 

modprobe bonding을 하지 않았을 경우
$ sudo ifenslave bond0 eth0 eth1
Master 'bond0': Error: handshake with driver failed. Aborting  
 
interface 입력 오류시
$ sudo ifenslave bond0 eth0 eht1
Slave 'eht1': Error: get settings failed: No such device. Skipping
 

---
# modprobe bonding
# ifconfig bond0 192.168.0.1 netmask 255.255.0.0
# ifenslave bond0 eth0 eth1
[링크 : http://linux.die.net/man/8/ifenslave



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

ubuntu server 로그인 화면  (0) 2011.12.11
Ubuntu 릴리즈별 이름  (0) 2011.12.11
ubuntu server howto  (0) 2011.12.04
ubuntu server / desktop edition의 차이점  (0) 2011.12.03
ubuntu 64bit server 10.04 LTS 부팅이 안돼!  (0) 2011.12.03
Posted by 구차니
Linux/Ubuntu2011. 12. 4. 21:59
임베디드 우분투 이런거 없나?
aptitude로 관리해주는 임베디드 우분투 있으면 죽이겠는데 ㅋㅋㅋ

---
ajaxterm은 telnet이나 ssh를 웹에서 하게 해주는건데
ncurse 기반은 쓸수도 없고 방향키도 안되고 이래저래 많이 부족하지만
putty 같은거 받기 힘들경우에는 썩 나쁘진 않을듯
---

[링크 : https://help.ubuntu.com/community/Servers]
    [링크 : https://help.ubuntu.com/community/IptablesHowTo] firewall / masquerade
    [링크 : https://help.ubuntu.com/community/dhcp3-server]
    [링크 : https://help.ubuntu.com/community/BIND9ServerHowto] DNS Server
    [링크 : https://help.ubuntu.com/community/DynamicDNS] DDNS Client
Posted by 구차니
Linux/Ubuntu2011. 12. 3. 23:23
서버는 서버용 커널이 들어간것 외에는
iso 안에 들어있는 패키지의 차이이기 때문에 설치하면 결국에는 그게 그거라고 하면 되려나..
아무튼 가장 큰 차이점은 X.org(X11)의 설치 유무인데
ubuntu-desktop 패키지를 설치하면 한방에 해결된다고 한다.

[링크 : https://help.ubuntu.com/community/ServerFaq#What.27s_the_difference_between_desktop_and_server.3F]
[링크 : http://jhanglim.springnote.com/pages/1641042.xhtml]
[링크 : http://packages.ubuntu.com/hardy/ubuntu-desktop]

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

ifenslave 상황별 에러  (0) 2011.12.04
ubuntu server howto  (0) 2011.12.04
ubuntu 64bit server 10.04 LTS 부팅이 안돼!  (0) 2011.12.03
ubuntu 10.04 LTS 최소 디스크 사이즈  (0) 2011.11.15
vlan 1은 지원안함?  (0) 2011.11.06
Posted by 구차니
Linux/Ubuntu2011. 12. 3. 23:12
3ware 9500S      - /dev/sda
LSI 35c1030 id 0 - /dev/sdb 
LSI 35c1030 id 1 - /dev/sdc 

머.. 이렇게 잡히는 상황인데
아무생각없이 GRUB2 설치할때 넘겼다가 부팅이 안되서 다시 설치해보니
어....라? /dev/sda에 GRUB2를 설치하는 걸 발견 -_-

부랴부랴 back - back 해서 /dev/sdb에 설치하도록 하고 나서
리부팅하니 문제없이 부팅 -_-
아오 미네랄!!!! 

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

ubuntu server howto  (0) 2011.12.04
ubuntu server / desktop edition의 차이점  (0) 2011.12.03
ubuntu 10.04 LTS 최소 디스크 사이즈  (0) 2011.11.15
vlan 1은 지원안함?  (0) 2011.11.06
ip alias on ubuntu  (0) 2011.11.05
Posted by 구차니
Linux/Ubuntu2011. 11. 15. 20:41
2.4 기가는 필요하다고 하네 -ㅁ-
그냥 깔아보니 2기가면 될줄알았는데 일단 무시하고 설치중 ㅋㅋ

 
무시한다고 깔려주지 않는 녹록하지 않은 우분투 ㅠ.ㅠ
512MB의 메모리로 설정을 했는데, 2GB+swap으로 2.4기가 때려잡는것 같은데...
에효~ 3기가로 늘리고 다시 해봐야겠다~

 

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

ubuntu server / desktop edition의 차이점  (0) 2011.12.03
ubuntu 64bit server 10.04 LTS 부팅이 안돼!  (0) 2011.12.03
vlan 1은 지원안함?  (0) 2011.11.06
ip alias on ubuntu  (0) 2011.11.05
vlan on ubnutu  (0) 2011.11.05
Posted by 구차니
Linux/Ubuntu2011. 11. 6. 20:30
음.. 기본적으로 10번 VLAN으로 되어있어서 왜 그런가 했는데
1번을 해봤더니 다음과 같은 에러를 뱉어내는군!

$ sudo vconfig add eth0 1
Added VLAN with VID == 1 to IF -:eth0:-
WARNING:  VLAN 1 does not work with many switches,
consider another number if you have problems. 


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

ubuntu 64bit server 10.04 LTS 부팅이 안돼!  (0) 2011.12.03
ubuntu 10.04 LTS 최소 디스크 사이즈  (0) 2011.11.15
ip alias on ubuntu  (0) 2011.11.05
vlan on ubnutu  (0) 2011.11.05
netbeans package - ubuntu  (0) 2011.10.22
Posted by 구차니
Linux/Ubuntu2011. 11. 5. 23:59
ip alias는 동일 MAC에 여러개의 IP를 할당하는 기술이다.
단순하게 ifconfig 만으로 사용이 가능하며 : 구분자를 이용하여 할당한다.
기본적으로 추가된 가상 랜카드의 맥 어드레스는 물리 랜카드의 맥 어드레스와 동일하게 잡히게 된다.

$ sudo ifconfig eth0:0 192.168.1.1 up

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:e0:91:0b:75:8c  
          inet addr:192.168.0.154  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:91ff:fe0b:758c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1164 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1221 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1306134 (1.3 MB)  TX bytes:139974 (139.9 KB)
          Interrupt:16 

eth0:0    Link encap:Ethernet  HWaddr 00:e0:91:0b:75:8c  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:16 

[링크 : http://www.cyberciti.biz/tips/ubuntu-linux-creating-ethernet-alias-for-eth0-network-device.html

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

ubuntu 10.04 LTS 최소 디스크 사이즈  (0) 2011.11.15
vlan 1은 지원안함?  (0) 2011.11.06
vlan on ubnutu  (0) 2011.11.05
netbeans package - ubuntu  (0) 2011.10.22
sudo timeout 늘리기  (0) 2011.10.05
Posted by 구차니
Linux/Ubuntu2011. 11. 5. 23:55
vlan은 우분투에서 vlan 패키지로 vconfig라는 프로그램을 제공하게 된다.

$ vconfig
'vconfig' 프로그램은 현재 설치되어 있지 않습니다.  다음을 입력하여 이를 설치할 수 있습니다:
sudo apt-get install vlan

$ sudo apt-get install vlan
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다       
상태 정보를 읽는 중입니다... 완료
다음 새 패키지를 설치할 것입니다:
  vlan
0개 업그레이드, 1개 새로 설치, 0개 지우기 및 2개 업그레이드 안 함.
40.3k바이트 아카이브를 받아야 합니다.
이 작업 후 180k바이트의 디스크 공간을 더 사용하게 됩니다.
받기:1 http://kr.archive.ubuntu.com/ubuntu/ lucid/main vlan 1.9-3ubuntu3 [40.3kB]
내려받기 40.3k바이트, 소요시간 0초 (242k바이트/초)
전에 선택하지 않은 vlan 패키지를 선택합니다.
(데이터베이스 읽는중 ...현재 185765개의 파일과 디렉토리가 설치되어 있습니다.)
vlan 패키지를 푸는 중입니다 (.../vlan_1.9-3ubuntu3_i386.deb에서) ...
man-db에 대한 트리거를 처리하는 중입니다 ...
vlan (1.9-3ubuntu3) 설정하는 중입니다 ...

$ vconfig
Expecting argc to be 3-5, inclusive.  Was: 1

Usage: add             [interface-name] [vlan_id]
       rem             [vlan-name]
       set_flag        [interface-name] [flag-num]       [0 | 1]
       set_egress_map  [vlan-name]      [skb_priority]   [vlan_qos]
       set_ingress_map [vlan-name]      [skb_priority]   [vlan_qos]
       set_name_type   [name-type]

* The [interface-name] is the name of the ethernet card that hosts
  the VLAN you are talking about.
* The vlan_id is the identifier (0-4095) of the VLAN you are operating on.
* skb_priority is the priority in the socket buffer (sk_buff).
* vlan_qos is the 3 bit priority in the VLAN header
* name-type:  VLAN_PLUS_VID (vlan0005), VLAN_PLUS_VID_NO_PAD (vlan5),
              DEV_PLUS_VID (eth0.0005), DEV_PLUS_VID_NO_PAD (eth0.5)
* FLAGS:  1 REORDER_HDR  When this is set, the VLAN device will move the
            ethernet header around to make it look exactly like a real
            ethernet device.  This may help programs such as DHCPd which
            read the raw ethernet packet and make assumptions about the
            location of bytes.  If you don't need it, don't turn it on, because
            there will be at least a small performance degradation.  Default
            is OFF.

$ sudo modprobe 8021q

$ lsmod | grep 8021q
8021q                  18564  0 
garp                    6284  1 8021q

$ sudo vconfig add eth0 10
Added VLAN with VID == 10 to IF -:eth0:-

$ sudo ifconfig eth0.10 10.0.0.1 netmask 255.255.255.0

$ ifconfig
eth0.10   Link encap:Ethernet  HWaddr 00:e0:91:0b:75:8c  
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:91ff:fe0b:758c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:2110 (2.1 KB) 

[링크 : https://wiki.ubuntu.com/vlan]

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

vlan 1은 지원안함?  (0) 2011.11.06
ip alias on ubuntu  (0) 2011.11.05
netbeans package - ubuntu  (0) 2011.10.22
sudo timeout 늘리기  (0) 2011.10.05
리눅스에서 하드 I/O 사용량 측정하는 방법  (0) 2011.09.27
Posted by 구차니