- 追加された行はこの色です。
- 削除された行はこの色です。
***チューニング [#iae792a6]
-IPv4関連
http://www.linux.or.jp/JF/JFdocs/kernel-docs-2.4/networking/ip-sysctl.txt.html
-最大プロセス数
Linuxにおける最大プロセス数の考え方は、プロセス数+スレッド数。また、glibcに関連する場合の最大スレッド数はPTHREAD_THREADS_MAXの定義を確認。
/proc/sys/kernel/threads-max
参考: http://www-1.ibm.com/support/docview.wss?uid=std34e38bb4af846cc0c49256f01003acf01
-エラーメッセージ検索
http://ossmpedia.org/
***Kernel Build [#d0d4bdf4]
# cp old/.config
# make dep
# make bzImage
# make modules
# make modules_install
# cat arch/i386/boot/bzImage > /boot/vmlinuz-2.6.20.1
# cp System.map /boot/System.map-2.6.20.1
# cd /boot
# mkinitrd initrd-2.6.20.1 2.6.20.1
# ls -la initrd-2.6.20.1
-rw-r--r-- 1 root root 115561 2月21日 02:20 initrd-2.6.20.1
# mv initrd-2.6.20.1 initrd-2.6.20.1.img
# cd /etc
# cp -ip lilo.conf lilo.conf.yyyymmddnn
# vi lilo.conf
# /sbin/lilo
Warning: LINEAR is deprecated in favor of LBA32: LINEAR specifies 24-bit
disk addresses below the 1024 cylinder limit; LBA32 specifies 32-bit disk
addresses not subject to cylinder limits on systems with EDD bios extensions;
use LINEAR only if you are aware of its limitations.
Added linux
Added linux2619 *
Added linux2620
# rm System.map
# ln -fs System.map-2.6.20.1 System.map
# cat lilo.conf
prompt
timeout=20
default=linux2619
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
linear
image=/boot/vmlinuz-2.6.16-0vl60
label=linux
initrd=/boot/initrd-2.6.16-0vl60.img
read-only
append="root=LABEL=/"
image=/boot/vmlinuz-2.6.19.1
label=linux2619
initrd=/boot/initrd-2.6.19.1.img
read-only
append="root=LABEL=/"
image=/boot/vmlinuz-2.6.20.1
label=linux2620
initrd=/boot/initrd-2.6.20.1.img
read-only
append="root=LABEL=/"
***ユーザーID管理のメモ [#xb8e7e02]
# chage
Usage: chage [-l] [-m min_days] [-M max_days] [-W warn]
[-I inactive] [-E expire] [-d last_day] user
# usermod
使用法: usermod [-u ユーザID [-o]] [-g グループ] [-G グループ,...]
[-d ホーム [-m]] [-s シェル] [-c コメント] [-l 新規ユーザ名]
[-f 無効日数] [-e 期限切れ日 ] [-p パスワード] [-L|-U] ユーザ名
-/etc/shadowファイルのフォーマット
username:passwd:last:may:must:warn:expire:disable:reserved
,username,passwd,last,may,must,warn,expire,disable,reserved
,ユーザ名,エンコードされたパスワード,1970年1月1日から、パスワードが最後に更新された日までの日数,何日前にパスワードが変更されたと思われるか,パスワードを変更しなければならない期限,パスワードの期限切れの何日前にユーザに警告するか,パスワード期限切れの何日後にアカウントを抹消するか,1970年1月1日から、アカウントが抹消された日までの日数,予約フィールド
-ロック
--状況表示
# faillog -u username
--ロックの解除
# faillog -r username
***3CFE575CTを100Mbps-Full Duplexにする方法 [#id0ce339]
3COMのCardBus NICのリンクアップスピードを変更する方法
[root@misago /root]# mii-diag eth1 -F 100baseTx-FD~
Setting the speed to "fixed", Control register 2100.~
Basic registers of MII PHY #0: 2100 780d 0300 e54b 01e1 0000 0000 0000.~
Basic mode control register 0x2100: Auto-negotiation disabled, with~
Speed fixed at 100 mbps, full-duplex.~
You have link beat, and everything is working OK.~
Link partner information is not exchanged when in fixed speed mode.~
End of basic transceiver information.
***Channel Bonding [#lcf7c343]
http://mikilab.doshisha.ac.jp/dia/research/person/atsushi/bonding1.html
----
#counter