<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu on ZoliBen Csupra(Kabra)</title><link>https://zoliben.com/en/tags/ubuntu/</link><description>Recent content in Ubuntu on ZoliBen Csupra(Kabra)</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 16 Mar 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://zoliben.com/en/tags/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>Docker – Matrix Synapse homeserver, federation, nginx reverse proxy and TURN server setup using docker-compose</title><link>https://zoliben.com/en/posts/2021-03-16-/</link><pubDate>Tue, 16 Mar 2021 00:00:00 +0000</pubDate><guid>https://zoliben.com/en/posts/2021-03-16-/</guid><description>&lt;p>Recently I set up a &lt;a href="https://en.wikipedia.org/wiki/Matrix_%28protocol%29">Matrix&lt;/a> homeserver for my friend group. I considered whether I needed federation, and ultimately decided that I did. On top of that, I also had to set up a TURN server so that calls would work properly for everyone, since if someone is behind NAT, the connection typically doesn’t work reliably. I launched the container on a Hetzner cloud VPS running Debian 10.&lt;/p>
&lt;p> &lt;/p>
&lt;p>You’ll need a running Docker service, if it’s not installed yet, you can easily install it using &lt;a href="https://get.docker.com/">https://get.docker.com/&lt;/a>. I recommend creating a git repository where you can push your docker-compose and nginx config files.&lt;/p></description></item><item><title>Disabling IPv6 on Ubuntu 19.04 when connecting to VPN</title><link>https://zoliben.com/en/posts/2020-03-04-ubuntu-19-04-ipv6-kikapcsolasa-vpn-re-csatlakozasnal/</link><pubDate>Wed, 04 Mar 2020 22:20:43 +0000</pubDate><guid>https://zoliben.com/en/posts/2020-03-04-ubuntu-19-04-ipv6-kikapcsolasa-vpn-re-csatlakozasnal/</guid><description>&lt;p>I recently noticed that when I connect to VPN from Pop_OS (based on Ubuntu 19.10), the communication continues on the regular adapter via IPv6 in addition to the VPN interface.&lt;/p>
&lt;p>This is obviously not ideal, because if we’re using the VPN for privacy, this leaks our IP address and we can be traced back without any effort. The best solution would be to completely disable IPv6 address assignment at the kernel level (by editing GRUB), but I generally use it for other purposes, so I only want to disable it when I’m connected to the VPN.&lt;/p></description></item><item><title>Setting up Dynamic DNS with Cloudflare on Raspberry Pi 4 – ddclient</title><link>https://zoliben.com/en/posts/2019-11-04-dinamikus-dns-beallitasa-cloudflare-re-raspberry-pi-4-en-ddclient/</link><pubDate>Mon, 04 Nov 2019 19:57:31 +0000</pubDate><guid>https://zoliben.com/en/posts/2019-11-04-dinamikus-dns-beallitasa-cloudflare-re-raspberry-pi-4-en-ddclient/</guid><description>&lt;p>&lt;strong>Update 2024/06/25: Since writing this article, someone has written a script for this, which you can find here: &lt;a href="https://github.com/K0p1-Git/cloudflare-ddns-updater">https://github.com/K0p1-Git/cloudflare-ddns-updater&lt;/a> . Thanks for the info to tesztszerverem.hu!&lt;/strong>&lt;/p>
&lt;p> &lt;/p>
&lt;p>If you have a home server and want to access a service from the internet (e.g. OpenVPN), it’s worth setting up a dynamic DNS record. This article details the combined setup of Cloudflare – ddclient.&lt;/p>
&lt;p>First, create an ‘A’ record with a dummy IP address (so we can later verify that the update was successful), and with a 5-minute TTL.&lt;/p></description></item><item><title>[LINUX] Cleaning up a full boot partition</title><link>https://zoliben.com/en/posts/2018-12-13-linux-megtelt-boot-particio-kitisztitasa/</link><pubDate>Thu, 13 Dec 2018 20:14:47 +0000</pubDate><guid>https://zoliben.com/en/posts/2018-12-13-linux-megtelt-boot-particio-kitisztitasa/</guid><description>&lt;p>Rarely, but it can happen that the /boot partition fills up on Linux machines, in which case it’s worth deleting the old kernels, but this isn’t always straightforward.&lt;/p>
&lt;p>You can check the disk usage with the following command:&lt;/p>
&lt;pre>df -h&lt;/pre>
&lt;div style="width: 679px" class="wp-caption alignnone">
 &lt;img loading="lazy" decoding="async" src="https://zoliben.com/hosted/561r2e3C3O2v1r4c.png" alt="" width="669" height="418" />
 &lt;p class="wp-caption-text">
 The image shows the state after cleaning, so the /boot partition is now only at 39% usage
 &lt;/p>
