Skip to content

Instantly share code, notes, and snippets.

View roysbike's full-sized avatar

roysbike

  • Russia, Belgorod
View GitHub Profile
@roysbike
roysbike / icecast.service
Created March 30, 2018 06:58 — forked from libraplanet/icecast.service
icecast.service
[Unit]
Description=Icecast2 service
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/icecast -c /etc/icecast.xml
ExecReload=/bin/kill -HUP $MAINPID
User=icecast
Group=icecast
@roysbike
roysbike / jboss_apache.md
Created January 16, 2018 11:14 — forked from slok/jboss_apache.md
Setup for jboss 7 with apache and mod_cluster in ubuntu 11.10

Preparing Jboss environment

Create Jboss user and group

Create a group for a system user (daemnos and program users like www-data, mysql...)

# addgroup --system jboss

Create a user (system user, without home -> See below the command, to the jboss group and no login shell)

@roysbike
roysbike / install-dsm-6-on-proxmox-5.md
Created January 10, 2018 19:27 — forked from Neonox31/install-dsm-6-on-proxmox-5.md
Install DSM 6.X on Proxmox 5.0.X

DRAFT

Prerequisites

Procedure

  • Create the proxmox VM as the following :
  • OS Type : Linux 4.x
@roysbike
roysbike / wildfly-install.sh
Last active November 30, 2017 22:44
Script to install JBoss Wildfly 10.x as service in Linux
#!/bin/bash
#title :wildfly-install.sh
#description :The script to install Wildfly 11.x
#date :2016-06-18T02:45-0700
#usage :/bin/bash wildfly-install.sh
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22
#tested-version2 :11.0.0.Final
#tested-distros2 :Debian 8
WILDFLY_VERSION=11.0.0.Final
@roysbike
roysbike / configure-cameras.sh
Created April 20, 2017 14:57 — forked from samdbmg/configure-cameras.sh
Configure multiple GoPro Hero4's over wifi (for 360 balls etc)
#!/bin/bash
# Requires goproctl from https://github.com/joshvillbrandt/goprohero
# Expects ssid and password as arguments
# Settings from https://github.com/KonradIT/goprowifihack/blob/master/HERO4/WifiCommands.md
function set_camera {
if [ -e /tmp/gperr ];
then
rm /tmp/gperr
fi