{"id":278,"date":"2022-11-14T01:47:14","date_gmt":"2022-11-13T20:47:14","guid":{"rendered":"https:\/\/brainlessideas.com\/?p=278"},"modified":"2022-11-14T03:26:59","modified_gmt":"2022-11-13T22:26:59","slug":"install-joomla-3-and-glpi-10-on-ubuntu-22-lts","status":"publish","type":"post","link":"https:\/\/brainlessideas.com\/index.php\/2022\/11\/14\/install-joomla-3-and-glpi-10-on-ubuntu-22-lts\/","title":{"rendered":"Install Joomla 3 and GLPI 10 on Ubuntu 22 LTS"},"content":{"rendered":"<p>Right, so I&#8217;m looking to deploy a intranet server, allowing for some modern tools across our departments.\u00a0 Ubuntu 22 LTS is a fair choice, there have been some complaints regarding the desktop, but I think 22 server is pretty solid.\u00a0 We are going to be installing LAMP, Joomla and GLPI.<\/p>\n<ol>\n<li>Get yourself a Ubuntu 22 machine going (for me, on VMware 7).<\/li>\n<li>Install LAMP:\u00a0 \u00a0 <strong>$ sudo apt install lamp-server^<\/strong><\/li>\n<li>Now is a good time to save.<\/li>\n<li>Configure mysql for Joomla:<br \/>\n$ mysql -u root -p<br \/>\n&gt; CREATE DATABASE joomla;<br \/>\n&gt; CREATE USER &#8216;joomla&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;Password&#8217;;<br \/>\n&gt; GRANT ALL PRIVILEGES ON joomla.* TO &#8216;joomla&#8217;@&#8217;localhost&#8217;;<\/li>\n<li>Install Joomla:\u00a0 \u00a0letme<a href=\"https:\/\/letmegooglethat.com\/?q=how+to+install+joomla+3+on+ubuntu+22\">GOOGLE<\/a>thatforyou<br \/>\n$ wget &lt;insert http link to joomla download&gt;<br \/>\n$ mkdir \/var\/www\/html\/joomla<br \/>\n$ (tar -xvf \/ unzip) downloaded_joomla_archive \/var\/www\/html\/joomla<br \/>\n$ sudo chown -R www-data:www-data \/var\/www\/html\/joomla\/<\/li>\n<li>Create apache joomla.conf file:<br \/>\n$ sudo (vi \/ vim \/ nano) \/etc\/apache2\/sites-available\/joomla.conf<\/p>\n<blockquote>\n<pre><code>\n&lt;VirtualHost *:80&gt;\n\nServerAdmin webmaster@domain.com\n\nServerName domain.com\nServerAlias www.domain.com\nDocumentRoot \/var\/www\/html\/joomla\n\n&lt;Directory \/var\/www\/html\/joomla\/&gt;\n        Options FollowSymlinks\n        AllowOverride All\n        Require all granted\n&lt;\/Directory&gt;\n\nErrorLog ${APACHE_LOG_DIR}\/domain.com_error.log\nCustomLog ${APACHE_LOG_DIR}\/domain.com_access.log combined\n\n&lt;\/VirtualHost&gt;<\/code>\n\n<\/pre>\n<\/blockquote>\n<\/li>\n<li>Add the site to apache:<br \/>\n$ sudo a2ensite joomla.conf<br \/>\n$ sudo a2enmod rewrite<br \/>\n$ sudo systemctl restart apache2<\/li>\n<li>Finalize Joomla Installation by visiting the site.<\/li>\n<li>Now is also a good time to save \ud83d\ude42<\/li>\n<\/ol>\n<p>Resources:<br \/>\nJoomla 3.10.11: https:\/\/downloads.joomla.org\/cms\/joomla3\/3-10-11\/Joomla_3-10-11-Stable-Full_Package.zip<\/p>\n<p>Notes:<br \/>\nI spent like 10 minutes typing the same goddamn line into mysql for no good fscking reason&#8230; The fscks depreciated the use of &#8220;<em>GRANT ALL PRIVILEGES TO &#8216;user&#8217;@&#8217;host&#8217; IDENTIFIED BY &#8216;Password&#8217;;<\/em>&#8220;&#8230; and couldn&#8217;t add a even slightly descriptive error &#8211; just some numbers. Eat a line of shitcode, mysql developers. Choke on it too.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Right, so I&#8217;m looking to deploy a intranet server, allowing for some modern tools across our departments. Ubuntu 22 LTS is a fair choice, there have been some complaints regarding the desktop, but I think 22 server is pretty solid. We are going to be installing LAMP, Joomla and GLPI.<\/p>\n<p> Get yourself a Ubuntu 22 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,10],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-it","category-linuxses","odd"],"_links":{"self":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":3,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":281,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions\/281"}],"wp:attachment":[{"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brainlessideas.com\/index.php\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}