Update FreeBSD Ports Collection Up to Date and Latest Cập nhật kiểu FreeBSD Ports Collection Tính đến ngày mới nhất

CVSup can be used as a quick method for getting the Ports Collection and keep the ports tree up to date. CVSup có thể được sử dụng như là một phương pháp nhanh chóng nhận được cảng Bộ sưu tập, giữ cho cổng cây được cập nhật. CVSup distributes and updates source trees from a master CVS repository on a remote server host. CVSup phân phối và cập nhật mã nguồn từ một loại cây chủ kho tức từ xa trên một máy chủ lưu trữ. The FreeBSD sources are maintained in a CVS repository on a central development machine in California. Các kiểu FreeBSD nguồn được duy trì trong một kho tức trên một máy tính trung tâm phát triển tại California. With CVSup, FreeBSD users can easily keep their own source trees up to date. Với CVSup, FreeBSD người dùng có thể dễ dàng giữ cho mình mã nguồn cây được cập nhật.

CVSup uses the so-called pull model of updating. CVSup sử dụng để kéo gọi là mô hình cập nhật. Under the pull model, each client asks the server for updates, if and when they are wanted. Kéo theo mô hình, mỗi khách hàng yêu cầu phục vụ cho việc cập nhật, nếu và khi họ đang muốn có. The server waits passively for update requests from its clients. Các máy chủ Waits passively để cập nhật các yêu cầu từ các khách hàng. Thus all updates are instigated by the client. Vì vậy, tất cả các bản cập nhật được instigated của khách hàng. The server never sends unsolicited updates. Các máy phục vụ không bao giờ gửi không mong muốn cập nhật. Users must either run the CVSup client manually to get an update, or they must set up a cron job to run it automatically on a regular basis Người sử dụng phải chạy CVSup khách hàng một cách thủ công để có được cập nhật, hoặc họ phải thiết lập một công việc cron để chạy nó sẽ tự động trên cơ sở thường xuyên

There are few ways to install CVSup in FreeBSD: Có vài cách để cài đặt CVSup trong FreeBSD:

  1. Install CVSup by using the precompiled net/cvsup package from the FreeBSD packages collection Cài đặt CVSup bằng cách sử dụng precompiled net / cvsup gói từ bộ sưu tập các kiểu FreeBSD gói
  2. Build CVSup from source by using the net/cvsup port (which includes CVSup GUI). CVSup xây dựng từ mã nguồn bằng cách sử dụng net / cvsup cổng (bao gồm CVSup GUI). Warning: the net/cvsup port depends on the Modula-3 system, which takes a substantial amount of time and disk space to download and build. Cảnh báo: mạng / cvsup cổng phụ thuộc vào hệ thống Modula-3, sẽ đưa một số lượng đáng kể thời gian và không gian đĩa để tải và xây dựng.

If CVSup is installed on a machine which does not have XFree86? Nếu CVSup được cài đặt trên một máy tính mà hiện không có XFree86? or Xorg installed, such as a server, use the port which does not include the CVSup GUI, net/cvsup-without-gui. Xorg hoặc cài đặt, chẳng hạn như một máy chủ, sử dụng cổng mà không bao gồm các CVSup GUI, net / cvsup-mà không-gui.

For example, Ví dụ,
# pkg_add -r cvsup-without-gui # Pkg_add-r cvsup-mà không-gui

Or build from ports collection at net/cvsup-without-gui. Hoặc xây dựng cảng từ bộ sưu tập tại net / cvsup-mà không-gui.

After installing, CVSup is ready and can be executed with the following command: Sau khi cài đặt, CVSup đã sẵn sàng và có thể được thực hiện với các lệnh sau đây:

# cvsup -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile # Cvsup L-2-h cvsup.FreeBSD.org / usr / share / ví dụ / cvsup / cổng-supfile

where cvsup.FreeBSD.org is a CVSup server that change be change to a CVSup server near you. nơi cvsup.FreeBSD.org CVSup là một máy chủ mà thay đổi được thay đổi cho một CVSup máy phục vụ gần bạn. See Nhìn CVSup Mirrors CVSup gương for a complete listing of mirror sites. để được một danh sách các máy nhân bản trang web.

Replace /root/ports-supfile with your own supfile name and location. Thay thế / gốc / cổng-supfile riêng của bạn với supfile tên và địa điểm.

The -L 2 tells CVSup to print out the details of all the file updates it is doing. The-L 2 cho biết CVSup để in ra các chi tiết của tất cả các tập tin cập nhật của nó là làm. There are three levels of verbosity, from -L 0 to -L 2. Có ba cấp độ của verbosity, từ 0 đến-L-L 2. The default is 0, which means total silence except for error messages. Mặc định là 0, điều này có nghĩa là im lặng, trừ cho tổng số thông báo lỗi.

