<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>virtualmin | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/virtualmin/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Fri, 18 Sep 2020 10:06:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>virtualmin | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>The joys of setting up a server</title>
		<link>https://learncgames.com/the-joys-of-setting-up-a-server/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-joys-of-setting-up-a-server</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Thu, 17 Sep 2020 23:00:28 +0000</pubDate>
				<category><![CDATA[design]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[virtualmin]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=1410</guid>

					<description><![CDATA[<p>This is for my MMO game. I need a backend server, so yesterday I signed up for a vps service. I picked Ubuntu 20.04 LTS which I&#8217;ve used before and received the login details. I use Putty to log in via SSH and WinSCP for browsing, copying files.  Installing Apache2 is actually very easy. Likewise [&#8230;]</p>
The post <a href="https://learncgames.com/the-joys-of-setting-up-a-server/">The joys of setting up a server</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignleft size-medium wp-image-1411" src="https://learncgames.com/wp-content/uploads/2020/09/virtualmin-300x175.png" alt="Virtualmin install script running" width="300" height="175" srcset="https://learncgames.com/wp-content/uploads/2020/09/virtualmin-300x175.png 300w, https://learncgames.com/wp-content/uploads/2020/09/virtualmin.png 633w" sizes="(max-width: 300px) 100vw, 300px" />This is for my MMO game. I need a backend server, so yesterday I signed up for a vps service. I picked Ubuntu 20.04 LTS which I&#8217;ve used before and received the login details. I use Putty to log in via SSH and WinSCP for browsing, copying files.  Installing Apache2 is actually very easy. Likewise PHP. I didn&#8217;t install MySQL which might have been a mistake, so I had a LAP system (<em>Linux, Apache, PHP</em>) rather than LAMP.</p>
<p>What I did do sensibly was pay for a backup snapshot service.  When I logged in first I did an sudo apt update then upgrade. Then I took a snapshot.</p>
<p><strong>And I needed it.</strong> My exact configuration was Apache 2.4 with PHP 7.4. Apache worked when I tested it but PHP didn&#8217;t. Well from the command line the PHP command worked and I could see the version but it didn&#8217;t work with Apache.  I created a PHP script with phpinfo in it but instead when I browsed to it, it downloaded the script rather than ran it.</p>
<p>This is usually the case that httpd.conf needs some AddType statements only there isn&#8217;t an httpd.conf anymore in Apache 2.4. I did locate a mime.conf but adding AddType into that and restarting Apache made no difference. I eventually wasted about three hours on it yesterday. However in my searches I came across mention of <strong>Virtualmin</strong> and so today I restored to the snapshot and ran the <strong>Virtualmin</strong> open source script. Luckily Ubuntu 20.04 LTS was one of the supported distros and Virtualmin installed without a hitch. It&#8217;s very impressive. The screenshot is of virtualmin installing. Thankfully all the bars on the right were green&#8230;</p>
<p>Back about 12 years ago when I first started experimenting with Linux and websites, i came across Webmin and used it extensively. Virtualmin installed both WebMin and Usermin. It has changed substantially in the time since I last used it. It surprised me a little because for years Ubuntu and Webmin didn&#8217;t seem to get on and Ubuntu recommended not to install it.</p>
<p>Anyway I now have a server that runs PHP. The backend will be running .NET Core once installed, but it&#8217;s just as easy to use Apache and PHP for receiving order files (<em>from mobile</em>). PHP is just to simplify getting those files onto and off the server.</p>The post <a href="https://learncgames.com/the-joys-of-setting-up-a-server/">The joys of setting up a server</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1410</post-id>	</item>
	</channel>
</rss>
