{"id":3751,"date":"2020-11-08T11:39:52","date_gmt":"2020-11-08T02:39:52","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=3751"},"modified":"2023-06-20T06:06:38","modified_gmt":"2023-06-19T21:06:38","slug":"ubuntu-18-04-lts%e3%81%abftp%e3%82%b5%e3%83%bc%e3%83%90%ef%bc%88vsftpd%ef%bc%89%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/3751","title":{"rendered":"Ubuntu Server 18.04\u306bFTP\u30b5\u30fc\u30d0\uff08vsftpd\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01"},"content":{"rendered":"<p>Ubuntu Server 18.04 LTS\u306bFTP\u30b5\u30fc\u30d0\uff08vsftpd\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u91cd\u8996\u306e\u73fe\u72b6\u306b\u304a\u3044\u3066\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001\u306bSSH\u3092\u4f7f\u7528\u3057\u305f\u307b\u3046\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002\u30eb\u30fc\u30bf\u3084\u30b9\u30a4\u30c3\u30c1\u306e\u8a2d\u5b9a\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7b49\u3067\u3001FTP\u30b5\u30fc\u30d0\u304c\u4f7f\u7528\u3057\u305f\u304f\u306a\u3063\u305f\u5834\u5408\u306e\u307f\u4f7f\u7528\u3059\u308b\u60f3\u5b9a\u3067\u3059\u3002<\/p>\n<h2>vsftpd\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>apt\u30b3\u30de\u30f3\u30c9\u3067\u3001vsftpd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install vsftpd\r\n<\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ vsftpd -v\r\nvsftpd: version 3.0.3\r\n<\/pre>\n<p>vsftpd\u306e\u8d77\u52d5\u72b6\u6cc1\u78ba\u8a8d\u3092\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c\u306b\u306f\u3001\u8d77\u52d5\u304c\u304b\u304b\u3063\u3066\u3044\u307e\u3059\u3002\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u63a5\u7d9a\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ systemctl status vsftpd\r\n\u25cf vsftpd.service - vsftpd FTP server\r\n   Loaded: loaded (\/lib\/systemd\/system\/vsftpd.service; enabled; vendor preset: enabled)\r\n   Active: active (running) since Sun 2020-11-08 10:56:02 JST; 34min ago\r\n<\/pre>\n<h2>vsftpd\u306e\u81ea\u52d5\u8d77\u52d5\u306e\u8a2d\u5b9a\u306e\u78ba\u8a8d\u3068\u5909\u66f4<\/h2>\n<p>\u30b5\u30fc\u30d3\u30b9\u3092\u78ba\u8a8d\u3059\u308b\u3068\u81ea\u52d5\u8d77\u52d5\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ systemctl list-unit-files | grep vsftpd\r\nvsftpd.service                                 enabled    \r\n<\/pre>\n<p>\u5fc5\u8981\u306a\u3068\u304d\u306e\u307f\u8d77\u52d5\u3057\u3066\u4f7f\u7528\u3059\u308b\u60f3\u5b9a\u306a\u306e\u3067\u3001\u81ea\u52d5\u8d77\u52d5\u306a\u3057\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1,4]; title: ; notranslate\" title=\"\">\r\n$ sudo systemctl disable vsftpd\r\nSynchronizing state of vsftpd.service with SysV service script with \/lib\/systemd\/systemd-sysv-install.\r\nExecuting: \/lib\/systemd\/systemd-sysv-install disable vsftpd\r\n$ systemctl list-unit-files | grep -i ftp\r\nvsftpd.service                                 disabled    \r\n<\/pre>\n<h2>\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u53ef\u80fd\u306b\u3059\u308b\uff01<\/h2>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u53ef\u80fd\u306b\u3059\u308b\u306b\u306f\u3001\u300cwrite_enable=YES\u300d\u306e\u8a2d\u5b9a\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u5f8c\u3001vsftpd\u3092\u518d\u8d77\u52d5\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ cat \/etc\/vsftpd.conf \r\n...\r\nwrite_enable=YES\r\n...\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>vsftpd\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u76f4\u5f8c\u306f\u3001\u81ea\u52d5\u8d77\u52d5\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u5e38\u6642\u4f7f\u7528\u3057\u306a\u3044\u5834\u5408\u306f\u81ea\u52d5\u8d77\u52d5\u3057\u306a\u3044\u3088\u3046\u306b\u5909\u66f4\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/ubuntu.com\/server\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu Server<\/a><\/li>\n<li><a href=\"https:\/\/blog.ubuntu.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">ubuntu blog<\/a><\/li>\n<li><a href=\"https:\/\/wiki.ubuntu.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">ubuntu wiki<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/5239\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Debian\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2018\/08\/eye_debian_04-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Debian\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">Debian\u7cfb\u306eOS\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3vqrEPc\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source\" src=\"https:\/\/m.media-amazon.com\/images\/I\/51p2j7BlgUL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu Server 18.04 LTS\u306bFTP\u30b5\u30fc\u30d0\uff08vsftpd\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u91cd\u8996\u306e\u73fe\u72b6\u306b\u304a\u3044\u3066\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001\u306bSSH\u3092\u4f7f\u7528\u3057\u305f\u307b\u3046\u304c\u3088\u3044\u3067\u3057\u3087\u3046\u3002\u30eb\u30fc\u30bf\u3084\u30b9\u30a4\u30c3\u30c1\u306e\u8a2d\u5b9a\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7b49\u3067\u3001FTP\u30b5\u30fc\u30d0\u304c\u4f7f\u2026<\/p>\n","protected":false},"author":1,"featured_media":5284,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[167],"tags":[51,274,361,537,52],"class_list":["post-3751","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu-server","tag-ubuntu","tag-ubuntu-desktop","tag-ubuntu-desktop-18-04","tag-vsftp","tag-52"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/3751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=3751"}],"version-history":[{"count":2,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/3751\/revisions"}],"predecessor-version":[{"id":10088,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/3751\/revisions\/10088"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5284"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=3751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=3751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=3751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}