While -h specify the supfile location. Trong khi-h supfile xác định vị trí.

It's also possible to create a configuration file for CVSup to avoid the need of passing the CVSup server on the command line. Cũng có thể tạo một tập tin cấu hình cho CVSup để tránh sự cần thiết của CVSup qua các máy chủ trên dòng lệnh. CVSup's operation is controlled by a configuration file called the supfile. CVSup của hoạt động được kiểm soát bởi một tập tin cấu hình gọi là supfile. There are some sample supfiles in the directory /usr/share/examples/cvsup/. Hiện có một số mẫu supfiles trong thư mục / usr / share / ví dụ / cvsup /.

As root, copy /usr/share/examples/cvsup/ports-supfile to a new location, such as /root or your home directory. Như là người chủ, sao chép / usr / share / ví dụ / cvsup / cổng-supfile vào một vị trí mới, chẳng hạn như / gốc hoặc thư mục nhà của bạn.

Edit ports-supfile. Hiệu chỉnh cảng-supfile.

Change CHANGE_THIS.FreeBSD.org to a CVSup server near you. Thay đổi CHANGE_THIS.FreeBSD.org vào một máy chủ CVSup gần bạn. See Nhìn CVSup Mirrors CVSup gương for a complete listing of mirror sites. để được một danh sách các máy nhân bản trang web.

To run cvsup by using the supfile, use the following as root, so that cvsup has the permissions it needs to update your files: Để chạy cvsup bằng cách sử dụng supfile, sử dụng sau đây như là người chủ, vì vậy mà cvsup có các quyền cần thiết để cập nhật các tệp tin của bạn:

# cvsup -L 2 /root/ports-supfile # Cvsup-L 2 / gốc / cổng-supfile

Replace /root/ports-supfile with your own supfile name and location. Thay thế / gốc / cổng-supfile riêng của bạn với supfile tên và địa điểm.

The -L 2 tells CVSup to print out the details of all the file updates it is doing. The-L 2 cho biết CVSup để in ra các chi tiết của tất cả các tập tin cập nhật của nó là làm. There are three levels of verbosity, from -L 0 to -L 2. Có ba cấp độ của verbosity, từ 0 đến-L-L 2. The default is 0, which means total silence except for error messages. Mặc định là 0, điều này có nghĩa là im lặng, trừ cho tổng số thông báo lỗi.

If you are not running X11 or if you just do not like GUIs, you should add a couple of options to the command line when you run cvsup and your CVSup is installed with GUI: Nếu bạn không phải chạy X11 hoặc nếu bạn chỉ cần không thích GUIs, bạn nên thêm một vài lựa chọn cho các dòng lệnh khi bạn chạy cvsup và CVSup của bạn đã được cài đặt với GUI:

# cvsup -g -L 2 supfile # Cvsup-g-L 2 supfile

Replace supfile with your own supfile name and location. Thay thế supfile của riêng bạn với supfile tên và địa điểm.

The -g tells CVSup not to use its GUI. The-g CVSup cho biết không sử dụng các GUI. This is automatic if you are not running X11, but otherwise you have to specify it. Điều này là tự động nếu bạn không chạy X11, nhưng các bạn phải xác định nó.

Running the CVSup command later will download and apply all the recent changes to your Ports Collection, except actually rebuilding the ports for your own system. CVSup chạy các lệnh sau sẽ tải về và áp dụng tất cả các thay đổi gần đây của bạn Bộ sưu tập cảng, trừ khi thực sự xây dựng lại các cổng cho các hệ thống riêng của bạn.

IMPORTANT : The page is machine translated and provided "as is" without warranty. Lưu ý: Các trang web là máy tính dịch và cung cấp "như là" mà không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể là khó hiểu. Please refer to Xin vui lòng tham khảo original English article Tiếng Anh bản gốc bài viết whenever possible. bất cứ khi nào có thể.


