{"id":2704,"date":"2018-05-21T09:02:48","date_gmt":"2018-05-21T16:02:48","guid":{"rendered":"http:\/\/www.wellgolly.com\/?p=2704"},"modified":"2018-06-07T14:44:22","modified_gmt":"2018-06-07T21:44:22","slug":"notes-on-setting-up-a-cloud-server","status":"publish","type":"post","link":"https:\/\/www.wellgolly.com\/?p=2704","title":{"rendered":"Notes on setting up a cloud server."},"content":{"rendered":"<p>I\u2019m moving a server that is on very old hardware to a Linode instance with Ubuntu Linux 18.04, Apache, MariaDB, and PHP 7. I know that I am going to have some migration issues since the current server is running Ubuntu 10.04.4 LTS. <\/p>\n<p>Setting up Apache and PHP were straightforward, but I ran into problems with MariaDB. I turns out that even if you harden the installation and set a new password for root, you can\u2019t log in with the new password. It uses the password for the root login on the machine. Once I figured that out, I created a user for myself and then installed phpMyAdmin. <\/p>\n<p>Two problems occurred with that installation. First, apparently PHP7 does not include <em>mcrypt<\/em>, but the newest version of phpMyAdmin does not require it.<\/p>\n<p>Second problem is that the conf file was not installed. I made a symlink to its location and restarted Apache. Then let Apache know that the conf file was available by running:<br \/>\n<pre><code class=\"preserve-code-formatting\">\nsudo a2enconf phpmyadmin\n<\/code><\/pre><\/p>\n<p><pre><code class=\"preserve-code-formatting\">\nusername: \/etc\/apache2\/conf-available $ sudo ln -s \/etc\/phpmyadmin\/apache.conf phpmyadmin.conf\nsudo systemctl restart apache2\n<\/code><\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019m moving a server that is on very old hardware to a Linode instance with Ubuntu Linux 18.04, Apache, MariaDB, and PHP 7. I know that I am going to have some migration issues since the current server is running Ubuntu 10.04.4 LTS. Setting up Apache and PHP were straightforward, but I ran into problems &hellip; <a href=\"https:\/\/www.wellgolly.com\/?p=2704\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Notes on setting up a cloud server.<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-2704","post","type-post","status-publish","format-standard","hentry","category-computers"],"_links":{"self":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2704"}],"version-history":[{"count":0,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=\/wp\/v2\/posts\/2704\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wellgolly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}