[ แสดงความคิดเห็น ] ( 1 ดู ) | ลิงค์ถาวร |




( 3 / 275 )วันนี้จะว่าไรสารระก็คงได้ว่าจะทำ ris ต่อ แต่ก็ไม่ได้ทำแล้วยังติดต่อเพื่อนเก่าไม่ได้อีก จริงๆวันนี้กินข้าวหมูกระเทียมอร่อยดีกว่าทุกวันสงสับเขาเปลี่ยนสูตรมั่ง เรื่องน้ำขึ้นราคาแย่จังแต่ก็ดีจะได้ลองหาน้ำดื่มจากเครื่องดีๆๆมากินถูกกว่าตั้งเยอะ ดูการ์ตูนเห็นกินหม้อไฟกันจังอยากกินมั่งจัง หาสูตรน้ำซุปก็พอได้แต่ไม่รู้ว่ามันใช้จริงเปล่าเพราะไม่เคยกินนี้ดิ
[ แสดงความคิดเห็น ] ( 1 ดู ) | ลิงค์ถาวร |




( 2.9 / 250 )my step
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
step 1:
apt-get install tftpd-hpa
mkdir -p /home/ris/tftproot/
vim /etc/default/tftpd-hpa
***************************
#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /home/ris/tftproot"
***************************
apt-get install samba
vi /etc/samba/smb.conf
*********************************************************
[REMINST]
path = /home/ris/tftproot/
browsable = true
read only = No
guest ok = Yes
แก้ไข null passwords = true
*********************************************************
apt-get install dhcp3-server
vi /etc/dhcp3/dhcpd.conf
*********************************************************
dhcpd.conf
allow booting;
allow bootp;
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.0.0 netmask 255.255.255.0 {
# Never send DHCPNAK
not authoritative;
next-server 192.168.0.2;
filename "pxelinux.0"; ## ต้องแก้ไข
option subnet-mask 255.255.255.0;
option domain-name "serverRIS";
server-name "serverRIS";
range 192.168.0.201 192.168.0.250;
}
*********************************************************
apt-get install portmap
apt-get install cabextract
wget http://oss.netfarm.it/guides/ris-linux-0.4.tar.gz
tar xvzf ris-linux-0.4.tar.gz -C
wget http://www.kernel.org/pub/linux/utils/b ... .71.tar.gz
tar xvzf syslinux-3.71.tar.gz -C
echo "ALL : ALL" > /etc/hosts.allow
echo "" > /etc/hosts.deny
mkdir -p ${TFTPROOT}/drivers
cabextract ${TFTPROOT}/cdrom/i386/*.in_ -d ${TFTPROOT}/drivers
cabextract ${TFTPROOT}/cdrom/i386/driver.cab -d ${TFTPROOT}/drivers
cd ${RISROOT} && ./infparser.py {TFTPROOT}/drivers
pxelinux.cfg/default
*********************************************************
DISPLAY boot.txt
DEFAULT winxp
LABEL deb
kernel debian
append vga=normal initrd=debian/initrd.gz
label winxp
kernel winxp.0
PROMPT 1
TIMEOUT 0
*********************************************************
vim /home/ris/tftproot/boot.txt
*****************************************************
- Boot Menu -
=============
deb
winxp
*****************************************************
++++ setup winxp +++++++++
- Copy i386 directory from the installation media to a subdir called winxp
in the ris working directory
- Extract the pxe loader:
cabextract <Source dir>/i386/STARTROM.N1_
- Modify the name of the loader from NTLDR to XPLDR:
sed -i -e 's/NTLDR/XPLDR/gi' startrom.n12
- Move the modified pxe loader to tftpd root, and call it winxp.0
- Extract the setuploader, using cabextract:
cabextract <Source dir>/i386/SETUPLDR.EX_
- Modify the name of the response file from winnt.sif to winxp.sif
sed -i -e 's/winnt\.sif/winxp\.sif/gi' setupldr.exe
- Modify the name of ntdetect from ntdetect.com to ntdetect.wxp
sed -i -e 's/ntdetect\.com/ntdetect\.wxp/gi' setupldr.exe
- Move the modified setuploader to tftpd root, and call it XPLDR
- Copy <Source dir>/i386/NTDETECT.COM to tftpd root
and call it ntdetect.wxp
*********************************
winxp.sif
[data]
floppyless = "1"
msdosinitiated = "1"
; Needed for second stage
OriSrc = "\\YOUR_SERVER_NAME\YOUR_SHARE_NAME\winxp\i386"
OriTyp = "4"
LocalSourceOnCD = 1
DisableAdminAccountOnDomainJoin = 1
[SetupData]
OsLoadOptions = "/fastdetect"
; Needed for first stage
SetupSourceDevice = "\Device\LanmanRedirector\YOUR_SERVER_NAME\YOUR_SERVER_SHARE\winxp"
[UserData]
ComputerName = *
; if needed
;ProductID=
*********************************
+++++++++++++++++++++++++++++++++
run server ris
ifconfig eth0 192.168.0.2
sh /etc/init.d/portmap start
sh /etc/init.d/samba start
sh /etc/init.d/dhcp3-server start
/etc/init.d/tftpd-hpa start
cd /home/ris/tftproot/
./binlsrv.py
[ แสดงความคิดเห็น ] ( 1 ดู ) | ลิงค์ถาวร |




( 3 / 226 )หลังจากอ่าน เรื่องเกี่ยวกับ RIS server มา 2 วันแล้วก็พอจะเข้าใจบ้างแล้วลองทำก็ work บ้างแล้วคงต้องใช้เวลาอีกสักหน่อยก็คงเสร็จ เท่าที่ดูความสามารถของมันก็คือ ทำให้เครื่องอืนใน lan สามารถ boot เพื่อ install ลง win หรือ linux ก็ได้ แล้วรู้สึกว่ามันจะสามารถแบบ windowsPE ได้ และิboot เพื่อทำ ghots ได้ด้วย
[ แสดงความคิดเห็น ] ( 3 ดู ) | ลิงค์ถาวร |




( 3 / 226 )ที่จะใช้ในการทดลองหลักของเราก้คงเป็น vmware6 วิธีลงก็ง่ายๆ
[ แสดงความคิดเห็น ] ( 2 ดู ) | ลิงค์ถาวร |




( 3 / 227 )
ปฏิทิน