&lt;/div>
&lt;p>In this case, apt-get upgrade gets interrupted during the kernel update, since there’s no more space on the partition. This constantly throws errors, and there are cases (like mine) where updates can’t run at all anymore because previous ones have failed.&lt;/p></description></item><item><title>Installing Squid Proxy on Ubuntu Server</title><link>https://zoliben.com/en/posts/2016-02-09-squid-proxy-telepitese-ubuntu-szerverre/</link><pubDate>Tue, 09 Feb 2016 19:10:16 +0000</pubDate><guid>https://zoliben.com/en/posts/2016-02-09-squid-proxy-telepitese-ubuntu-szerverre/</guid><description>&lt;p>First, let&amp;rsquo;s update the repositories:&lt;/p>
&lt;pre>apt-get update&lt;/pre>
&lt;p>Then install the proxy software and the associated password generator:&lt;/p>
&lt;pre>apt-get install squid apache2-utils&lt;/pre>
&lt;p>Once that&amp;rsquo;s done, let&amp;rsquo;s create an empty configuration file:&lt;/p>
&lt;pre>rm -rf /etc/squid/squid.conf
touch /etc/squid/squid.conf
chown proxy /etc/squid/squid.conf&lt;/pre>
&lt;p>Then create the password file:&lt;/p>
&lt;pre>touch /etc/squid/squid_passwd&lt;/pre>
&lt;p>Then grant permissions to the proxy:&lt;/p>
&lt;pre>chown proxy /etc/squid/squid_passwd&lt;/pre>
&lt;p>Start editing the configuration file:&lt;/p>
&lt;pre>nano /etc/squid/squid.conf&lt;/pre>
&lt;p>and add the following lines (for http_port, specify the port you want to connect to the proxy on):&lt;/p></description></item><item><title>Call of Duty: United Offensive Linux Server and Other Goodies</title><link>https://zoliben.com/en/posts/2015-11-15-call-of-duty-united-offensive-linux-szerver-es-mas-finomsagok/</link><pubDate>Sun, 15 Nov 2015 14:17:47 +0000</pubDate><guid>https://zoliben.com/en/posts/2015-11-15-call-of-duty-united-offensive-linux-szerver-es-mas-finomsagok/</guid><description>&lt;p>I&amp;rsquo;ve been planning for a long time to write a guide about one of my favorite games, Call of Duty United Offensive. For me, this was the best game back in the day alongside MoHAA, because IT HAD TANKS!&lt;/p>
&lt;p>We played the hell out of it on Kursk, Carentan, Fox, and the Bas maps.&lt;/p>
&lt;p>I feel like because of all the fun I had, I owe it to the game to not let it disappear into obscurity, so below I&amp;rsquo;ll describe how to set up a Linux dedicated server, how to configure 1920x1080p resolution, which ports need to be opened, and maybe I&amp;rsquo;ll even have time to cover mods.&lt;/p></description></item><item><title>Installing qBittorrent on Ubuntu</title><link>https://zoliben.com/en/posts/2015-04-18-qbittorrent-telepitese-ubuntu-ra/</link><pubDate>Sat, 18 Apr 2015 15:10:09 +0000</pubDate><guid>https://zoliben.com/en/posts/2015-04-18-qbittorrent-telepitese-ubuntu-ra/</guid><description>&lt;p>Many people have become disillusioned with utorrent in recent months, including myself. I looked into other torrent clients and found qBittorrent. It&amp;rsquo;s simply fantastic! Its web client works perfectly in mobile browsers, and the system itself is very stable.&lt;/p>
&lt;p> &lt;/p>
&lt;p>It can be installed on Ubuntu as follows:&lt;/p>
&lt;p>You need to add its repository to the cache:&lt;/p>
&lt;pre>add-apt-repository ppa:qbittorrent-team/qbittorrent-stable&lt;/pre>
&lt;p>Update the source list:&lt;/p>
&lt;pre>apt-get update&lt;/pre>
&lt;p>Depending on whether you want only the web client or also the desktop client, install accordingly:&lt;/p></description></item><item><title>Observium</title><link>https://zoliben.com/en/posts/2015-03-29-observium/</link><pubDate>Sun, 29 Mar 2015 08:21:11 +0000</pubDate><guid>https://zoliben.com/en/posts/2015-03-29-observium/</guid><description>&lt;p>I was having some issues with my VPS instances (they would sometimes go down), so I looked for a monitoring system that would alert me when a VPS goes offline and also save statistical data. I initially looked at NodeQuery, but the problem with it was that it only updated every 5 minutes, so if a VPS became unavailable for 1-2 minutes, it barely noticed. I checked out other options too, but eventually settled on &lt;a href="http://www.observium.org/" target="_blank">Observium&lt;/a>.&lt;/p></description></item><item><title>Installing Plex Media Server on Ubuntu Server</title><link>https://zoliben.com/en/posts/2015-01-03-plex-mediaszerver-telepitese-ubuntu-szerverre/</link><pubDate>Fri, 02 Jan 2015 23:02:57 +0000</pubDate><guid>https://zoliben.com/en/posts/2015-01-03-plex-mediaszerver-telepitese-ubuntu-szerverre/</guid><description>&lt;p>For the installation, we need the media server file matching our system from the Plex website, which &lt;a href="https://plex.tv/downloads" target="_blank">can be found here&lt;/a>.&lt;/p>
&lt;p>Copying the package download link, download it to the VPS or server machine:&lt;/p>
&lt;pre>wget https://downloads.plex.tv/plex-media-server/0.9.15.3.1674-f46e7e6/plexmediaserver_0.9.15.3.1674-f46e7e6_amd64.deb&lt;/pre>
&lt;p>Then install the downloaded file:&lt;/p>
&lt;pre>dpkg --install plexmediaserver_0.9.15.3.1674-f46e7e6_amd64.deb&lt;/pre>
&lt;p>If it complains about missing dependencies, you can install them with the following command:&lt;/p>
&lt;pre>apt-get -f install&lt;/pre>
&lt;p>Then navigate to the &lt;strong>/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/&lt;/strong> directory, and edit the &lt;strong>Preferences.xml&lt;/strong> file using nano or vi, by adding the following line after the Preferences word in the file (replacing 1.2.3.4 with your own IP address):&lt;/p></description></item><item><title>Installing BTsync on Ubuntu Server</title><link>https://zoliben.com/en/posts/2014-12-30-btsync-telepitese-ubuntu-szerverre/</link><pubDate>Tue, 30 Dec 2014 17:10:48 +0000</pubDate><guid>https://zoliben.com/en/posts/2014-12-30-btsync-telepitese-ubuntu-szerverre/</guid><description>&lt;p>Some of you probably know BTsync, it&amp;rsquo;s a very useful little program. Basically it&amp;rsquo;s used for transferring files over the BitTorrent protocol. Here&amp;rsquo;s how to install it:&lt;/p>
&lt;p>To add sources to the apt repository, you need to install the necessary packages first, if you haven&amp;rsquo;t already:&lt;/p>
&lt;pre>apt-get install software-properties-common python-software-properties&lt;/pre>
&lt;p>Then add the source:&lt;/p>
&lt;pre>add-apt-repository ppa:tuxpoldo/btsync&lt;/pre>
&lt;p>Then run an update:&lt;/p>
&lt;pre>apt-get update&lt;/pre>
&lt;p>And install the program itself:&lt;/p>
&lt;pre>apt-get install btsync&lt;/pre>
&lt;p>You&amp;rsquo;ll also need a web server, both nginx and apache work fine.&lt;/p></description></item><item><title>Another VPS in My Possession</title><link>https://zoliben.com/en/posts/2014-12-30-ujabb-vps-a-birtokomban/</link><pubDate>Mon, 29 Dec 2014 23:03:05 +0000</pubDate><guid>https://zoliben.com/en/posts/2014-12-30-ujabb-vps-a-birtokomban/</guid><description>&lt;p>Today I came across an interesting package from the provider MyRSK, first on lowendtalk, which I only glanced at, then my friend linked it to me and pointed out certain details. I didn&amp;rsquo;t hesitate any longer, I&amp;rsquo;d been looking for a decent VPS with relatively lots of RAM and no monthly payment, so I ordered the package, which has the following specs:&lt;/p>
&lt;ul>
&lt;li>2 shared CPU cores&lt;/li>
&lt;li>200 GB HDD&lt;/li>
&lt;li>2 TB monthly data transfer&lt;/li>
&lt;li>2 GB RAM&lt;/li>
&lt;/ul>
&lt;p>I ran a quick benchmark on it, here are the results:&lt;/p></description></item><item><title>Installing Java on Ubuntu</title><link>https://zoliben.com/en/posts/2014-12-28-java-telepitese-ubuntura/</link><pubDate>Sun, 28 Dec 2014 21:42:36 +0000</pubDate><guid>https://zoliben.com/en/posts/2014-12-28-java-telepitese-ubuntura/</guid><description>&lt;p>If you want to run a Java app on a fresh Ubuntu server, (say Minecraft) then you first need to install the appropriate Java runtime. You can do this as follows:&lt;/p>
&lt;p>Update the apt repository with the following command:&lt;/p>
&lt;pre>sudo apt-get update&lt;/pre>
&lt;p>Then check if Java is already installed:&lt;/p>
&lt;pre>java -version&lt;/pre>
&lt;p>Install the Java Runtime Environment with the following command:&lt;/p>
&lt;pre>sudo apt-get install default-jre&lt;/pre>
&lt;p>And for the Java Development Kit, use this:&lt;/p></description></item><item><title>MOHAA Dedicated Server on Ubuntu 12.04</title><link>https://zoliben.com/en/posts/2014-12-14-mohaa-dedikalt-szerver-ubuntu-12-04-en/</link><pubDate>Sun, 14 Dec 2014 10:02:47 +0000</pubDate><guid>https://zoliben.com/en/posts/2014-12-14-mohaa-dedikalt-szerver-ubuntu-12-04-en/</guid><description>&lt;p>Back in the day I played Medal of Honor Allied Assault a lot, I think it&amp;rsquo;s the best game in the series and my personal favorite. Yesterday I somehow felt like picking the game up again, but I ran into several issues. For one, I don&amp;rsquo;t have a DVD drive in my PC, I somehow managed to tear off the CD keys from my Warchest collection, plus with GameSpy shutting down, it wasn&amp;rsquo;t really possible to find servers. After a bit of searching online, I found the modded version of MOHAA (plus Breakthrough and Spearhead), where they replace the GameSpy server browser, add FullHD resolution support and whatnot. (plus it runs perfectly on win 8.1 64 bit) The download from their server was pretty slow, so I uploaded it here as a mirror, which you can download from the &lt;a title="Downloads" href="https://zoliben.com/letoltesek/" target="_blank">Downloads&lt;/a> page, or from &lt;a title="here" href="https://zoliben.com/egyeb/MOH_REVIVAL.exe" target="_blank">here&lt;/a>.&lt;/p></description></item><item><title>Installing OpenVPN server on Ubuntu server</title><link>https://zoliben.com/en/posts/2014-11-13-openvpn-szerver-telepitese-ubuntu-szerverre/</link><pubDate>Thu, 13 Nov 2014 20:02:26 +0000</pubDate><guid>https://zoliben.com/en/posts/2014-11-13-openvpn-szerver-telepitese-ubuntu-szerverre/</guid><description>&lt;p>I searched the internet a lot before a friend recommended this script, with which you can easily set up your own secure OpenVPN server.&lt;/p>
&lt;p>What you&amp;rsquo;ll need:&lt;/p>
&lt;ul>
&lt;li>PuTTY or any other SSH client capable of establishing a connection&lt;/li>
&lt;li>A server/VPS running Ubuntu 18.04 or 19.04&lt;/li>
&lt;li>For VPS: enabled TUN/TAP modules&lt;/li>
&lt;li>Minimal command-line knowledge&lt;/li>
&lt;/ul>
&lt;p> &lt;/p>
&lt;p>First, you need to download the script, which you can do by running the following command:&lt;/p>
&lt;hr>
&lt;pre>&lt;em>curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh &amp;&amp; chmod +x openvpn-install.sh&lt;/em>&lt;/pre>
&lt;hr>
&lt;p>Run the script with root privileges:&lt;/p></description></item></channel></rss>