{"id":42,"date":"2019-07-02T14:18:21","date_gmt":"2019-07-02T14:18:21","guid":{"rendered":"https:\/\/silviamarin.ro\/?p=42"},"modified":"2019-07-02T14:18:21","modified_gmt":"2019-07-02T14:18:21","slug":"instalare-server-ftp-vsftp-2","status":"publish","type":"post","link":"https:\/\/marinelvis.xyz\/index.php\/2019\/07\/02\/instalare-server-ftp-vsftp-2\/","title":{"rendered":"INSTALARE SERVER FTP &#8211; VSFTP"},"content":{"rendered":"<p>Se instaleaza pachetele necesare:<\/p>\n<pre>apt-get install -y vsftpd<\/pre>\n<p>Se redenumeste fisierul de configurare original:<\/p>\n<pre>mv \/etc\/vsftpd.conf \/etc\/vsftpd.conf.old<\/pre>\n<p>Se creeaza un nou fisier de configurare si se editeaza:<\/p>\n<pre>nano \/etc\/vsftpd.conf<\/pre>\n<p>Se introduce continutul urmator:<\/p>\n<blockquote><p><em>listen=YES<\/em><br \/>\n<em>listen_port=21<\/em><br \/>\n<em>anonymous_enable=NO<\/em><br \/>\n<em>local_enable=YES<\/em><br \/>\n<em>write_enable=YES<\/em><br \/>\n<em>dirmessage_enable=YES<\/em><br \/>\n<em>use_localtime=YES<\/em><br \/>\n<em>xferlog_enable=YES<\/em><br \/>\n<em>connect_from_port_20=YES<\/em><br \/>\n<em>secure_chroot_dir=\/var\/run\/vsftpd\/empty<\/em><br \/>\n<em>rsa_cert_file=\/etc\/ssl\/certs\/ssl-cert-snakeoil.pem<\/em><br \/>\n<em>rsa_private_key_file=\/etc\/ssl\/private\/ssl-cert-snakeoil.key<\/em><br \/>\n<em>local_root=\/mnt<\/em><br \/>\n<em>write_enable=YES<\/em><\/p><\/blockquote>\n<p>Se reporneste serverul:<\/p>\n<pre>systemctl restart vsftpd.service<\/pre>\n<p><em><strong>VARIANTA:<\/strong><\/em><br \/>\nSe editeaza fisierul de configurare:<\/p>\n<pre>nano \/etc\/vsftpd.conf<\/pre>\n<p>Se adauga randurile<\/p>\n<blockquote><p><em>local_root=\/mnt<\/em><br \/>\n<em>write_enable=YES<\/em><\/p><\/blockquote>\n<p>Se reporneste serverul:<\/p>\n<pre>systemctl restart vsftpd.service<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Se instaleaza pachetele necesare: apt-get install -y vsftpd Se redenumeste fisierul de configurare original: mv \/etc\/vsftpd.conf \/etc\/vsftpd.conf.old Se creeaza un nou fisier de configurare si se editeaza: nano \/etc\/vsftpd.conf Se introduce continutul urmator: listen=YES listen_port=21 anonymous_enable=NO local_enable=YES write_enable=YES dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES secure_chroot_dir=\/var\/run\/vsftpd\/empty rsa_cert_file=\/etc\/ssl\/certs\/ssl-cert-snakeoil.pem rsa_private_key_file=\/etc\/ssl\/private\/ssl-cert-snakeoil.key local_root=\/mnt write_enable=YES Se reporneste serverul: systemctl restart vsftpd.service VARIANTA: Se [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-42","post","type-post","status-publish","format-standard","hentry","category-fara-categorie"],"_links":{"self":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":0,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"wp:attachment":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}