<?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>tmux &#8211; Sandy Scott&#039;s Web Spot</title>
	<atom:link href="https://www.sandyscott.net/tag/tmux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sandyscott.net</link>
	<description>My little corner of the web</description>
	<lastBuildDate>Fri, 05 Jun 2020 11:40:01 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>Server Setup 15: Optional Extras</title>
		<link>https://www.sandyscott.net/2020/06/server-setup-15-optional-extras/</link>
					<comments>https://www.sandyscott.net/2020/06/server-setup-15-optional-extras/#respond</comments>
		
		<dc:creator><![CDATA[Sandy]]></dc:creator>
		<pubDate>Mon, 01 Jun 2020 17:56:43 +0000</pubDate>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nextcloud]]></category>
		<category><![CDATA[tmux]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://www.sandyscott.net/?p=602</guid>

					<description><![CDATA[Now you&#8217;re up and running with what should be a stable and secure installation of WordPress and Nextcloud with Collabora. There are plenty more tweaks you can work on yourself: Server Administration Advanced HTTPS &#8211; you can check your config with https://www.ssllabs.com/ssltest/. You have choices about how you want to...<p> <a class="continue-reading-link" href="https://www.sandyscott.net/2020/06/server-setup-15-optional-extras/"><span>Continue reading</span><i class="crycon-right-dir"></i></a> </p>]]></description>
										<content:encoded><![CDATA[
<p><em>If this is your first time looking at a post from this series, have a look at this summary: <a href="https://www.sandyscott.net/2020/06/04/server-setup-0-contents/" data-type="666">Server Setup 0: Contents</a></em></p>



<p>Now you&#8217;re up and running with what should be a stable and secure installation of WordPress and Nextcloud with Collabora.</p>



<p>There are plenty more tweaks you can work on yourself:</p>



<h2 class="wp-block-heading">Server Administration</h2>



<ul class="wp-block-list"><li>Advanced HTTPS &#8211; you can check your config with <a href="https://www.ssllabs.com/ssltest/">https://www.ssllabs.com/ssltest/</a>. You have choices about how you want to set up your system &#8211; more secure or more compatible with older clients. <a href="https://ssl-config.mozilla.org/#server=apache">This tool from Mozilla</a>  provides recommendations for the the Apache configuration you need.</li><li>Email configuration &#8211; This allows either system to send emails. Best way to do it us an existing email service, and let your server connect to that. s-nail and exim can both do this.</li><li>You can keep you system automatically up to date with the <code>unattened-upgrades</code> package &#8211; this keeps your system up to date. If email is configure it&#8217;ll send you an summary of what it&#8217;s updated.</li></ul>



<h2 class="wp-block-heading">WordPress:</h2>



<p>WordPress relies on htaccess for a few things, mainly nicely writing urls for permalinks. However, .htaccess files have a problem &#8211; they&#8217;re checked every time someone visits your site. You can reconfigure apache to load the data from the .htaccess file once, instead of on every request.</p>



<p>Be careful, there may be multiple .htaccess files, and some plugins install their own, so use these commands to find them all:</p>



<div class="wp-block-codemirror-blocks-code-block code-block"><pre class="CodeMirror" data-setting="{&quot;showPanel&quot;:false,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;shell&quot;,&quot;mime&quot;:&quot;text/x-sh&quot;,&quot;theme&quot;:&quot;material&quot;,&quot;lineNumbers&quot;:false,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Shell&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;shell&quot;}">cd /var/www/wordpress
find | grep htaccess</pre></div>



<h2 class="wp-block-heading">Nextcloud</h2>



<p>A few ideas:</p>



<ul class="wp-block-list"><li>Work your way through the list in administration section &#8211; the links to the documentation will help a lot.</li><li>Background jobs: Try setting up a systemd timer or traditional crontab. Have a look in <strong>Basic Settings</strong> in the <strong>Settings</strong> menu for an Administrator. </li><li>Scan you installation for security issues <a href="https://scan.nextcloud.com/">https://scan.nextcloud.com/</a></li><li>Include .htaccess instead of loading it every time, like for WordPress.</li></ul>



<h2 class="wp-block-heading">User friendliness</h2>



<p>These are a few niceties you might try to help with general use:</p>



<ul class="wp-block-list"><li>Set up passwordless login: <a href="https://linuxize.com/post/how-to-setup-passwordless-ssh-login/">https://linuxize.com/post/how-to-setup-passwordless-ssh-login/</a></li><li>Use <a href="https://github.com/tmux/tmux/wiki">tmux </a>to keep you shell sessions alive.</li></ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sandyscott.net/2020/06/server-setup-15-optional-extras/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
