{"id":995,"date":"2017-03-11T21:07:16","date_gmt":"2017-03-12T02:07:16","guid":{"rendered":"http:\/\/xfloyd.net\/blog\/?p=995"},"modified":"2017-05-09T23:04:10","modified_gmt":"2017-05-10T04:04:10","slug":"installing-plesk-17-on-ubuntu-16-04-setting-up-ssh2-for-php5-6-and-webmin","status":"publish","type":"post","link":"https:\/\/xfloyd.net\/blog\/?p=995","title":{"rendered":"Installing Plesk 17 on Ubuntu 16.04, setting up ssh2 for php5.6 and webmin"},"content":{"rendered":"<p><strong>Installing Plesk 17 on Ubuntu 16.04<\/strong><br \/>\n<!--more--><br \/>\n<pre><code >wget http:\/\/autoinstall.plesk.com\/plesk-installer<br \/>\nchmod +x plesk-installer<br \/>\n.\/plesk-installer<\/code><\/pre><\/p>\n<p><strong>Installing ssh2 for PHP 5.6<\/strong><br \/>\n<pre><code >apt-get install make gcc plesk-php56-dev libssh2-1 libssh2-1-dev<br \/>\n\/opt\/plesk\/php\/5.6\/bin\/pecl install ssh2 channel:\/\/pecl.php.net\/ssh2-0.13<br \/>\necho \"extension=ssh2.so\" > \/opt\/plesk\/php\/5.6\/etc\/php.d\/ssh2.ini<br \/>\n\/opt\/plesk\/php\/5.6\/bin\/php -m| grep ssh2<\/code><\/pre><\/p>\n<p><strong>We can also add it to OS PHP7<\/strong><br \/>\n<pre><code >echo \"extension=ssh2.so\" > \/etc\/php\/7.0\/mods-available\/ssh2.ini<\/code><\/pre><br \/>\n<em>create symlink from<\/em><br \/>\n<pre><code >\/etc\/php\/7.0\/mods-available\/ssh2.ini<\/code><\/pre><br \/>\n<em>to<\/em><br \/>\n<pre><code >\/etc\/php\/7.0\/fpm\/config.d\/20-ssh2.ini<\/code><\/pre><\/p>\n<p><strong>Installing Webmin<\/strong><br \/>\n<pre><code >cd \/tmp<br \/>\nwget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.831-minimal.tar.gz<br \/>\ngunzip webmin-1.831-minimal.tar.gz<br \/>\ntar xf webmin-1.831-minimal.tar<br \/>\ncd webmin-1.831<br \/>\n.\/setup.sh \/usr\/local\/webmin<\/code><\/pre><\/p>\n<p><strong>Blue theme for webmin<\/strong><br \/>\n<pre><code >http:\/\/www.webmin.com\/webmin\/download\/modules\/blue-theme.wbt.gz<\/code><\/pre><\/p>\n<p><strong>Recommended modules:<\/strong><br \/>\n<pre><code >net<br \/>\nfirewall<br \/>\nfile<\/code><\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing Plesk 17 on Ubuntu 16.04<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,7],"tags":[],"_links":{"self":[{"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/995"}],"collection":[{"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=995"}],"version-history":[{"count":4,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/995\/revisions"}],"predecessor-version":[{"id":1012,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/995\/revisions\/1012"}],"wp:attachment":[{"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}