qmail
qmail+webmail on Linux9 安装全过程
2009-07-04 13:42:23 来源:网络评论:0点击:109
Install file list: * netqmail-1.05.tar.gz * ucspi-tcp-0.88.tar.gz * daemontools-0.76.tar.gz * vpopmail-5.4.0.tar.gz * mysql-standard-4.0.20-pc-linux-i686.tar.gz * apache_1.3.31.tar.gz * php-4.3.7.tar.
Install file list:
* netqmail-1.05.tar.gz
* ucspi-tcp-0.88.tar.gz
* daemontools-0.76.tar.gz
* vpopmail-5.4.0.tar.gz
* mysql-standard-4.0.20-pc-linux-i686.tar.gz
* apache_1.3.31.tar.gz
* php-4.3.7.tar.gz
* autorespond-2.0.4.tar.gz
* ezmlm-0.53.tar.gz
* ezmlm-idx-0.40.tar.gz
* qmailadmin-1.2.0.tar.gz
* sqwebmail-3.5.3.tar.gz
Patches:
* ezmlm-idx-0.53.400.unified_41.patch
Scripts:
* qmailctl
* inst_check
* qmailadmin_zh
* zh-cn/*
* images/webmail/*
Preparation:
Login the system as root.
mkdir -p /usr/local/src
mkdir -p /package
Move the files of installation, patches and scripts except daemontools-0.76.tar.gz to /usr/local/src
Move daemontools-0.76.tar.gz to /package
chmod 1755 /package
Start installation:
cd /usr/local/src
tar -xvzf netqmail-1.05.tar.gz
cd netqmail-1.05
./collate.sh # important sentence!!!
cd ..
tar -xvzf ucspi-tcp-0.88.tar.gz
rm *.tar # optional, unless space is very tight
cd /package
tar -xvzf daemontools-0.76.tar.gz
rm *.tar # optional, again
################################
# Install qmail
################################ mkdir /var/qmail
mkdir /etc/qmail
ln -s /etc/qmail /var/qmail/control
# Create users and groups
userdel alias
userdel qmaild
userdel qmaill
userdel qmailp
userdel qmailq
userdel qmailr
userdel qmails
groupdel nofiles
groupdel qmail
groupadd nofiles
useradd -g nofiles -d /var/qmail/alias alias
useradd -g nofiles -d /var/qmail qmaild
useradd -g nofiles -d /var/qmail qmaill
useradd -g nofiles -d /var/qmail qmailp
groupadd qmail
useradd -g qmail -d /var/qmail qmailq
useradd -g qmail -d /var/qmail qmailr
useradd -g qmail -d /var/qmail qmails
cd /usr/local/src/netqmail-1.05/netqmail-1.05
make setup check
# If your DNS is configured properly, this script should be all you need at this point: ./config
# Or you can configure your domain.
./config-fast https://www.360docs.net/doc/965792398.html,
################################
# Install ucspi-tcp
################################
cd /usr/local/src/ucspi-tcp-0.88
patch < /usr/local/src/netqmail-1.05/other-patches/ucspi-tcp-0.88.errno.patch make
make setup check
################################
# Install daemontools
################################
cd /package
tar -xvzf daemontools-0.76.tar.gz
cd /package/admin/daemontools-0.76/src
patch < /usr/local/src/netqmail-1.05/other-patches/daemontools-0.76.errno.patch cd ..
package/install
# Start qmail script
vi /var/qmail/rc
######## Write the following section to file:/var/qmail/rc ########
#!/bin/sh
# Using stdout for logging
# Using control/defaultdelivery from qmail-local to deliver messages by default exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"
######## End ########
chmod 755 /var/qmail/rc
mkdir /var/log/qmail
echo ./Maildir/ >/var/qmail/control/defaultdelivery
mv /usr/local/src/qmailctl /var/qmail/bin/
chmod 755 /var/qmail/bin/qmailctl
ln -s /var/qmail/bin/qmailctl /usr/bin
# Create the supervise
mkdir -p /var/qmail/supervise/qmail-send/log
mkdir -p /var/qmail/supervise/qmail-smtpd/log
vi /var/qmail/supervise/qmail-send/run
######## Write the following section to file:/var/qmail/supervise/qmail-send/run ########
#!/bin/sh
exec /var/qmail/rc
######## End ########
vi /var/qmail/supervise/qmail-send/log/run
######## Write the following section to file:/var/qmail/supervise/qmail-send/log/run ########
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail
######## End ########
vi /var/qmail/supervise/qmail-smtpd/run
######## Write the following section to file:/var/qmail/supervise/qmail-smtpd/run ########
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
######## End ########
echo 20 > /var/qmail/control/concurrencyincoming
chmod 644 /var/qmail/control/concurrencyincoming
vi /var/qmail/supervise/qmail-smtpd/log/run
######## Write the following section to file:/var/qmail/supervise/qmail-smtpd/log/run ########
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd
######## End ########
chmod +t /var/qmail/supervise/qmail-send
chmod +t /var/qmail/supervise/qmail-smtpd
chmod 755 /var/qmail/supervise/qmail-send/run
chmod 755 /var/qmail/supervise/qmail-send/log/run
chmod 755 /var/qmail/supervise/qmail-smtpd/run
chmod 755 /var/qmail/supervise/qmail-smtpd/log/run
mkdir -p /var/log/qmail/smtpd
chown qmaill /var/log/qmail /var/log/qmail/smtpd
ln -s /var/qmail/supervise/* /service/
# Allow the local host to inject mail via SMTP:
echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
qmailctl cdb
# Stop and disable the installed MTA:
/etc/init.d/sendmail stop
/sbin/init.d/sendmail stop
/etc/rc.d/init.d/sendmail stop
# Uninstall the sendmail:
rpm -e --nodeps sendmail
# Verify that nothing is listening to the SMTP port (25):
netstat -a | grep smtp
# If something is running, make sure it's not qmail by doing:
qmailctl stop
# The repeat the netstat check:
netstat -a | grep smtp
# Replace any existing /usr/lib/sendmail with the qmail version:
mv /usr/lib/sendmail /usr/lib/sendmail.old # ignore errors
mv /usr/sbin/sendmail /usr/sbin/sendmail.old # ignore errors
chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old # ignore errors
ln -s /var/qmail/bin/sendmail /usr/lib
ln -s /var/qmail/bin/sendmail /usr/sbin
# Create these aliases "stone":
echo stone > /var/qmail/alias/.qmail-root
echo stone > /var/qmail/alias/.qmail-postmaster
ln -s .qmail-postmaster /var/qmail/alias/.qmail-mailer-daemon
chmod 644 /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-postmaster
# Start qmail service:
qmailctl start
# Now qmail should now be running. You can run "qmailctl stat" to verify that the services are up and running:
# qmailctl stat
# And run "qmailctl cdb" to reload the /etc/tcp.smtp
# qmailctl cdb
mkdir /var/qmail/supervise/qmail-pop3d
vi /var/qmail/supervise/qmail-pop3d/run
######## Write the following section to file:/var/qmail/supervise/qmail-pop3d/run ########
#!/bin/sh
exec /usr/local/bin/softlimit -m 3000000 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ https://www.360docs.net/doc/965792398.html, /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1
######## End ########
mkdir /var/qmail/supervise/qmail-pop3d/log
vi /var/qmail/supervise/qmail-pop3d/log/run
######## Write the following section to file:/var/qmail/supervise/qmail-pop3d/log/run
########
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/pop3d
######## End ########
mkdir /var/log/qmail/pop3d
chown qmaill /var/log/qmail/pop3d
chmod 755 /var/qmail/supervise/qmail-pop3d/run
chmod 755 /var/qmail/supervise/qmail-pop3d/log/run
ln -s /var/qmail/supervise/qmail-pop3d /service
vi /var/qmail/bin/qmailctl
######## Add the following section to "start" part of the file:/var/qmail/bin/qmailctl ########
if svok /service/qmail-pop3d ; then
svc -u /service/qmail-pop3d /service/qmail-pop3d/log
else
echo qmail-pop3d supervise not running
fi
######## End ########
######## Add the following section to "stop" part of the file:/var/qmail/bin/qmailctl ########
echo " qmail-pop3d"
svc -d /service/qmail-pop3d /service/qmail-pop3d/log
######## End ########
######## Add the following section to "stat" part of the file:/var/qmail/bin/qmailctl ########
svstat /service/qmail-pop3d
svstat /service/qmail-pop3d/log
######## End ########
######## Add the following section to "pause" part of the file:/var/qmail/bin/qmailctl ########
echo "Pausing qmail-pop3d"
svc -p /service/qmail-pop3d
######## End ########
######## Add the following section to "cont" part of the file:/var/qmail/bin/qmailctl ########
echo "Continuing qmail-pop3d"
svc -c /service/qmail-pop3d
######## End ########
######## Add the following section to "restart" part of the file:/var/qmail/bin/qmailctl ########
echo "* Restarting qmail-pop3d."
svc -t /service/qmail-pop3d /service/qmail-pop3d/log
######## End ########
# Test the Installation:
cd /usr/local/src
sh inst_check
# When everything looks right, inst_check will report:
# Congratulations, your LWQ installation looks good!
################################
# Install mysql
################################
groupadd mysql
useradd -g mysql mysql
cd /usr/local
tar -xvzf /usr/local/src/mysql-standard-4.0.20-pc-linux-i686.tar.gz
ln -s mysql-standard-4.0.20-pc-linux-i686 mysql
cd mysql
scripts/mysql_install_db
cd ..
chown -R root.mysql mysql-standard-4.0.20-pc-linux-i686
chmod -R 640 mysql
chmod -R u+X,g+X mysql
chmod -R ug+x mysql/bin
chmod -R g+w mysql/data
chmod -R u+x mysql/scripts
cp /usr/local/mysql/support-files/https://www.360docs.net/doc/965792398.html,f /usr/local/mysql/data/https://www.360docs.net/doc/965792398.html,f
chgrp mysql /usr/local/mysql/data/https://www.360docs.net/doc/965792398.html,f
cd /usr/local/mysql
bin/safe_mysqld --user=mysql &
# Set the root password
/usr/local/mysql/bin/mysqladmin -u root password 'secret'
# Configure MySQL so it is running all the time from bootup onwards cp /usr/local/mysql/support-files/mysql.server /etc/rc.d/init.d/mysql chmod 744 /etc/rc.d/init.d/mysql
chkconfig --add mysql
################################
# Install apache
################################
cd /usr/local/src
chown -R root.root apache_1.3.31.tar.gz
tar -xvzf apache_1.3.31.tar.gz
groupadd www
useradd -g www www
cd /usr/local/src/apache_1.3.31
./configure \
--prefix=/usr/local/apache \
--enable-module=so \
--enable-module=rewrite \
--enable-shared=rewrite \
--server-uid=www \
--server-gid=www
make
make install
################################
# Install php
################################
cd /usr/local/src
tar -xvzf php-4.3.7.tar.gz
chown -R root.root php-4.3.7.tar.gz
cd php-4.3.7
./configure \
--with-mysql=/usr/local/mysql \
--with-apxs=/usr/local/apache/bin/apxs
make
make install
cp php.ini-dist /usr/local/lib/php.ini
vi /usr/local/lib/php.ini
######## Modify the /usr/local/lib/php.ini file and make sure it contains the following commands. ########
max_execution_time=60
memory_limit=10M
post_max_size=8M
upload_max_filesize=8M
file_uploads=On
log_errors=On
error_log=/usr/local/apache/logs/php_error_log
######## End ########
chown -R root.www /usr/local/lib/php
chmod -R g-w,o-rwx /usr/local/lib/php
vi /usr/local/apache/conf/httpd.conf
######## Modify the /usr/local/apache/conf/httpd.conf file and make sure it contains the following commands. ########
User www
Group www
ServerAdmin postmaster@https://www.360docs.net/doc/965792398.html,
ServerName https://www.360docs.net/doc/965792398.html,
# Following line should be present already as it would be inserted by the PHP make
# Make sure you move it outside of the IfDefineSSL section if the make (incorrectly) put it there
LoadModule php4_module libexec/libphp4.so
# uncomment (or add) the following line
AddType application/x-httpd-php .php
# Add the index.php into this line so apache will use this file as a default in addition to index.html
DirectoryIndex index.php index.html
######## End ########
rm -Rf /usr/local/apache/htdocs/*
rm -f /usr/local/apache/index.html.*
rm -Rf /usr/local/apache/cgi-bin/*
cd /usr/local
chown -R root.root apache
chmod 755 apache
chmod -R 600 apache/*
chmod -R u+X apache
cd apache
chmod -R u+x bin
chgrp -R www cgi-bin
chmod -R u+x,g+x cgi-bin
chgrp -R www icons
chmod -R g+rX icons
chgrp -R www logs
chmod g+wX logs
chgrp -R www htdocs
chmod -R g+rX htdocs
# Run apache every time at bootup.
rm -rf /etc/rc.d/init.d/httpd
vi /etc/rc.d/init.d/httpd
######## Create the /etc/rc.d/init.d/httpd file with the following commands. ########
#!/bin/sh
#
# Startup script for the Apache Web Server
#
# chkconfig: 345 85 15
# description: Apache is a World Wide Web server. It is used to serve \
# HTML files and CGI.
# processname: httpd
# pidfile: /var/run/httpd.pid
# Source function library.
./etc/rc.d/init.d/functions
# See how we were called.
case "$1" in
start)
echo -n "Starting httpd: "
daemon /usr/local/apache/bin/httpd
echo
touch /var/lock/subsys/httpd
;;
stop)
echo -n "Shutting down http: "
killproc httpd
echo
rm -f /var/lock/subsys/httpd
rm -f /var/run/httpd.pid
;;
status)
status httpd
;;
restart)
$0 stop
$0 start
;;
reload)
echo -n "Reloading httpd: "
killproc httpd -HUP
echo
;;
*)
echo "Usage: $0 {start|stop|restart|reload|status}" exit 1
esac
exit 0
######## End ########
chown root.root /etc/rc.d/init.d/httpd
chmod 744 /etc/rc.d/init.d/httpd
chkconfig --add httpd
################################
# Install vpopmial
################################
groupadd vchkpw
useradd -g vchkpw vpopmail
cd /usr/local/src
tar -xvzf vpopmail-5.4.0.tar.gz
chown -R root.root vpopmail-5.4.0
cd vpopmail-5.4.0
mkdir ~vpopmail/etc
chown vpopmail.vchkpw ~vpopmail/etc
echo "localhost|0|vpopmailuser|vpoppasswd|vpopmail" > ~vpopmail/etc/vpopmail.mysql chown vpopmail.vchkpw ~vpopmail/etc/vpopmail.mysql
chmod 640 ~vpopmail/etc/vpopmail.mysql
/usr/local/mysql/bin/mysql --password="secret"
CREATE DATABASE vpopmail;
GRANT select,insert,update,delete,create,drop ON vpopmail.* TO vpopmailuser@localhost IDENTIFIED BY 'vpoppasswd';
quit
./configure \
--disable-roaming-users \
--enable-logging=p \
--disable-passwd \
--enable-clear-passwd \
--disable-domain-quotas \
--enable-auth-module=mysql \
--disable-many-domains \
--enable-auth-logging \
--enable-mysql-logging \
--enable-valias \
--disable-mysql-limits
make
make install-strip
vi ~vpopmail/etc/vlimits.default
default_quota 20971520 # Set the mail box default size 20M.
echo "https://www.360docs.net/doc/965792398.html," > /home/vpopmail/etc/defaultdomain
# Setup the quota warning message that is sent to users when they are at 90% quota. vi quotawarn.msg
######## Create the quotawarn.msg file with the following commands. ######## From: SomeCompany Postmaster
Reply-To: postmaster@https://www.360docs.net/doc/965792398.html,
To: SomeCompany User:;
Subject: Mail quota warning
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Your mailbox on the server is now more than 90% full.
So that you can continue to receive mail,
you need to remove some messages from your mailbox.
If you require assistance with this,
please contact our support department :
email : support@https://www.360docs.net/doc/965792398.html,
Tel : xx xxxx xxxx
######## End ########
cp quotawarn.msg /home/vpopmail/domains/.quotawarn.msg
echo "Message rejected. Not enough storage space in user's mailbox to accept message." > /home/vpopmail/domains/.over-quota.msg
# add a domain
/home/vpopmail/bin/vadddomain https://www.360docs.net/doc/965792398.html, myqmail
# add a test account
/home/vpopmail/bin/vadduser stone@https://www.360docs.net/doc/965792398.html, stone
# delete a user
# /home/vpopmail/bin/vdeluser stone@https://www.360docs.net/doc/965792398.html,
# delete a domain
# /home/vpopmail/bin/vdeldomain https://www.360docs.net/doc/965792398.html,
################################
# Install autoresponder
################################
cd /usr/local/src
tar -xvzf autorespond-2.0.4.tar.gz
chown -R root.root autorespond-2.0.4
cd autorespond-2.0.4
make
make install
################################
# Install ezmlm / ezmlm-idx
################################
cd /usr/local/src
tar -xvzf ezmlm-0.53.tar.gz
chown -R root.root ezmlm-0.53
cd /usr/local/src
tar -xvzf ezmlm-idx-0.40.tar.gz
chown -R root.root ezmlm-idx-0.40
cp -R ezmlm-idx-0.40/* ezmlm-0.53/
# (you need to press y quite a few times to allow the patch files to overwrite the original files)
cd ezmlm-0.53
patch < idx.patch
patch -p1 < ../ezmlm-idx-0.53.400.unified_41.patch
make
make man
make setup
################################
# Install qmailadmin
################################
cd /usr/local/src
tar -xvzf qmailadmin-1.2.0.tar.gz
chown -R root.root qmailadmin-1.2.0
cd qmailadmin-1.2.0
./configure \
--enable-htmldir=/usr/local/apache/htdocs \
--enable-cgibindir=/usr/local/apache/cgi-bin \
--enable-maxusersperpage=12 \
--enable-maxaliasesperpage=12 \
--enable-modify-quota \
--disable-ezmlm-mysql \
--disable-help
make
make install-strip
# Chinese qmailadmin
# Backup the orginal files.
mv /usr/local/share/qmailadmin/lang/en /usr/local/share/qmailadmin/lang/en_bak mv /usr/local/src/qmailadmin_zh /usr/local/share/qmailadmin/lang/en
# Test the qmailadmin
https://www.360docs.net/doc/965792398.html,/cgi-bin/qmailadmin
################################
# Install sqwebmail
################################
cd /usr/local/src
tar -xvzf sqwebmail-3.5.3.tar.gz
chown -R root.root sqwebmail-3.5.3.tar.gz
cd sqwebmail-3.5.3
./configure \
--without-authpwd --without-authshadow --without-authpam \
--without-authuserdb --without-authldap --without-authdaemon \
--with-authvchkpw --with-fcgi --enable-unicode=gb2312 \
--enable-webpass=vpopmail \
--enable-cgibindir=/usr/local/apache/cgi-bin \
--enable-imagedir=/usr/local/apache/htdocs/images/webmail \
--enable-mimetypes=/usr/local/apache/htdocs \
--enable-mimecharset=gb2312 \
--with-defaultlang=zh
make
make install
make install-configure
cp -a /usr/local/apache/htdocs/images/webmail /usr/local/apache/htdocs/
mv -f /usr/local/src/zh-cn/* /usr/local/share/sqwebmail/html/zh-cn
mv /usr/local/src/images/webmail/* /usr/local/apache/htdocs/images/webmail/
# Test the webmail
https://www.360docs.net/doc/965792398.html,/cgi-bin/sqwebmail
Download the source
* qmail, https://www.360docs.net/doc/965792398.html,/netqmail-1.05.tar.gz
* ucspi-tcp, ftp://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
* daemontools, ftp://cr.yp.to/daemontools/daemontools-0.76.tar.gz
References:
https://www.360docs.net/doc/965792398.html,/lwq.html
https://www.360docs.net/doc/965792398.html,.au/staff/mbowe/isp/webmail-server.htm
http://cr.yp.to
(整理)matlab图像类型与彩色模型的转换.
第六讲图像类型与 彩色模型的转换 【目录】 一、图像类型的转换 (1) 1、真彩图像→索引图像 (3) 2、索引图像→真彩图像 (3) 3、真彩图像→灰度图像 (4) 4、真彩图像→二值图像 (4) 5、索引图像→灰度图像 (5) 6、灰度图像→索引图像 (6) 7、灰度图像→二值图像 (7) 8、索引图像→二值图像 (8) 9、数据矩阵→灰度图像 (9) 二、彩色模型的转换 (9) 1、图像的彩色模型 (10) 2、彩色转换函数 (10) 三、纹理映射 (13) 【正文】 一、图像类型的转换
1、真彩图像→索引图像 【格式】X =d i t h e r (R G B ,m a p ) 【说明】按指定的颜色表m a p 通过颜色抖动实现转换 【输入】R G B 可以是d o u b l e 或u i n t 8类型 【输出】X 超过256色则为d o u b l e 类型,否则输出为u i n t 8型 【例】 C L F ,R G B =i m r e a d ('f l o w e r s .t i f '); 100 200 300 400 500 50100150200250300350 100 200 300 400 500 50100150200250300350 【输出】R G B 为d o u b l e 类型 【例】 C L F ,l o a d t r e e s ; R G B =i n d 2r g b (X ,m a p ); s u b p l o t (1,2,1);s u b i m a g e (X ,m a p );t i t l e ('索引图') s u b p l o t (1,2,2);s u b i m a g e (R G B );t i t l e ('真彩图')
Newmap安装使用说明
Newmap使用流程 纯属个人总结 不承担任何责任
目录 第一部分软件的安装 (1) 一、没有CAD2006就是没有使用平台 (1) 二、一切就绪,安装newmap (2) 三、newmap和07版office更配哦~ (3) 第二部分软件的使用 (3) 一、工作流程 (3) 二、操作详情 (5) 1、数据预处理 (5) ①打开已有图形 (5) ②初始化图形 (5) ③清绘权属 (6) ④清绘地类 (7) ⑤封闭基本地块并标注 (8) 2、基本信息输入 (10) ①项目及用地单位 (10) ②土地相关信息 (11) ③勘测单位信息 (11) ④勘测资料信息 (12) ⑤其他 (12) 3、图幅整饰 (13) ①符号化输出 (13)
②绘制内廓线 (14) ③加单个图框 (14) ④其他整饰 (16) ⑤打印输出 (17) 4、报告导出 (17)
第一部分软件的安装 一、没有CAD2006就是没有使用平台 ①cad2006安装后打开有可能缺少*.dll文件,dll文件在AutoCAD-dll文件中,需要将其粘贴到以下目录: ?C:\Windows\System32 ?C:\Windows\SysWOW64 ?C:\Program Files\Common Files\Autodesk Shared ?D:\Program Files(x86)\AutoCAD2006(安装目录) ②若仍存在问题,需要修改环境变量。计算机属性-高级系统设置-高级-环境变量-新建 ?变量名:AutoCAD2006 ?变量值:C:\Program Files\Common Files\Autodesk Shared 注:安装CAD前如果提示不能安装环境,在安装包中依次找到以
NewMap使用权采编系统操作使用说明
操作使用说明 (只能支持CAD2010\CAD2011) 主要处理三大步骤: 1、绘制宗地并输入宗地属性 2、标示界址点并赋属性 3、生成界址线并赋属性 先用“数据处理--展平面点”:将外业测量的点展到平面上来。也可以用“数据处理—坐标数据文件管理器”对坐标做相应的处理展到CAD里 一、用绘制宗地X围线,或者用“集体土地使用权—绘制宗地”下的命令进行绘制、 转换宗地,出现如下界面: 这里按实际情况输入属性。 二、界址点: 1、用按钮或“集体土地使用权—界址点标示—显示单宗地界址点号”把界址点号标 示出来。 2、用或“集体土地使用权—界址点标示—修改界址点属性”:
在左边栏点一个界址点(或按shift键或者Ctrl键,用鼠标选择多点)1,在右边“界标类型”选择界标类型2,点击“修改”按钮3。或“全部修改”4将全部界址点修改成同一属性。 最后成果:
三、界址线: 1、生成界址线:使用命令,或“集体土地使用权—界址线—生成宗地界址线”命令, 选取宗地注记,将宗地X围线生成宗地界址线。 2、输入界址线属性:用命令,或“集体土地使用权—界址线—录入界址线属性”命 令,录属性。出现如下对话框: 点击“选择宗地“按钮,选择CAD图内的宗地注记,出现如下对话框:
在左边空白栏按住鼠标左键拖拽,一行或几行1,在右边选择或输入属性2,输入完属性后,点击“修改“按钮3.最后点击“确定”保存。 最后成果:
最后按需要出宗地图、宗地草图、地籍调查表和shp文件; 出宗地图(出宗地图和宗地草图相同,单宗地和批量出图相同): 点击“集体土地使用权—单个图框—A4竖”,选择宗地注记, 提示: 请选择需要自动标注点号的宗地或标注全部宗地[A(全部)]。。。。选择宗地注记 命令: 自动确定宗地图比例尺?[Y自动/N手工输入]
Oracle12c 安装完整版使用及卸载
Oracle12c安装与卸载 20151106 机器基础环境:Windows8(x64) 安装Oracle12c R2 for Windows(x64) 准备版本:winx64_oracle_12c_database 一.安装: 1、准备 1.1、下载oracle 12c R2 for Windows的版本 下载地址: https://www.360docs.net/doc/965792398.html,/technetwork/database/enterprise-edition/downloa ds/index.html 其中包括两个压缩包:winx64_12c_database_1of2.zip, winx64_12c_database_2of2.zip 1.2、解压oracle 12c R2 for Windows的版本 将两个压缩包解压到同一个目录下,即“database”,然后单击解压目录下的“setup.exe”文件:
2、安装过程 2.1、安装 双击”setup.exe”,软件会加载并初步校验系统是否可以达到了数据库安装的最低配置, 检查监视器参数,如果达到要求,就会直接加载程序并进行下一步的安装; 2.2、配置安全更新 在出现的“配置安全更新”窗口中,取消“我希望通过My Oracle Support 接受安全更新”,单击“下一步”: 注:电子邮件(可选) 我希望通过My Oracle Support接收安全更新(W)(可选) 一般情况下,这两项不必要勾选。
2.3、软件更新 安装时请连接网络,选择跳过更新,点击“下一步”:
2.4、安装选项 注:创建和配置数据库(C)(本文档选该项,下一步) 安装数据库软件并创建一个数据库实例(初学者) 仅安装数据库软件(D) 安装数据库软件,不会创建数据库实例(非初学者) 升级现有的数据库(U) 升级低版本的Oracle数据库 2.5、系统类 默认为“桌面类”; 如果是安装在服务器上,选择“服务器类”,如Windows Server系列,Ubuntu Server等。