บทความ

กำลังแสดงโพสต์จาก พฤศจิกายน, 2011

ติดตั้ง Unzip สำหรับ LinuxSIS6.5 หรือที่ยังไม่มี unzip

Some linux servers can untar files but not unzip files. You may need to install unzip on your server to do this. Unzip can be found at: ftp://ftp.info-zip.org/pub/infozip/src/unzip541.tar.gz To install: 1. log into ssh 2. Switch to root #su - 3. issue these commands #gunzip unzip541.tar.gz #tar -xvf unzip541.tar.gz #cd unzip-5.41 #make -f unix/Makefile generic #make -f unix/Makefile install

Linuxsis 6.5 บริการพื้นที่ทำเว็บแก่นักเรียน

ขั้นตอนอาจจะลัดหน่อยไม่ต้องตรวจสอบ permission ให้ยุ่งยาก(เสี่ยงหน่อย) 1. wget ftp://ftp.opentle.org/people/ohno/sis/default   2. เอาไปแทนที่ ใน / etc/apache 2/ sites-available/   แล้ว /etc/init.d/apache2 restart 3. user สร้าง directory www เอง จะสร้างผ่าน filezilla  หรือผ่าน terminal ก็ได้ 4. หน้าที่ root สร้าง Link ด้วยคำสั่ง ln -s /home/username/www/ /var/www/ name << อะไรก็ได้ที่เห็นว่าเหมาะสม 5. อับโหลดไฟล์ index.html หรือ index.php ไปไว้ที่ /home/username/www 6. ทดสอบเข้าเว็บไซต์ http://ip/ name << อะไรก็ได้ที่เห็นว่าเหมาะสม download ไฟล์ defaultอีกทาง (ถ้าโหลดไม่ได้)