96.3 Авто радио
98.1 Формула
98.5
98.9 Hi Fi
99.3 Инээмсэглэл
99.7 Их Монгол
100.1 Элгэн нутаг
100.5 Миний Монгол
100.9 P3
101.7 Лидер
102.1 Эх орон
102.5 Улаанбаатар
103.6 Tv FM
104 Life радио
104.5 Гэр бvлийн радио
105 Таны дэргэд
105.5 Хотын хєгжим
107 Шинэ зууны радио
107.5 Шинэ долгион
Thursday, October 30, 2008
FM радио, Улаанбаатар
Monday, October 13, 2008
How To Check Free Disk Space on FreeBSD Server
Shell df -h
For example:
server1# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad2s1a 193M 38M 140M 21% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad2s1d 242M 199M 24M 89% /home
/dev/ad2s1f 17G 4.3G 12G 27% /usr
/dev/ad2s1e 242M 79M 144M 35% /var
server1#
For example:
server1# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad2s1a 193M 38M 140M 21% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad2s1d 242M 199M 24M 89% /home
/dev/ad2s1f 17G 4.3G 12G 27% /usr
/dev/ad2s1e 242M 79M 144M 35% /var
server1#
Friday, October 10, 2008
Tomcat Automatic Startup/Shutdown on FreeBSD 6.1
#!/bin/sh
#
# Startup script for Tomcat
# Script must be /local/usr/etc/rc.d
# Author: Gankhuyag Dovdon March 18, 2005
# description: Tomcat Automatic Startup/Shutdown on FreeBSD 6.1
#
prog="tomcat5.5.20 server"
_RUNJAVA="/usr/sbin/chroot /usr/chroot/httpd /usr/local/diablo-jdk1.5.0/bin/java"
JAVA_ENDORSED_DIRS=/usr/local/apache-tomcat-5.5.20/common/endorsed
CLASSPATH=/usr/local/diablo-jdk1.5.0/lib/tools.jar:/usr/local/apache-tomcat-5.5.20/bin/bootstrap.jar
CATALINA_BASE=/usr/local/apache-tomcat-5.5.20
CATALINA_HOME=/usr/local/apache-tomcat-5.5.20
CATALINA_TMPDIR=/usr/local/apache-tomcat-5.5.20/temp
CATALINA_LBASE=/usr/chroot/httpd/usr/local/apache-tomcat-5.5.20
start() {
echo "The $prog has been successfully started."
$_RUNJAVA \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Duser.timezone=Asia/Hong_Kong \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
-Djava.net.preferIPv4Stack=true \
org.apache.catalina.startup.Bootstrap "$@" start \
>> "$CATALINA_LBASE"/logs/catalina.out 2>&1 &
}
stop() {
echo "The $prog has been successfully stopped."
$_RUNJAVA \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Duser.timezone=Asia/Hong_Kong \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
org.apache.catalina.startup.Bootstrap "$@" stop \
>> "$CATALINA_LBASE"/logs/catalina.out 2>&1 &
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo "Usage: $prog {start|stop|restart}"
exit 1
esac
exit 0
#
# Startup script for Tomcat
# Script must be /local/usr/etc/rc.d
# Author: Gankhuyag Dovdon March 18, 2005
# description: Tomcat Automatic Startup/Shutdown on FreeBSD 6.1
#
prog="tomcat5.5.20 server"
_RUNJAVA="/usr/sbin/chroot /usr/chroot/httpd /usr/local/diablo-jdk1.5.0/bin/java"
JAVA_ENDORSED_DIRS=/usr/local/apache-tomcat-5.5.20/common/endorsed
CLASSPATH=/usr/local/diablo-jdk1.5.0/lib/tools.jar:/usr/local/apache-tomcat-5.5.20/bin/bootstrap.jar
CATALINA_BASE=/usr/local/apache-tomcat-5.5.20
CATALINA_HOME=/usr/local/apache-tomcat-5.5.20
CATALINA_TMPDIR=/usr/local/apache-tomcat-5.5.20/temp
CATALINA_LBASE=/usr/chroot/httpd/usr/local/apache-tomcat-5.5.20
start() {
echo "The $prog has been successfully started."
$_RUNJAVA \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Duser.timezone=Asia/Hong_Kong \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
-Djava.net.preferIPv4Stack=true \
org.apache.catalina.startup.Bootstrap "$@" start \
>> "$CATALINA_LBASE"/logs/catalina.out 2>&1 &
}
stop() {
echo "The $prog has been successfully stopped."
$_RUNJAVA \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Duser.timezone=Asia/Hong_Kong \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
org.apache.catalina.startup.Bootstrap "$@" stop \
>> "$CATALINA_LBASE"/logs/catalina.out 2>&1 &
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo "Usage: $prog {start|stop|restart}"
exit 1
esac
exit 0
To add mysql service in WIN32
To add
D:\mysql\bin\mysqld --install mysql --defaults-file=d:\mysql\my.ini
To remove
D:\mysql\bin>mysqld --remove mysql
D:\mysql\bin\mysqld --install mysql --defaults-file=d:\mysql\my.ini
To remove
D:\mysql\bin>mysqld --remove mysql
Subscribe to:
Posts (Atom)