@JS's Notes

Site with notes from my work.

Angular CLI on Ubuntu 18.10

2019-10-05 System Programing @JS

Requirements: user with root privileges or non-root user with sudo privileges.

$ sudo curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
$ sudo apt install nodejs build-essential -y
$ node -v
$ npm -v
$ sudo npm install -g @angular/cli
$ ng --version
     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 8.1.2
Node: 12.7.0
OS: linux x64
Angular:
[...]

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.801.2
@angular-devkit/core         8.1.2
@angular-devkit/schematics   8.1.2
@schematics/angular          8.1.2
@schematics/update           0.801.2
rxjs                         6.4.0
Continue reading

Memcached on Ubuntu 18.10

2019-10-05 System @JS

Requirements: user with root privileges or non-root user with sudo privileges.

$ sudo apt update && sudo apt upgrade -y
$ sudo apt install memcached libmemcached-tools -y
$ systemctl status memcached
$ sudo systemctl enable memcached
Continue reading

Streama Media Streaming Server on Ubuntu

2019-10-04 System @JS

My test platform: Ubuntu Server 18.10

Streama is a free self hosted media streaming server running on Java. Its features are similar to those of Kodi and Plex.

Requirements: user with root privileges or non-root user with sudo privileges.

Installation
$ sudo apt update -y
$ sudo apt upgrade -y
$ sudo apt install openjdk-8-jre
$ cd #
$ mkdir streama
$ cd streama
$ wget https://github.com/streamaserver/streama/releases/download/v1.6.1/streama-1.6.1.war
$ chmod +x streama-1.6.1.war
$ java -jar streama-1.6.1.war &
Continue reading

ProFTPD with TLS on Ubuntu 18.10

2019-10-04 System @JS

Requirements: user with root privileges or non-root user with sudo privileges.

ProFTPD - installation and configuration

Update your operating system packages and install ProFTPD:

$ sudo apt update && sudo apt upgrade -y
$ sudo apt install proftpd openssl -y
$ systemctl status proftpd.service
$ sudo systemctl enable proftpd.service
Continue reading