Posts Tagged ‘centOS’

How to make apache gzip

November 15, 2010 Leave a comment

How to use mod_deflate?

# Compress output
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html

Categories: Apache, centOS, Zend Tags:

centOS – netbeans

February 20, 2010 1 comment

How to install netbeans 6.9m1

1. download the *.sh

2. [root@www Desktop]# chmod +x

3. [root@www Desktop]# ./
Configuring the installer…
Searching for JVM on the system…
Extracting installation data…
Running the installer wizard…

4. /usr/local/netbeans-6.9m1/bin/netbeans


Categories: centOS, Fedora 12 Tags:

centOS – Microsoft Internet explorer, ie, linux ie

February 19, 2010 2 comments

How can i develope website for cross browser’s? As centOS server operator? (never looking back to microsoft).

1. IEs4Linux, project is doing that.

2. wget

3. [root@www ~]# tar xvfz ies4linux-latest.tar.gz -C /root/

4. [root@www ies4linux-]# ls
ies4linux lang lib LICENSE mac README ui winereg
[root@www ies4linux-]# ./ies4linux
You need to install wine first!
Download it here:

5. [root@www ies4linux-]# yum install wine cabextract

centOS – crashed service need reinstall

February 7, 2010 Leave a comment

/etc/rc.d/rcX.d/S of KXXX script file changed, and service is crashed > resintall it

1. rpm -e –justdb –nodeps packagename
2. yum install packagename
3. chkconfig servicename –list
service servicename status

Categories: centOS, Fedora 12 Tags:

centOS – pop

January 28, 2010 Leave a comment

Lets make a co-location (point of presence) and our own MMR (meet me room)?

a. Home colocation? or b. Wirehouse pro colocations?

A. Home co-location:

What is VDSL?

VDSL stands for Very High Speed Digital Subscriber Line and offers a much faster transmission of data than standard DSL lines. It is delivered via a pair of copper lines twisted together to make a single line.
What’s so different about VDSL?

VDSL is deployed over ordinary phone lines, which makes it a much cheaper option for upgrading than fibre optics or new experimental methods that require power lines.

VDSL2 looks promising with possible bandwidths of up to 30MHz that will enable data transfer rates of up to 100Mbps for both up and down streaming.

This has some exciting prospects for high quality video, such as HDTV, on the Net. In addition, the seven different frequency bands used by VDSL means users can customise their upload and download rates.


The existing ADSL and ADSL2+ broadband services have fixed bit rates for downloading and uploading, and cannot support high definition video because of bandwidth limitations. VDSL does not have these limitations and, understandably, VDSL2 has a much greater range than VDSL1. However, ADSL still performs better, in terms of how far away a computer is from a telephone exchange before the service is seriously compromised or unavailable, and is more cost-effective for the average user.

One downside is that while VDSL2 could start with a theoretical maximum of up to 250Mbps (if the computer was inside the telephone exchange), it quickly drops to 100Mbps if the computer moves just half a kilometre away. At one kilometre the rate halves to just 50Mbps. ADSL2+ matches the performance of VDSL if the computer moves to just 1.6km away from the telephone exchange.
Which countries have VDSL?

Japan and Korea are by far the most ardent supporters of VDSL and have made widespread use of it to date. Other countries have been slower to take up the technology, with only one or two providers in each participating country.

Australia only has one VDSL provider, TransACT, an Internet provider based in Canberra. VDSL services are aimed at businesses, not individuals, so it can be assumed the cost of accessing the service is extremely high at this stage. To date, TransACT does not offer VDSL2 services.

– thanks to this vdsl vs adsl tips writter. Now we know the home staff?

Or i can use PSTN/ISDN: cisco soho/linksys (cisco), us robotics, dreytek

Categories: centOS, Fedora 12, Solaris, Unix/Linux Tags:

centOS – proFTPD

January 7, 2010 Leave a comment

Server FTP for Fedora 12

1. Query if installed?

[root@shamun html]# rpm -qa | grep ftp
[root@shamun html]#

2. Install

[root@shamun html]# yum install proftpd.i686

3. Check if its on for root else add that line.

[root@shamun html]# cat /etc/proftpd.conf | grep RootLogin
RootLogin                       on
[root@shamun html]#

4. Restart service

[root@shamun html]# service proftpd restart
Shutting down proftpd:                                     [  OK  ]
Starting proftpd:                                          [  OK  ]

TEST? i use firefox > addons >  FireFTP > as a client to

Categories: centOS Tags:

centOS – noip2

January 6, 2010 3 comments

How to dynamic ip to static DNS?
[root@www noip-2.1.9-1]# uname -a
Linux .be 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 i686 i386 GNU/Linux



2. have a account > After login > Hosts/Redirects

3. Add host > > for the public ip

4. download the client noip2….tar.gz file

[root@www ~]# wget
–2010-02-14 23:58:28–
Connecting to||:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 134188 (131K) [application/x-gzip]
Saving to: `noip-duc-linux.tar.gz’

100%[===================================================================================================================>] 134,188     86.2K/s   in 1.5s

2010-02-14 23:58:30 (86.2 KB/s) – `noip-duc-linux.tar.gz’ saved [134188/134188]

[root@www ~]#

5. upzip

[root@www ~]# tar xvfz noip-duc-linux.tar.gz -C /root/

6. make fail, use make install

[root@www noip-2.1.9-1]# cp binaries/noip2-i686 noip2
[root@www noip-2.1.9-1]# ls
[root@www noip-2.1.9-1]# make install
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin;fi
if [ ! -d /usr/local/etc ]; then mkdir -p /usr/local/etc;fi
cp noip2 /usr/local/bin/noip2
/usr/local/bin/noip2 -C -c /tmp/no-ip2.conf

Auto configuration for Linux client of

Please enter the login/email string for
Please enter the password for user ‘’  ****

Only one host [] is registered to this account.
It will be used.
Do you wish to run something at successful update?[N] (y/N)  N

New configuration file ‘/tmp/no-ip2.conf’ created.

mv /tmp/no-ip2.conf /usr/local/etc/no-ip2.conf
[root@www noip-2.1.9-1]# mv /tmp/no-ip2.conf /usr/local/etc/no-ip2.conf
mv: cannot stat `/tmp/no-ip2.conf’: No such file or directory

7. Put a standard interval + start the process

[root@www noip-2.1.9-1]# noip2 -U 5
Process 9306 – update interval changed to 5.
Configuration data ‘/usr/local/etc/no-ip2.conf’ updated
[root@www noip-2.1.9-1]# noip2 -S
1 noip2 process active.

Process 9306, started as /root/noip-2.1.9-1/noip2, (version 2.1.9)
Using configuration from /usr/local/etc/no-ip2.conf
Last IP Address set
configured for:
Address check every 5 minutes, directly connected via /dev/eth0.

8. Done..

Categories: centOS, Fedora 12 Tags: