preload
Jan 05

Advanced Linux Programming

銝剜蝧餉陌
Linux 蝟餌擃蝥抒蝔

Tagged with:
Jul 29

Arch Linux 銝剜隞

Lawliet’s blog: ArchLinux 典誨摮貉絲頝嚗(09.7.5湔)
Arch Linux Handbook [PDF]

Tagged with:
Apr 14

詨蝔撘桀 kernel.org 蝞∠蝬剛風

祈隞 A.B.C.D A.B.C-D 靘銵函內

Example:2.6.25.11

A: 銝餉祈蝣

B: 銝餉祉甈∟祈蝣潘舐其斗瑟臬衣箇帘摰研銝祈閮嚗憟貊粹潔葉嚗development嚗穿嗆貊箇帘摰嚗stable嚗研

C: 隞銵 A.B 箸活賂憒嚗2.6.10嚗 2.6 蝚砍甈⊿箇研

D: kernel.org 撣詨芾蝭 A.B.C 嚗撱撣豢寞閬靽格寞詨皞蝣潦撣貊 .D -D 銵函內嚗隞銵其耨甇甈⊥詻

Tagged with:
Apr 14
  • logout嚗 Linux 皞餃綽桀 shell銝餅批唳蝯蝡舀
  • exit嚗蝯撌脤 shell 啣
  • CTRL+D嚗蝑 logout 隞扎
Tagged with:
Apr 12

蝯蝡舀Terminal嚗

蝯蝡舀舀靘銝砌蝙刻蝯雿輻刻雿輻函萇方W蝯嚗蝥蝺芸楛獢VW萇斗亙唬撩銝餅銝嚗臭誑其蜓璈銝脰雿Linux靘鈭銝蝔桀怠祉蝡舀嚗Pseudo Terminal嚗鋆蝵殷憒TelnetSSH蝺唬撩銝餅扳嚗撠望祉蝡舀鋆蝵株雿輻刻脰雿

銝餅批蚓onsole嚗

銝餅批唬蜓閬舀靘蝯衣頂蝯梁恣鈭箏⊿脰雿雿輻函嚗撣豢舀湔亙其撩典W萇斤嚗撣訾撩冽曄蔭冽蹂葉嚗蝟餌絞蝞∠鈭箏∪臭誑敺雿雿輻具Linux銝雿輻函鈭粹餉阡撣訾瑕喟絞UNIX銝餅璅銝餅批啗蝵殷箔詨踝Linux靘蝔梁箄砌蜓批堆Virtual Console嚗璈塚Linux詨祉孵Y憭銝餅批唬g雿梁典銝蝯萇方W璅⊥砍銝餅批啁嗆Linux閮剜啣鈭粹餉虫靘12砌蜓批啗蝵殷瘥砌蜓批圈賜策鈭銝鋆蝵桀蝔 ttyN嚗 N 隞銵函洵撟曉砌蜓批啁楊

  • tty1 ~ tty6嚗Linux閮剜靘剖摮隞Yconsole嚗 Ctrl+Alt+Fn (F1~F6)
  • tty7嚗閮剜靘敶VY console 嚗交摰鋆 X 銝血嚗靘踵砌蜓批啗蝵柴Ctrl+Alt+F7

嚗桀Linux撣詨芣靘7 console嚗交閬典啣5嚗閬靽格寧頂蝯梯身摰賢

Tagged with:
Apr 19

拇 PCI NAS-01G 其蝙函 backdoor
蝝銝銝敹

摮曇楝敺嚗/mnt/Share/backdoor

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/sh
 
#################摰鋆debian#####################
#if [ -e /mnt/Share/nas01g_debian.tar ]; then
#cd /mnt
#tar xf /mnt/Share/nas01g_debian.tar
#mv /mnt/Share/nas01g_debian.tar /mnt/Share/nas01g_debian.installed.tar
#fi
##############################################
 
#####################摰鋆銝血dropbear (SSH)#########################
#cp /mnt/Share/dropbear /mnt
#cp /mnt/Share/dropbearkey /mnt
#mkdir -p /etc/dropbear
#/mnt/dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
#/mnt/dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
#chmod 777 /tmp
#/mnt/dropbear
#################################################################
 
####################璈撠勗責ebian銝血嗅批遣SSH##################
if [ -d /mnt/debian ]; then
/mnt/debian/bin/chroot /mnt/debian /etc/rc3.d/S20ssh restart
if [ ! -e /mnt/debian/proc/cpuinfo ]; then
mount -t proc proc /mnt/debian/proc
fi
#################################################################
 
###########################嗡憿#########################
#if [ -e /mnt/debian/etc/init.d/apache2 ]; then
#/mnt/debian/bin/chroot /mnt/debian /etc/init.d/apache2 restart
#fi
 
#/mnt/debian/bin/chroot /mnt/debian /etc/init.d/mysql restart
#fi
 
#if [ -e /mnt/debian/usr/share/zoneinfo/Asia/Taipei ]; then
#/mnt/debian/bin/chroot /mnt/debian cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime
#fi
#if [ -e /mnt/debian/usr/sbin/ntpdate ]; then
#/mnt/debian/bin/chroot /mnt/debian /usr/sbin/ntpdate clock.stdtime.gov.tw
######################################################################
 
fi
Tagged with:
Oct 20

銝抵絲靘迴ute銝銝銝脤嘴PI唳蝡嚗閰西鈭蝡券鋆∩誑鞈
蝜潛梯 »

Tagged with: