{"id":134,"date":"2020-04-06T12:58:00","date_gmt":"2020-04-06T10:58:00","guid":{"rendered":"http:\/\/tietokanta.dy.fi\/linux\/?p=134"},"modified":"2020-04-06T12:58:00","modified_gmt":"2020-04-06T10:58:00","slug":"proftpd-asennus","status":"publish","type":"post","link":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/2020\/04\/06\/proftpd-asennus\/","title":{"rendered":"proftpd asennus"},"content":{"rendered":"\n<ul><li>Avaa terminaali <\/li><li> Kirjaudu p\u00e4\u00e4k\u00e4ytt\u00e4j\u00e4n\u00e4 root (sudo -i) <\/li><li>P\u00e4ivit\u00e4 paketit apt-get update<\/li><li>Asenna proftpd (apt-get install proftpd)<\/li><li>Konfiguroi proftpd.conf (\/etc\/proftpd\/proftpd.conf), jossa muuta palvelimen nimi ja osoita jokainen k\u00e4ytt\u00e4j\u00e4 kotihakemistoonsa.<br>ServerName &#8220;Debian&#8221; -> oman palvelimen nimi<br>#DefaultRoot ~ -> DefaultRoot ~\/<br><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><a href=\"http:\/\/tietokanta.dy.fi\/linux\/wp-content\/uploads\/2020\/04\/CONF-2.jpg\"><img loading=\"lazy\" width=\"649\" height=\"953\" src=\"http:\/\/tietokanta.dy.fi\/linux\/wp-content\/uploads\/2020\/04\/CONF-2.jpg\" alt=\"\" data-id=\"137\" data-link=\"http:\/\/tietokanta.dy.fi\/linux\/?attachment_id=137\" class=\"wp-image-137\"\/><\/a><\/figure><\/li><\/ul><\/figure>\n\n\n\n<ul><li>K\u00e4ynnist\u00e4 proftp palvelu uudestaan ( service proftpd restart ) (\/etc\/init.d\/proftpd restart) <\/li><li>Tee ftp k\u00e4ytt\u00e4jille oma kansio, esim \/ftp (mkdir komento) <\/li><li>Tee testik\u00e4ytt\u00e4j\u00e4 useradd komennolla<\/li><li>(useradd asentaja -d \/ftp\/asentaja -m -s \/bin\/false) <\/li><li>Testaa palvelimen toiminta ftp ohjelmalla<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Avaa terminaali Kirjaudu p\u00e4\u00e4k\u00e4ytt\u00e4j\u00e4n\u00e4 root (sudo -i) P\u00e4ivit\u00e4 paketit apt-get update Asenna proftpd (apt-get install proftpd) Konfiguroi proftpd.conf (\/etc\/proftpd\/proftpd.conf), jossa muuta palvelimen nimi ja osoita jokainen k\u00e4ytt\u00e4j\u00e4 kotihakemistoonsa.ServerName &#8220;Debian&#8221; -> oman palvelimen nimi#DefaultRoot ~ -> DefaultRoot ~\/ K\u00e4ynnist\u00e4 proftp palvelu uudestaan ( service proftpd restart ) (\/etc\/init.d\/proftpd restart) Tee ftp k\u00e4ytt\u00e4jille oma kansio, esim \/ftp &hellip; <a href=\"http:\/\/tietokanta.dy.fi\/linux\/index.php\/2020\/04\/06\/proftpd-asennus\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">proftpd asennus<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/wp-json\/wp\/v2\/posts\/134"}],"collection":[{"href":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/wp-json\/wp\/v2\/comments?post=134"}],"version-history":[{"count":1,"href":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/wp-json\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":138,"href":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/wp-json\/wp\/v2\/posts\/134\/revisions\/138"}],"wp:attachment":[{"href":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/wp-json\/wp\/v2\/categories?post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tietokanta.dy.fi\/linux\/index.php\/wp-json\/wp\/v2\/tags?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}