Auglýsingar :

alongkorn.s on February 26th, 2007

Apache2
$ ./configure \
prefix=/usr/local/apache2 \
enable-statusenable-includewith-mpm=worker \
enable-cgienable-sslenable-so \
enable-rewrite \
enable-mime-magic \
enable-suexec \
enable-static-rotatelogs \
enable-speling

PHP4
$ ./configureprefix=/usr/local \
enable-module=so\
with-calendar=sharedenable-magic-quotes \
enable-wddxenable-ftpenable-sockets \
enable-inline-optimizationenable-memory-limit \
with-gd=/usr/localwith-freetype-dir=/usr/local \
with-zlibenable-gd-native-ttwith-ttfwith-gettext \
with-jpeg-dir=shared,/usrwith-png-dir=shared,/usrwith-zlib-dir=shared,/usr \
with-mysql=/usr/local/mysqlwith-apxs2=/usr/local/apache2/bin/apxs

$ ln -s /usr/local/apache2/bin/apachectl /etc/init.d/apache2

Continue reading about Apache 2.2 & php4

Auglýsingar :

alongkorn.s on February 1st, 2007

วันนี้เช่า Dedicate server ตัวใหม่ที่เมืองนอก
ผมเช่าที่ Zipservers.com สเป๊กเครื่องธรรมดาๆน่ะคับ เอามารันโปรแกรม SImplifiedSEC
ประมาณนี้ครับ

- CPU AMD64 Athlon 3.2 GHz
- Ram 2 GB
- Harddisk SATA 80 G
ราคา $114/month (ราคานี้ต้องมาลงโปรแกรมเอง เค้าลงให้แต่ OS ซึ่งผมใช้ Debian Stable)

เอาล่ะคับ ทีนี้มาค่อยๆดูไปทีละขั้นตอน (จริงๆตั้งใจจะเขียนไว้อ่านเอง ใครจะเอาไปลองเล่นดูก็ไม่ว่านะ จริงๆมันก็ Basic แหละ แต่ผมมันประเภทขี้ลืม คราวหลังถ้าลงใหม่ จะได้ทำได้เลย ไม่ต้องคลำๆมาก)

## แก้ชื่อ Hostname
shell> pico /etc/hostname

server2.myplugblog.com

## ตั้ง Static IP (อันนี้เป็น IP ในวงแลนนะ)
#EDIT

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.15
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.1.255
gateway 192.168.1.1

shell> ifup eth0
shell> pico /etc/hosts

#ADD
192.168.1.15 server2.myplugblog.com

Continue reading about Install New Server

Page copy protected against web site content infringement by Copyscape

All product names are trademarks of their respective companies.Every effort is made to ensure content integrity. Use information on this site at your own risk. Information furnished in the blog is collected from various sites. This blog does not host any files on its server. Please report any broken links in comment. . Contact us at alongkorn.s(at)gmail.com