3 Responses to “Update FreeBSD Ports Collection Up to Date and Latest” 3 hồi đáp tới "Cập nhật kiểu FreeBSD Ports Collection Đến Ngày và mới nhất"

  1. knowelus.com » Updating FreeBSD Ports Collection knowelus.com »Cập nhật kiểu FreeBSD Ports Collection
    June 21st, 2006 13:06 Tháng sáu 21, 2006 13:06
    3 3

    [...] CVSup can be used as a quick method for getting the Ports Collection and keep the ports tree up to date. [...] CVSup có thể được sử dụng như là một phương pháp nhanh chóng nhận được cảng Bộ sưu tập, giữ cho cổng cây được cập nhật. CVSup distributes and updates source trees from a master CVS repository on a remote server host. CVSup phân phối và cập nhật mã nguồn từ một loại cây chủ kho tức từ xa trên một máy chủ lưu trữ. The FreeBSD sources are maintained in a CVS repository on a central development machine in California. Các kiểu FreeBSD nguồn được duy trì trong một kho tức trên một máy tính trung tâm phát triển tại California. With CVSup, FreeBSD users can easily keep their own source trees up to date. Với CVSup, FreeBSD người dùng có thể dễ dàng giữ cho mình mã nguồn cây được cập nhật. CVSup uses the so-called pull model of updating. CVSup sử dụng để kéo gọi là mô hình cập nhật. Under the pull model, each client asks the server for updates, if and when they are wanted. Kéo theo mô hình, mỗi khách hàng yêu cầu phục vụ cho việc cập nhật, nếu và khi họ đang muốn có. The server waits passively for update requests from its clients. Các máy chủ Waits passively để cập nhật các yêu cầu từ các khách hàng. Thus all updates are instigated by the client. Vì vậy, tất cả các bản cập nhật được instigated của khách hàng. The server never sends unsolicited updates. Các máy phục vụ không bao giờ gửi không mong muốn cập nhật. Users must either run the CVSup client manually to get an update, or they must set up a cron job to run it automatically on a regular basis There are few ways to install CVSup in FreeBSD: Install CVSup by using the precompiled net/cvsup package from the FreeBSD packages collection. Người sử dụng phải chạy CVSup khách hàng một cách thủ công để có được cập nhật, hoặc họ phải thiết lập một công việc cron để chạy nó sẽ tự động trên cơ sở thường xuyên có rất ít các cách thức để cài đặt CVSup trong FreeBSD: Cài đặt CVSup bằng cách sử dụng precompiled net / cvsup gói từ bộ sưu tập các kiểu FreeBSD gói. To install from package collection. Để cài đặt gói từ bộ sưu tập.   # pkg_add -r cvsup-without-gui# cd /usr/ports/net/cvsup-without-gui # make install clean   Or build CVSup from source by using the net/cvsup port (which includes CVSup GUI). # Pkg_add-r cvsup-mà không-gui # cd / usr / ports / net / cvsup-mà không-gui # thực hiện cài đặt sạch Hoặc CVSup xây dựng từ mã nguồn bằng cách sử dụng net / cvsup cổng (bao gồm CVSup GUI). Warning: the net/cvsup port depends on the Modula-3 system, which takes a substantial amount of time and disk space to download and build. Cảnh báo: mạng / cvsup cổng phụ thuộc vào hệ thống Modula-3, sẽ đưa một số lượng đáng kể thời gian và không gian đĩa để tải và xây dựng. To build from source. Để xây dựng từ mã nguồn. After installing, CVSup is ready and can be executed with the following command:   # cvsup -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile   Change cvsup.FreeBSD.org to a CVSup server near you. Sau khi cài đặt, CVSup đã sẵn sàng và có thể được thực hiện với các lệnh sau đây: # cvsup L-2-h cvsup.FreeBSD.org / usr / share / ví dụ / cvsup / cổng-supfile Thay đổi cvsup.FreeBSD.org vào một máy chủ CVSup gần bạn. See CVSup Mirrors for a complete listing of mirror sites. Xem CVSup gương để được một danh sách các máy nhân bản trang web.   The -L 2 tells CVSup to print out the details of all the file updates it is doing. The-L 2 cho biết CVSup để in ra các chi tiết của tất cả các tập tin cập nhật của nó là làm. There are three levels of verbosity, from -L 0 to -L 2. Có ba cấp độ của verbosity, từ 0 đến-L-L 2. The default is 0, which means total silence except for error messages. Mặc định là 0, điều này có nghĩa là im lặng, trừ cho tổng số thông báo lỗi.   While -h specify the supfile location. Trong khi-h supfile xác định vị trí.   You may want to use your own ports-supfile, for example to avoid the need of passing the CVSup server on the command line. Bạn có thể muốn sử dụng cổng riêng của bạn-supfile, ví dụ như để tránh các nhu cầu đi qua các máy chủ CVSup trên dòng lệnh. As root, copy /usr/share/examples/cvsup/ports-supfile to a new location, such as /root or your home directory. Như là người chủ, sao chép / usr / share / ví dụ / cvsup / cổng-supfile vào một vị trí mới, chẳng hạn như / gốc hoặc thư mục nhà của bạn.   #cp /usr/share/examples/cvsup/ports-supfile /root Edit ports-supfile #vi /root/ports-supfile Change   CHANGE_THIS.FreeBSD.org to a CVSup server near you. # cp / usr / share / ví dụ / cvsup / cổng-supfile / gốc Sửa cảng-supfile # vi / root / cổng-supfile Thay đổi CHANGE_THIS.FreeBSD.org vào một máy chủ CVSup gần bạn. See CVSup Mirrors for a complete listing of mirror sites.Then, you can update your port collections with this command:   # cvsup -L 2 /root/ports-supfile     links: freebsd.org  mydigitallife.info   [...] Xem CVSup gương để được một danh sách các máy nhân bản sites.Then, bạn có thể cập nhật các bộ sưu tập của bạn với cổng lệnh này: # cvsup-L 2 / gốc / cổng-supfile liên kết: freebsd.org mydigitallife.info [...]

  2. Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit » My Digital Life Cập nhật kiểu FreeBSD cảng vào Bộ sưu tập mới nhất với các phiên bản cập nhật bảo mật với Portmanager và Portaudit »My Digital Life
    May 18th, 2006 22:30 Tháng năm 18, 2006 22:30
    2 2

    [...] Portmanager is an FreeBSD utility that automates the process of upgrading and managing installed FreeBSD ports without or almost without user intervention when updating. [...] Portmanager là một tiện ích kiểu FreeBSD automates rằng quá trình nâng cấp và quản lý các cảng mà không cần cài đặt kiểu FreeBSD hoặc hầu như không có sự can thiệp khi người sử dụng cập nhật. Portmanager ensures that FreeBSD installed ports accurately reflect and update as of those available in the ports tree. Portmanager đảm bảo cho việc cài đặt kiểu FreeBSD cảng phản ánh chính xác và cập nhật như của những người có sẵn trong các cổng cây. To use portmanager, the FreeBSD ports collection tree needs to be updated with CVSup or Portsnap. Để sử dụng portmanager, bộ sưu tập các kiểu FreeBSD cảng cây cần phải được cập nhật với CVSup hoặc Portsnap. [...] [...]

  3. Easy Way to Upgrade FreeBSD's Ports » My Digital Life Cách dễ dàng để nâng cấp kiểu FreeBSD của cảng »My Digital Life
    January 3rd, 2006 16:17 3 tháng một, 2006 16:17
    1 1

    [...] Before you can update and upgrade the FreeBSD's ports, the Ports Collection needs to be updated. [...] Trước khi bạn có thể cập nhật và nâng cấp các kiểu FreeBSD của cảng, các cảng Bộ sưu tập này cần phải được cập nhật. Follow step here to update the Ports Collection. Làm theo bước đây để cập nhật các cảng Bộ sưu tập. [...] [...]

