Posts for: #Installation

Full Web Server Installation (nginx, MySQL, PHP7, HTTP2, phpMyAdmin, SSL) – Ubuntu 16.04

Full Web Server Installation (nginx, MySQL, PHP7, HTTP2, phpMyAdmin, SSL) – Ubuntu 16.04

This guide applies to Ubuntu 16.04, I’ll cover other versions later.

1. Installing Nginx
First, let’s update the repos:

sudo apt-get update

Then install nginx:

sudo apt-get install nginx

Then check the nginx version with the following command:

nginx -v

If we get at least version 1.10.0, everything is fine.

2. Installing MySQL
The first step is to install the MySQL server:

sudo apt-get install mysql-server

Naturally, you need to fill in the root user’s password, which you’ll use to access MySQL later.
For PHP pages to run, you need to install PHP version 5 and its associated MySQL instruction set:

[Read more]

Installing Squid Proxy on Ubuntu Server

Installing Squid Proxy on Ubuntu Server

First, let’s update the repositories:

apt-get update

Then install the proxy software and the associated password generator:

apt-get install squid apache2-utils

Once that’s done, let’s create an empty configuration file:

rm -rf /etc/squid/squid.conf
touch /etc/squid/squid.conf
chown proxy /etc/squid/squid.conf

Then create the password file:

touch /etc/squid/squid_passwd

Then grant permissions to the proxy:

chown proxy /etc/squid/squid_passwd

Start editing the configuration file:

nano /etc/squid/squid.conf

and add the following lines (for http_port, specify the port you want to connect to the proxy on):

[Read more]

Call of Duty: United Offensive Linux Server and Other Goodies

Call of Duty: United Offensive Linux Server and Other Goodies

I’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!

We played the hell out of it on Kursk, Carentan, Fox, and the Bas maps.

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’ll describe how to set up a Linux dedicated server, how to configure 1920x1080p resolution, which ports need to be opened, and maybe I’ll even have time to cover mods.

[Read more]

Installing qBittorrent on Ubuntu

Installing qBittorrent on Ubuntu

Many people have become disillusioned with utorrent in recent months, including myself. I looked into other torrent clients and found qBittorrent. It’s simply fantastic! Its web client works perfectly in mobile browsers, and the system itself is very stable.

 

It can be installed on Ubuntu as follows:

You need to add its repository to the cache:

add-apt-repository ppa:qbittorrent-team/qbittorrent-stable

Update the source list:

apt-get update

Depending on whether you want only the web client or also the desktop client, install accordingly:

[Read more]

Installing Plex Media Server on Ubuntu Server

Installing Plex Media Server on Ubuntu Server

For the installation, we need the media server file matching our system from the Plex website, which can be found here.

Copying the package download link, download it to the VPS or server machine:

wget https://downloads.plex.tv/plex-media-server/0.9.15.3.1674-f46e7e6/plexmediaserver_0.9.15.3.1674-f46e7e6_amd64.deb

Then install the downloaded file:

dpkg --install plexmediaserver_0.9.15.3.1674-f46e7e6_amd64.deb

If it complains about missing dependencies, you can install them with the following command:

apt-get -f install

Then navigate to the /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/ directory, and edit the Preferences.xml 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):

[Read more]

Installing BTsync on Ubuntu Server

Installing BTsync on Ubuntu Server

Some of you probably know BTsync, it’s a very useful little program. Basically it’s used for transferring files over the BitTorrent protocol. Here’s how to install it:

To add sources to the apt repository, you need to install the necessary packages first, if you haven’t already:

apt-get install software-properties-common python-software-properties

Then add the source:

add-apt-repository ppa:tuxpoldo/btsync

Then run an update:

apt-get update

And install the program itself:

apt-get install btsync

You’ll also need a web server, both nginx and apache work fine.

[Read more]

Installing Java on Ubuntu

Installing Java on Ubuntu

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:

Update the apt repository with the following command:

sudo apt-get update

Then check if Java is already installed:

java -version

Install the Java Runtime Environment with the following command:

sudo apt-get install default-jre

And for the Java Development Kit, use this:

[Read more]

Installing OpenVPN server on Ubuntu server

Installing OpenVPN server on Ubuntu server

I searched the internet a lot before a friend recommended this script, with which you can easily set up your own secure OpenVPN server.

What you’ll need:

  • PuTTY or any other SSH client capable of establishing a connection
  • A server/VPS running Ubuntu 18.04 or 19.04
  • For VPS: enabled TUN/TAP modules
  • Minimal command-line knowledge

 

First, you need to download the script, which you can do by running the following command:


curl -O https://raw.githubusercontent.com/angristan/openvpn-install/master/openvpn-install.sh && chmod +x openvpn-install.sh

Run the script with root privileges:

[Read more]