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
Friday, September 12, 2008
Commander File Transfer
Commander File Transfer
-----------------------
<> Cloning using SHARE.EXE
A problem exists when you are trying to clone to a COM port on a
machine that has SHARE.EXE installed. A conflict exists between the
Clone software opening the device COMX and SHARE granting exclusive
rights to this port to the Clone Bootstrap loader. This results in
sharing violation errors occurring during a cloning session. To get
around this problem use the CTTY AUX command instead of CTTY COM1:.
<> Pin layout of the cables.
You can order a special Commander Cable to link any two computers
together. A special order form is included in the Norton
Commander 5.0 box. Please refer to it for further details on this
offer.
<> Pin layout of the serial cables.
9 - 9 Serial 9 - 25 Serial 25 - 25 Serial
2 ======= 3 2 ======= 2 2 ======== 3
3 ======= 2 3 ======= 3 3 ======== 2
4 ======= 6 4 ======= 6 4 ======== 5
5 ======= 5 5 ======= 7 5 ======== 4
6 ======= 4 6 ======= 20 6 ======== 20
7 ======= 8 7 ======= 5 7 ======== 7
8 ======= 7 8 ======= 4 20 ======== 6
<> Pin layout of the parallel cable.
1 ======= 7
2 ======= 15
3 ======= 13
4 ======= 12
5 ======= 10
6 ======= 11
7 ======= 1
8 ======= 14
9 ======= 16
10 ======= 5
11 ======= 6
12 ======= 4
13 ======= 3
14 ======= 8
15 ======= 2
16 ======= 9
17 ======= 17
18 ======= 18
19 ======= 19
20 ======= 20
21 ======= 21
22 ======= 22
23 ======= 23
24 ======= 24
25 ======= 25
Internet server configuration database /etc/inetd.conf
#ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
#
# example entry for the optional pop3 server
#
pop3 stream tcp nowait root /usr/local/libexec/qpopper qpopper
ssh stream tcp nowait root /usr/sbin/sshd sshd -i -4
#
# example entry for the optional pop3 server
#
pop3 stream tcp nowait root /usr/local/libexec/qpopper qpopper
freeBSD config /etc/rc.conf
check_quotas="NO"
local_startup="/usr/local/etc/rc.d"
usbd_enable="NO"
ssd_enable="YES"
dhcpd_enable="YES"
dhcpd_ifaces="rl0"
inetd_enable="YES"
sendmail_enable="YES"
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
firewall_script="/etc/rc.firewall"
firewall_flags=""
natd_enable="YES"
natd_program="/sbin/natd"
natd_interface="em0"
natd_flags=""
ifconfig_em0="inet 202.179.7.39 netmask 255.255.255.192"
defaultrouter="202.179.7.33" // extranal interface
hostname="yourserver.name"
ifconfig_rl0="inet 192.168.0.1 netmask 255.255.255.0" // internal interface
local_startup="/usr/local/etc/rc.d"
usbd_enable="NO"
ssd_enable="YES"
dhcpd_enable="YES"
dhcpd_ifaces="rl0"
inetd_enable="YES"
sendmail_enable="YES"
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
firewall_script="/etc/rc.firewall"
firewall_flags=""
natd_enable="YES"
natd_program="/sbin/natd"
natd_interface="em0"
natd_flags=""
ifconfig_em0="inet 202.179.7.39 netmask 255.255.255.192"
defaultrouter="202.179.7.33" // extranal interface
hostname="yourserver.name"
ifconfig_rl0="inet 192.168.0.1 netmask 255.255.255.0" // internal interface
Subscribe to:
Posts (Atom)