Netem
Emulating wide area network delays Add delay of 100ms: tc qdisc add dev eth0 root netem delay 100ms Remove delay: tc qdisc change dev eth0 root netem delay 0ms Change delay to 1000ms: tc qdisc change dev eth0 root netem
Emulating wide area network delays Add delay of 100ms: tc qdisc add dev eth0 root netem delay 100ms Remove delay: tc qdisc change dev eth0 root netem delay 0ms Change delay to 1000ms: tc qdisc change dev eth0 root netem
Download and unpack mod_jk source package to /root/archive or other location as desired: wget http://archive.apache.org/dist/jakarta/tomcat-4/source/\ jakarta-tomcat-connectors-4.1.27-src.tar.gz tar -xvzf jakarta-tomcat-connectors-4.1.27-src.tar.gz cd jakarta-tomcat-connectors-4.1.27-src/jk/native2 Prepare the configure script: chmod 755 buildconf.sh ./buildconf.sh Run the configure script: ./configure –with-apxs2=/usr/sbin/apxs \ –with-java-home=/usr/java/j2sdk1.4.2/ make libtool –finish
On a server using Plesk, it is possible to setup event handlers that will create a host in the primary domain so that a client’s domain can be managed with FrontPage prior to delegation of the client’s domain name. For
Use this command to add a frontpage web:
|
1 2 3 4 5 6 7 8 9 10 |
./owsadm.exe -o install \ -s /usr/local/apache2/conf/httpd.conf \ -xu nobody \ -xg nobody \ -u myuser \ -pw mypass -p 80 \ -m www.mydomain.com \ -t apache-2.0 |
How can one determine what settings were used to compile an install of the Apache webserver? At a command line type the following:
|
1 |
/usr/local/apache2/bin/httpd -V |
You’ll get back results similar to this:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
Server version: Apache/2.0.54 Server built: May 17 2005 08:19:09 Server's Module Magic Number: 20020903:9 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" |
If you have the source code that was
Reliable Penguin provides managed web hosting, systems administration, website and server migrations, and expert consulting.
Submit the form—or for immediate service call 866-649-7984.