FreeBSD CVSUP Server Construction Guide

xiaoxiao2021-03-06  101

Haha, let us come to cvsup every day! ! ! http://www.huangdong.com/bbs/showthread.php?s=4cd116148a0736cb1df332a5abc5b344&threadid=96 FreeBSD CVSup construction guide server version 2.0 of Huang Dong (hdcola@bj1860.net) 1. Introduction 1 2. Install CVSup Mirror server 13 Stop and start CVSUPD 3 1. Foreword I don't know what you are watching this article, is you a FreeBSD Fan or xxbsd fan, huh, I am a absolute freebsd fan. Freebsd I am using is a version 5.0, from the first freebsd to now, the most favorite feature is the CVSUP service provided by FreeBSD. This service allows us to update the operating system, update the software in the operating system, update the vulnerabilities and patches. I want to use FreeBSD for so long, there are no a few disc (I installed 4.x is installed by a very early 4.3 disc, and 5.x is 5.0 dp1 cvsup sent by a friend), this In fact, it is the benefits of cvsup. If you want to cvsup -g -l 2 xxxxx-supfile, you need to wait for a lot of time. First, the network connection is slow, and the second is to first CVSUP, and if you need CVSUP Stable-Supfile, you need to nearly half an hour. If there are several or dozens of machines in your net, network traffic and use update time will not be small. Said so much, this is the best solution is: one of your own CVSUP servers! This article will take your step by step to set your own CVSUP server, so you can enjoy a speed CVSUP. If you find any questions when you install, you can discuss the BSD edition in http://www.huangdongdong.com/bbs. If your server is good enough, you can also release it here for everyone, I hope that you can more stabilize and update your timely CVSUP server. 2. Installing the CVSUP Mirror server first installed CVSUP Mirror Server Software: CD / USR / PORTS / NET / CVSUP-MIRROR MAKE will ask you many questions when executing make, let's answer it: master site for your updates [ Cvsup-master.freebsd.org]? cvsup.huangdong.com Enter your source of CVSUP Mirror, which is the CVSUP server of the external network, I generally recommend cvsup.freebsd.org, cvsup2.freebsd.org, cn. Freebsd.org. Since it is a transfer station, it is not very important to be very important. My intranet server also uses the address of my outernet's mirror server such as cvsup.huangdong. How Many Hours Between Updates of Your Files [1]? How long is the external CVSUP server updated once. The default hour is actually enough. Do you wish to mirror the main source repository [y]? Is it mirror source code. Oh, SRC is part of the most mirror, of course Y. Where would you like to put it [/ home / ncvs]? / Home / cvsupmirror / NCVS source code exists. I usually put into / home / cvsupmirror / ncvs.

Do you wish to mirror the installed World Wide Web Data [Y]? Whether the web site of FreeBSD is mirror. Haha, the brothers of the intranet are slowly worried about foreign countries. This is good, let this machine happen. Where would you like to put it? / Us / cvsupmirror / www web site where you save. I usually put in / home / cvsupmirror / www because / usr / local / www is the data I have official website. Do you wish to mirror the gnats bug tracking database [y] whether the BUG trace database of Gnats is mirror. For updates, this is not important, or let them go to www.freebsd.org yourself. It is recommended to choose n because it is not common. Do you wish to mirror the mailing list archive [y]? Nothing mirror articles. I used to mirror, and later I knew the wrong, there are a lot of articles here, and the updated content is thousands of Mail every day. It is recommended to choose n. UNIQUE UNPRIVILEGED User ID for Running The Client [cvsupin] • The client connection used by the client. It is very good with the default cvsupin. UNIQUE UNPRIVILEGED Group ID for Running The Client [cvsupin] The Group ID used by the client connection. It is very good with the default cvsupin. UNIQUE UNPRIVILEGED User ID for Running The Server [CVSUP] The user ID used by the server. Well used the default CVSUP. UNIQUE UNPRIVILEGED Group ID for Running The Server [CVSUP] The group ID used by the server. Well used the default CVSUP. Syslog facility for the server log [daemon] • Make the server log into Syslog's facilities. Use the default daemon. Maximum Simultaneous Client Connections [8]? 20 The largest customer connection number. This look at your memory and CPU and hard drive. I usually set to 20. It is the possible and concurrency of my internal network update machine. After all questions answer, entries are entered: make install make clean puts the CVSUP Mirror into the system, and it will join the new user account and user group, while adding a new hourly synchronization setting for crontab. 3. Stop and start CVSUPD can start or stop CVSUP servers via /usr/local/tc/rc.sh. The update frequency can be changed by editing the / ipsr/local/etc/cvsup/update.sh command in / ETC / CRONTAB. /usr/local/tc/rc.d/cvsupd.sh start to launch the CVSUP server. /usr/local/etc/rc.d/cvsupd.sh stop to stop the CVSUP server. You can update the content of all CVSUP servers by performing /usr/local/etc/cvsup/USR /LOCAL/EtC/cvsup/UPDate.sh. The latest log in the update is recorded in /var/log/cvsup.log. 4. Explanation There are some small FAQ columns here:? For the first time, it takes a long time. It will update a lot from the server. It takes a long time to have some mental preparation.

• If you don't see all ports-xxx in NCVS / Distrib / CVSUP / SUP (you will update the entry of Ports), SRC-XXX (you will update the SRC's entry), when your customers are It will be reported when the end is connected. The solution is simple, then update, until all. What is the use of WWW? Very simple, I am a mirror station that is set to freeBSD, the method is also very simple. Install the Apache server through the Apache13 in Ports, delete / usr / local / www / data, and then use root execution: ln -s / usr / local / www / data / home / cvsupmirror / www is OK. This will see the latest FreeBSD station every day. __________________

转载请注明原文地址:https://www.9cbs.com/read-124682.html

New Post(0)