{"id":3395,"date":"2013-07-28T23:20:41","date_gmt":"2013-07-28T14:20:41","guid":{"rendered":"http:\/\/www.vincentina.net\/?p=3395"},"modified":"2020-02-23T20:48:48","modified_gmt":"2020-02-23T11:48:48","slug":"freebsd%e3%82%92%e3%81%95%e3%82%8f%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.vincentina.net\/?p=3395","title":{"rendered":"FreeBSD\u3092\u3055\u308f\u3063\u3066\u307f\u308b\u3002"},"content":{"rendered":"<p>\u6700\u8fd1Vyatta\u3067\u904a\u307c\u3046\u30b7\u30ea\u30fc\u30ba\u304c\u7d9a\u3044\u3066\u305f\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u606f\u629c\u304d\u3082\u517c\u306d\u3066\u3001\u30a4\u30f3\u30d5\u30e9\u306e\u52c9\u5f37\u3059\u308b\u306a\u3089FreeBSD\u3060\u3068\u6614\u306eSOFTWARE-DESIGN\u306b\u66f8\u3044\u3066\u305f\u3057\u3063\u3066\u3044\u3046\u4e8b\u3067\u3061\u3087\u3068\u3060\u3051\u89e6\u3063\u3066\u307f\u3088\u3046\u304b\u3068\u3002<br \/>\nFreeBSD\u306fPlayStation3\u30684\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u3089\u3057\u3044\u3002<\/p>\n<p>\u3060\u30fc\u30fc\u30fc\u3044\u3076\u524d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3060\u3051\u3084\u3063\u305f\u306e\u3060\u3051\u3069\u3001\u4eca\u56de\u306f\u3082\u3046\u3061\u3087\u3044\u64cd\u4f5c\u3092\u3057\u3066\u307f\u3088\u3046\u304b\u3057\u3089\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u63a2\u3059\u306e\u304c\u5c11\u3057\u9762\u5012\u3060\u3063\u305f\u306e\u3067\u3001\u6614\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066VMware\u306b\u5165\u3063\u3066\u3044\u305f7.4\u3092\u8d77\u52d5\u3055\u305b\u308b\u3002<\/p>\n<p>\u3053\u306a\u3044\u3060\u4f5c\u3063\u305fVyatta4\u3092\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4\u306b\u3057\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u53c2\u52a0\u3055\u305b\u3066\u3001Vyatta\u7d4c\u7531\u3067\u3044\u308d\u3044\u308d\u3068\u3084\u3063\u3066\u307f\u305f\u3002<\/p>\n<pre>$ ssh -l takeken 192.168.22.200\r\nPassword:\r\nCopyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The Regents of the University of California.\u00a0 All rights reserved.\r\n\r\nFreeBSD 7.4-RELEASE (GENERIC) #0: Thu Feb 17 03:51:56 UTC 2011\r\n\r\nWelcome to FreeBSD!<\/pre>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u53e9\u304f\u3082\u3001LINUX\u3068\u306f\u3060\u3044\u3076\u4f7f\u3044\u52dd\u624b\u3082\u9055\u3046\u307f\u305f\u3044\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306f\u3053\u3093\u306a\u611f\u3058\u3060\u3063\u305f\u3002<\/p>\n<pre>$ cat \/etc\/rc.conf\r\n# -- sysinstall generated deltas -- # Thu Jul 18 06:11:42 2013\r\n# Created: Thu Jul 18 06:11:42 2013\r\n# Enable network daemons for user convenience.\r\n# Please make all changes to this file, not to \/etc\/defaults\/rc.conf.\r\n# This file now contains just the overrides from \/etc\/defaults\/rc.conf.\r\n# gateway_enable=\"YES\"\r\ndefaultrouter=192.168.22.4\r\nhostname=\"freebsd\"\r\nifconfig_em0=\"inet 192.168.22.200 netmask 255.255.255.0\"\r\n# hostname=\".localdomain\"\r\n# ifconfig_em0=\"DHCP\"\r\nkeymap=\"jp.106\"\r\nlinux_enable=\"YES\"\r\nsshd_enable=\"YES\"<\/pre>\n<p>Apache\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3069\u3046\u3082\u3053\u3053\u304b\u3089\u5165\u308c\u308b\u3089\u3057\u3044\uff1f\u3002LINUX\u3068\u3060\u3044\u3076\u9055\u3046\u3088\u3046\u306b\u611f\u3058\u308b\u3051\u3069\u3001\u304a\u306a\u3058UNIX\u304b\u3089\u751f\u307e\u308c\u305f\u3093\u3060\u306a\u3042\u3002<\/p>\n<pre>$ ll | grep apache\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 3 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache-contrib\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 3 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache-forrest\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 2 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache-mode.el\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 3 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache13\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 3 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache13+ipv6\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 3 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache13-modperl\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 3 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache13-modssl\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 2 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache13-modssl+ipv6\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 3 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache13-ssl\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 3 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache20\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 3 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache22\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 2 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache22-event-mpm\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 2 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache22-itk-mpm\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 3 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache22-peruser-mpm\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 2 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 apache22-worker-mpm\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 2 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 mkapachepw\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 2 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 mod_jk-apache2\/\r\ndrwxr-xr-x\u00a0\u00a0\u00a0\u00a0 2 root\u00a0 wheel\u00a0 -\u00a0\u00a0 512 Jul 18 06:05 py-apachelog\/<\/pre>\n<p>\u30a2\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u307f\u308b\u306e\u3060\u304c\u3002<\/p>\n<pre>$ sudo freebsd-update upgrade -r 7.4\r\nLooking up update.FreeBSD.org mirrors... 4 mirrors found.\r\nFetching metadata signature for 7.4-RELEASE from update5.freebsd.org... done.\r\nFetching metadata index... done.\r\nFetching 1 metadata files... done.\r\nInspecting system... done.\r\n\r\nThe following components of FreeBSD seem to be installed:\r\nkernel\/generic src\/base src\/bin src\/cddl src\/contrib src\/crypto src\/etc\r\nsrc\/games src\/gnu src\/include src\/krb5 src\/lib src\/libexec src\/release\r\nsrc\/rescue src\/sbin src\/secure src\/share src\/sys src\/tools src\/ubin\r\nsrc\/usbin world\/base world\/dict world\/doc world\/info world\/manpages\r\nworld\/proflibs\r\n\r\nThe following components of FreeBSD do not seem to be installed:\r\nworld\/catpages world\/games\r\n\r\nDoes this look reasonable (y\/n)? y\r\n\r\nFetching metadata signature for 7.4 from update5.freebsd.org... failed.\r\nFetching metadata signature for 7.4 from update2.freebsd.org... failed.\r\nFetching metadata signature for 7.4 from update4.freebsd.org... failed.\r\nFetching metadata signature for 7.4 from update3.freebsd.org... failed.\r\nNo mirrors remaining, giving up.<\/pre>\n<p>\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3001\u3067\u304d\u306a\u3044\u3093\u304b\u3044\u306a\u30fc\uff1f<\/p>\n<pre>$ uname -v\r\nFreeBSD 7.4-RELEASE-p3 #0: Tue Sep 27 14:47:23 UTC 2011\u00a0\u00a0\u00a0\u00a0 root@i386-builder.daemonology.net:\/usr\/obj\/usr\/src\/sys\/GENERIC \r\n$ sudo freebsd-update upgrade -r 7.4-RELEASE-p3\r\nLooking up update.FreeBSD.org mirrors... 4 mirrors found.\r\nFetching metadata signature for 7.4-RELEASE from update5.freebsd.org... done.\r\nFetching metadata index... done.\r\nInspecting system... done.\r\n\r\nThe following components of FreeBSD seem to be installed:\r\nkernel\/generic src\/base src\/bin src\/cddl src\/contrib src\/crypto src\/etc\r\nsrc\/games src\/gnu src\/include src\/krb5 src\/lib src\/libexec src\/release\r\nsrc\/rescue src\/sbin src\/secure src\/share src\/sys src\/tools src\/ubin\r\nsrc\/usbin world\/base world\/dict world\/doc world\/info world\/manpages\r\nworld\/proflibs\r\n\r\nThe following components of FreeBSD do not seem to be installed:\r\nworld\/catpages world\/games\r\n\r\nDoes this look reasonable (y\/n)? y\r\n\r\nFetching metadata signature for 7.4-RELEASE-p3 from update5.freebsd.org... failed.\r\nFetching metadata signature for 7.4-RELEASE-p3 from update4.freebsd.org... failed.\r\nFetching metadata signature for 7.4-RELEASE-p3 from update2.freebsd.org... failed.\r\nFetching metadata signature for 7.4-RELEASE-p3 from update3.freebsd.org... failed.\r\nNo mirrors remaining, giving up.<\/pre>\n<pre>$ sudo freebsd-update upgrade -r 7.4-RELEASE\r\nfreebsd-update: Cannot upgrade from 7.4-RELEASE to itself<\/pre>\n<p>\u3069\u3046\u3082\u5909\u306a\u611f\u3058\u306a\u306e\u3067\u3001\u8abf\u3079\u3066\u307f\u305f\u3089<\/p>\n<p>\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606<br \/>\n\u5f15\u7528URL<br \/>\ngihyo.jp<br \/>\n<a href=\"http:\/\/gihyo.jp\/admin\/clip\/01\/fdt\">FreeBSD Daily Topics<\/a><br \/>\nhttp:\/\/gihyo.jp\/admin\/clip\/01\/fdt\/201207\/03<\/p>\n<p>\u73fe\u5728\u306e\u30b5\u30dd\u30fc\u30c8\u671f\u9593\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<br \/>\nFreeBSD 9.0 2013\u5e741\u670831\u65e5\u307e\u3067<br \/>\nFreeBSD 8.3 2014\u5e744\u670830\u65e5\u307e\u3067<br \/>\nFreeBSD 8.2 2012\u5e747\u670831\u65e5\u307e\u3067<br \/>\nFreeBSD 8.1 2012\u5e747\u670831\u65e5\u307e\u3067<br \/>\nFreeBSD 7.4 2013\u5e742\u670828\u65e5\u307e\u3067<br \/>\nFreeBSD 9-STABLE \u6700\u7d42\u30ea\u30ea\u30fc\u30b9\u3088\u308a2\u5e74\u9593<br \/>\nFreeBSD 8-STABLE \u6700\u7d42\u30ea\u30ea\u30fc\u30b9\u3088\u308a2\u5e74\u9593<br \/>\nFreeBSD 7-STABLE 2013\u5e742\u670828\u65e5\u307e\u3067<br \/>\n\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606\u2605\u2606<\/p>\n<p>\u30b5\u30dd\u30fc\u30c8\u671f\u9650\u304c\u304d\u308c\u3066\u308b\uff1f\uff1f<br \/>\n\u3053\u306eFreeBSD\u3068\u3084\u3089\u3067\u3059\u304c\u3001Ports\u3084\u3089\u4f55\u3084\u3089\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u3089\u5bb9\u6613\u306b\u3067\u304d\u306a\u3044\u307f\u305f\u3044\u3067\u3001\u30a6\u30a7\u30d6\u4e0a\u306b\u3082\u60c5\u5831\u304c\u5c11\u306a\u3044\u306e\u3067\u3001\u66f8\u7c4d\u304c\u5fc5\u8981\u304b\u306a\u3042\u3002<br \/>\n\u3068\u308a\u3042\u3048\u305a\u3001\u3053\u3053\u306f\u7d20\u76f4\u306bFreeBSD 8.3\u307e\u3067\u4e0a\u3052\u3066\u307f\u308b\u3053\u3068\u306b\u3059\u308b\uff01<\/p>\n<p>\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u3084\u308a\u3060\u3057\u3066\u304b\u3089\u3001\u3082\u3063\u3068\u7d20\u76f4\u306bISO\u3092DL\u3057\u305f\u3089\u3088\u304b\u3063\u305f\u3068\u601d\u3063\u305f\u3002<br \/>\n\u5fc5\u6b7b\u306e\u30d1\u30c3\u30c1\u3084\u3067\u30fc\u3001\u3063\u3066\u306a\u3082\u3093\u3084\u3067\u3002\u3053\u308c\u306f\u3002<\/p>\n<p>\u5fc5\u6b7b\u306e\u30d1\u30c3\u30c1\u304c\u7d42\u308f\u308a\u305d\u3046\u3082\u306a\u3044\u306e\u3067\u3001ISO\u306eDL\u3082\u59cb\u3081\u305f\u3093\u3060\u3051\u3069\u3001\u3084\u3063\u3071\u308aDL\u306e\u65b9\u304c\u5148\u306b\u7d42\u308f\u3063\u305f\u3002<br \/>\n\u3055\u3059\u304c\u3060\u3042\u306a\u3042\u3002<br \/>\n\u3059\u3053\u3057\u6614\u3058\u3083\u3042\u3042\u8003\u3048\u3089\u308c\u306a\u3044\u305c\u30fc\u3002<\/p>\n<pre>$ sudo portsnap fetch update\r\nLooking up portsnap.FreeBSD.org mirrors... 6 mirrors found.\r\nFetching snapshot tag from ec2-ap-northeast-1.portsnap.freebsd.org... done.\r\nFetching snapshot metadata... done.\r\nUpdating from Sun Jul 28 15:20:20 JST 2013 to Sun Jul 28 22:21:40 JST 2013.\r\nFetching 3 metadata patches.. done.\r\nApplying metadata patches... done.\r\nFetching 0 metadata files... done.\r\nFetching 16 patches.....10... done.\r\nApplying patches... done.\r\nFetching 0 new ports or files... done.\r\n\/usr\/ports was not created by portsnap.\r\nYou must run 'portsnap extract' before running 'portsnap update'.\r\n$ \r\n\r\n$ sudo freebsd-update upgrade -r 8.1-RELEASE\r\nLooking up update.FreeBSD.org mirrors... 4 mirrors found.\r\nFetching metadata signature for 7.4-RELEASE from update2.freebsd.org... done.\r\nFetching metadata index... done.\r\nInspecting system... done.\r\n\r\nThe following components of FreeBSD seem to be installed:\r\nkernel\/generic src\/base src\/bin src\/cddl src\/contrib src\/crypto src\/etc\r\nsrc\/games src\/gnu src\/include src\/krb5 src\/lib src\/libexec src\/release\r\nsrc\/rescue src\/sbin src\/secure src\/share src\/sys src\/tools src\/ubin\r\nsrc\/usbin world\/base world\/dict world\/doc world\/info world\/manpages\r\nworld\/proflibs\r\n\r\nThe following components of FreeBSD do not seem to be installed:\r\nworld\/catpages world\/games\r\n\r\nDoes this look reasonable (y\/n)? y\r\n\r\nFetching metadata signature for 8.1-RELEASE from update2.freebsd.org... done.\r\nFetching metadata index... done.\r\nFetching 1 metadata patches. done.\r\nApplying metadata patches... done.\r\nFetching 1 metadata files... done.\r\nInspecting system... done.\r\nFetching files from 7.4-RELEASE for merging... done.\r\nPreparing to download files... done.\r\nFetching 31101 patches.....10....20....30....40....50....60....70....80....\r\n90....100....110.<\/pre>\n<pre>\uff5e\uff5e\uff5e\uff5e\uff5e\uff5e\uff5e\u3000\u3000\u7701\u7565\u3000\uff5e\uff5e\uff5e\uff5e\uff5e\uff5e\uff5e\uff5e<\/pre>\n<pre>.31050....31060....31070....31080....31090....31100 done.\r\nApplying patches... done.\r\nFetching 29661 files...<\/pre>\n<p>&nbsp;<\/p>\n<p>\u7d42\u308f\u3089\u3093\u306e\u3067\u3001\u4eca\u65e5\u306f\u3053\u3053\u307e\u3067\u30fc\u3002<\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.vincentina.net\/?p=3395\" data-text=\"FreeBSD\u3092\u3055\u308f\u3063\u3066\u307f\u308b\u3002\" data-via=\"TakekenTw\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1Vyatta\u3067\u904a\u307c\u3046\u30b7\u30ea\u30fc\u30ba\u304c\u7d9a\u3044\u3066\u305f\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u606f\u629c\u304d\u3082\u517c\u306d\u3066\u3001\u30a4\u30f3\u30d5\u30e9\u306e\u52c9\u5f37\u3059\u308b\u306a\u3089FreeBSD\u3060\u3068\u6614\u306eSOFTWARE-DESIGN\u306b\u66f8\u3044\u3066\u305f\u3057\u3063\u3066\u3044\u3046\u4e8b\u3067\u3061\u3087\u3068\u3060\u3051\u89e6\u3063\u3066\u307f\u3088\u3046\u304b\u3068\u3002 FreeBSD\u306fPl &hellip; <a href=\"https:\/\/www.vincentina.net\/?p=3395\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;FreeBSD\u3092\u3055\u308f\u3063\u3066\u307f\u308b\u3002&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-3395","post","type-post","status-publish","format-standard","hentry","category-server"],"_links":{"self":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/3395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3395"}],"version-history":[{"count":0,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/3395\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}