Leave a Reply Để lại một trả lời

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Bạn có thể sử dụng các thẻ:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Đăng ký nhận xét tính năng đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo về ý kiến mới nhất được đăng, đăng ký với My Digital Life Comments RSS feed Cuộc sống kỹ thuật số Bình luận của tôi nguồn cấp dữ liệu RSS or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong thư điện tử tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm kiếm các điều khoản cho các Điều

setting ports mirror on freebsd Thiết lập máy nhân bản các cảng trên FreeBSD - -- freebsd change mirror FreeBSD thay đổi gương - -- freebsd port update cvs FreeBSD cổng tức cập nhật - -- how to update bsd ports collection làm thế nào để cập nhật các bộ sưu tập bsd cảng - -- cvsup freebsd servers cvsup FreeBSD máy chủ - -- freebsd supfile FreeBSD supfile - -- freebsd supfile CHANGE_THIS FreeBSD supfile CHANGE_THIS - -- ports upgrade cvsup nâng cấp cảng cvsup - -- update ports cập nhật các cảng - -- check-mirrors.pl freebsd kiểm tra-mirrors.pl FreeBSD - -- freebsd changing source ports FreeBSD thay đổi mã nguồn cảng - -- freebsd latest mirror FreeBSD mới nhất gương - -- freebsd mirror ändern FreeBSD gương ändern - -- freebsd update port tree FreeBSD cập nhật cổng cây - -- freebsd supfile location FreeBSD supfile địa điểm - -- supfile location supfile địa điểm - -- cvsup FreeBSD ports collection cvsup FreeBSD cổng bộ sưu tập - -- Freebsd update cvs FreeBSD tức cập nhật - -- how to update ports làm thế nào để cập nhật các cảng - -- sample ports supfile mẫu cổng supfile - -- refreshing ports cvsup làm mới cổng cvsup - -- update ports\ cập nhật các cảng \ - -- how to change mirror ports freebsd làm thế nào để thay đổi gương cổng FreeBSD - -- ports-supfile example cổng-supfile ví dụ - -- update ports directory freebsd cập nhật các cổng thư mục FreeBSD - -- how to update port làm thế nào để cập nhật các cảng - -- supfile example supfile ví dụ - -- xmission freebsd mirror ports xmission FreeBSD gương cảng - -- ports-supfile cổng-supfile - -- portsupdate portsupdate - -- update port st tree freebsd cập nhật các cảng, TP cây FreeBSD - -- freebsd port collection pkg_add FreeBSD cảng thu pkg_add - -- supfile freebsd supfile FreeBSD - --