@JS's Notes

Site with notes from my work.

BookStack on Ubuntu 18.04 LTS / 20.04 LTS

2020-12-20 System @JS

My test platform: Ubuntu Server 18.04.3 and 20.04.1

Requirements:

  • Ubuntu Server and user with root privileges or non-root user with sudo privileges
  • PHP >= 7.2 *
    • For installation and maintenence, you’ll need to be able to run php from the command line
    • Required Extensions: OpenSSL, PDO, MBstring, Tokenizer, GD, MySQL, Tidy, SimpleXML & DOM
  • MySQL >= 5.6 *
    • Single Database (All permissions advised since application manages schema)
  • Git Version Control *
  • Composer *
Continue reading

Seo Panel on Ubuntu 20.04

2020-09-20 System SEO @JS

My test platform: Ubuntu Server 20.04 and SEO Panel 4.6.0

SEO Panel is a free and open source control panel that can be used for search engine optimization of your websites.

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

Apache, PHP and MariaDB installation
$ sudo apt install apache2 mariadb-server php php-mysql php-curl php-json php-cgi \
                    libapache2-mod-php php-xmlrpc php-gd php-mbstring php php-common php-xmlrpc \
                    php-soap php-xml php-intl php-cli php-ldap php-zip php-readline php-imap \
                    php-tidy php-intl unzip wget -y
Continue reading

Redmine on Ubuntu 20.04

2020-09-20 System @JS

My test platform: Ubuntu Server 20.04.1

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

Apache and MariaDB installation
$ sudo apt install apache2 mariadb-server libapache2-mod-passenger -y

On Ubuntu, the services should be started automatically immediately after packages pre-configuration is complete.

$ sudo systemctl status apache2.service; sudo systemctl status mariadb.service
Continue reading

Samba stand-alone server on Debian 10

2020-09-20 System @JS

My test platform: Debian 10.5

Samba will be configured as a stand-alone server, not as a domain controller. Each user will have their own home directory available via the SMB protocol, and all users will have a shared directory with read/write access.

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

Samba installation
$ sudo apt update && sudo apt upgrade -y
$ sudo apt install samba samba-common -y
Continue reading

Jenkins on Ubuntu 20.04

2020-09-06 System Programing @JS

My test platform: Ubuntu Server 20.04.1

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

Jenkins installation
$ sudo apt update; sudo apt upgrade -y              # Reboot if required
$ sudo apt install openjdk-11-jre-headless -y
$ java --version
$ wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
$ sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
$ sudo apt update; sudo apt install jenkins -y
$ sudo systemctl is-enabled jenkins.service
$ sudo systemctl status jenkins.service
Continue reading

OpenNMS network monitoring solution on Ubuntu 20.04

2020-07-17 System @JS

My test platform: Ubuntu Server 20.04

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

Docker and Docker Compose installation
$ sudo apt update; sudo apt upgrade -y
$ sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common tree -y
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
$ sudo apt install docker-ce docker-ce-cli containerd.io docker-compose -y
$ systemctl status docker
$ docker -v
$ docker-compose -v
$ mkdir -p projects/opennms
$ cd projects/opennms
$ touch docker-compose.yml
Continue reading

PostgreSQL and phpPgAdmin on Ubuntu 20.04

2020-07-17 System @JS

My test platform: Ubuntu Server 20.04

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

PostgreSQL and phpPgAdmin installation
$ sudo apt update; sudo apt upgrade -y
$ sudo apt install postgresql postgresql-contrib phppgadmin -y
$ systemctl start postgresql.service
$ systemctl enable postgresql.service
$ systemctl status postgresql.service
Continue reading

Gitea with sqlite3 on Ubuntu 20.04

2020-07-16 System Programing @JS

My test platform: Ubuntu Server 20.04

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

Gitea installation
$ sudo apt update; sudo apt upgrade -y
$ sudo apt install git wget tree sqlite3 -y
$ sudo adduser --system --shell /bin/bash --gecos 'User for Gitea' --group --disabled-password --home /home/gitea gitea
$ mkdir download; cd download
$ wget -O gitea https://dl.gitea.io/gitea/1.12.1/gitea-1.12.1-linux-amd64
$ chmod +x gitea
$ sudo mkdir -p /var/lib/gitea/{custom,data,log}
$ sudo chown -R gitea: /var/lib/gitea/
$ sudo chmod -R 750 /var/lib/gitea/
$ sudo mkdir /etc/gitea
$ sudo chown root:gitea /etc/gitea
$ sudo chmod 770 /etc/gitea
$ sudo cp gitea /usr/local/bin/gitea
Continue reading
Older posts