{"id":1493,"date":"2019-01-01T13:31:22","date_gmt":"2019-01-01T13:31:22","guid":{"rendered":"http:\/\/rathervague.co.uk\/writings\/?p=1493"},"modified":"2019-01-01T13:56:05","modified_gmt":"2019-01-01T13:56:05","slug":"webtrees-ubuntu-server","status":"publish","type":"post","link":"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/","title":{"rendered":"Webtrees Ubuntu Server"},"content":{"rendered":"<h2>Install MySQL<\/h2>\n<pre>sudo apt install mysql-server<\/pre>\n<pre>sudo mysql<\/pre>\n<pre>create user 'webtrees'@'localhost' identified by 'webtrees12345';<\/pre>\n<pre>create database WEBTREES character set UTF8;<\/pre>\n<pre>grant all privileges on WEBTREES.* to 'webtrees'@'localhost';<\/pre>\n<pre>exit<\/pre>\n<h3>Test DB &#8211; login with user webtrees<\/h3>\n<pre>mysql -u webtrees --password=webtrees12345<\/pre>\n<h2>Install Apache<\/h2>\n<pre>sudo apt install apache2\r\nsudo apt install php7.2 libapache2-mod-php7.2 php-mysql\r\nsudo apt install php-curl php-json php-cgi\r\nsudo apt-get install php7.2-gd\r\nsudo apt-get install php-xml\r\nsudo \/etc\/init.d\/apache2 restart\r\n<\/pre>\n<h2>Import DB<\/h2>\n<pre class=\"lang:default decode:true \" >mysql -u webtrees -p WEBTREES &lt; webtrees-backup.sql<\/pre>\n<h2>Add USERNAME to EDIT FOLDER<\/h2>\n<pre>sudo chown -R USERNAME \/var\/www\/html\r\nsudo chmod 777 \/var\/www\/html\/webtrees\/data\/\r\n<\/pre>\n<h2>Copy webtrees files to server<\/h2>\n<h3>Update permissions on data folder<\/h3>\n<pre>sudo chmod 777 \/var\/www\/html\/webtrees\/data\/\r\nsudo chown -R USERNAME \/var\/www\/html\/webtrees\/data\/media\/\r\n<\/pre>\n<h2>Edit PHP.ini<\/h2>\n<pre>sudo nano \/etc\/php\/7.2\/apache2\/php.ini<\/pre>\n<p>Update max wait and file size<\/p>\n<pre>post_max_size = 30M\r\nupload_max_filesize = 30M\r\nmemory_limit = 128M\r\nmax_execution_time = 30\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Install MySQL sudo apt install mysql-server sudo mysql create user &#8216;webtrees&#8217;@&#8217;localhost&#8217; identified by &#8216;webtrees12345&#8217;; create database WEBTREES character set UTF8; grant all privileges on WEBTREES.* to &#8216;webtrees&#8217;@&#8217;localhost&#8217;; exit Test DB &#8211; login with user webtrees mysql -u webtrees &#8211;password=webtrees12345 Install Apache sudo apt install apache2 sudo apt install php7.2 libapache2-mod-php7.2 php-mysql sudo apt install php-curl &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Webtrees Ubuntu Server&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":486,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[64],"class_list":["post-1493","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webdev","tag-webtrees"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Webtrees Ubuntu Server -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Webtrees Ubuntu Server -\" \/>\n<meta property=\"og:description\" content=\"Install MySQL sudo apt install mysql-server sudo mysql create user &#039;webtrees&#039;@&#039;localhost&#039; identified by &#039;webtrees12345&#039;; create database WEBTREES character set UTF8; grant all privileges on WEBTREES.* to &#039;webtrees&#039;@&#039;localhost&#039;; exit Test DB &#8211; login with user webtrees mysql -u webtrees --password=webtrees12345 Install Apache sudo apt install apache2 sudo apt install php7.2 libapache2-mod-php7.2 php-mysql sudo apt install php-curl &hellip; Continue reading &quot;Webtrees Ubuntu Server&quot;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-01T13:31:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-01-01T13:56:05+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/rathervague.co.uk\/writings\/wp-content\/uploads\/2018\/04\/idle2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Del Sozou\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Del Sozou\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/\",\"url\":\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/\",\"name\":\"Webtrees Ubuntu Server -\",\"isPartOf\":{\"@id\":\"https:\/\/rathervague.co.uk\/writings\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/rathervague.co.uk\/writings\/wp-content\/uploads\/2018\/04\/idle2.png\",\"datePublished\":\"2019-01-01T13:31:22+00:00\",\"dateModified\":\"2019-01-01T13:56:05+00:00\",\"author\":{\"@id\":\"https:\/\/rathervague.co.uk\/writings\/#\/schema\/person\/fe809b475960f6033b624e283866d122\"},\"breadcrumb\":{\"@id\":\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/#primaryimage\",\"url\":\"http:\/\/rathervague.co.uk\/writings\/wp-content\/uploads\/2018\/04\/idle2.png\",\"contentUrl\":\"http:\/\/rathervague.co.uk\/writings\/wp-content\/uploads\/2018\/04\/idle2.png\",\"width\":1000,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/rathervague.co.uk\/writings\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Webtrees Ubuntu Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rathervague.co.uk\/writings\/#website\",\"url\":\"https:\/\/rathervague.co.uk\/writings\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rathervague.co.uk\/writings\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/rathervague.co.uk\/writings\/#\/schema\/person\/fe809b475960f6033b624e283866d122\",\"name\":\"Del Sozou\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Webtrees Ubuntu Server -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/","og_locale":"en_GB","og_type":"article","og_title":"Webtrees Ubuntu Server -","og_description":"Install MySQL sudo apt install mysql-server sudo mysql create user 'webtrees'@'localhost' identified by 'webtrees12345'; create database WEBTREES character set UTF8; grant all privileges on WEBTREES.* to 'webtrees'@'localhost'; exit Test DB &#8211; login with user webtrees mysql -u webtrees --password=webtrees12345 Install Apache sudo apt install apache2 sudo apt install php7.2 libapache2-mod-php7.2 php-mysql sudo apt install php-curl &hellip; Continue reading \"Webtrees Ubuntu Server\"","og_url":"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/","article_published_time":"2019-01-01T13:31:22+00:00","article_modified_time":"2019-01-01T13:56:05+00:00","og_image":[{"width":1000,"height":300,"url":"http:\/\/rathervague.co.uk\/writings\/wp-content\/uploads\/2018\/04\/idle2.png","type":"image\/png"}],"author":"Del Sozou","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Del Sozou","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/","url":"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/","name":"Webtrees Ubuntu Server -","isPartOf":{"@id":"https:\/\/rathervague.co.uk\/writings\/#website"},"primaryImageOfPage":{"@id":"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/#primaryimage"},"image":{"@id":"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/#primaryimage"},"thumbnailUrl":"http:\/\/rathervague.co.uk\/writings\/wp-content\/uploads\/2018\/04\/idle2.png","datePublished":"2019-01-01T13:31:22+00:00","dateModified":"2019-01-01T13:56:05+00:00","author":{"@id":"https:\/\/rathervague.co.uk\/writings\/#\/schema\/person\/fe809b475960f6033b624e283866d122"},"breadcrumb":{"@id":"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/#primaryimage","url":"http:\/\/rathervague.co.uk\/writings\/wp-content\/uploads\/2018\/04\/idle2.png","contentUrl":"http:\/\/rathervague.co.uk\/writings\/wp-content\/uploads\/2018\/04\/idle2.png","width":1000,"height":300},{"@type":"BreadcrumbList","@id":"http:\/\/rathervague.co.uk\/writings\/tech\/webdev\/webtrees-ubuntu-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/rathervague.co.uk\/writings\/"},{"@type":"ListItem","position":2,"name":"Webtrees Ubuntu Server"}]},{"@type":"WebSite","@id":"https:\/\/rathervague.co.uk\/writings\/#website","url":"https:\/\/rathervague.co.uk\/writings\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rathervague.co.uk\/writings\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/rathervague.co.uk\/writings\/#\/schema\/person\/fe809b475960f6033b624e283866d122","name":"Del Sozou"}]}},"_links":{"self":[{"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/posts\/1493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/comments?post=1493"}],"version-history":[{"count":8,"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/posts\/1493\/revisions"}],"predecessor-version":[{"id":1509,"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/posts\/1493\/revisions\/1509"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/media\/486"}],"wp:attachment":[{"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/media?parent=1493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/categories?post=1493"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rathervague.co.uk\/writings\/wp-json\/wp\/v2\/tags?post=1493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}