lxc remote add --protocol simplestreams ubuntu-minimal https://cloud-images.ubuntu.com/minimal/releases/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$driveLetter = "X" | |
$networkPath = "\\172.16.33.8\mnt\lustre\coe-lstr\home\acdalagan" | |
$folderName = "acdalagan" | |
function Rename-NetworkDrive { | |
param ( | |
[string]$driveLetter, | |
[string]$newName | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Motion-activated Switch | |
description: Turn on a switch when motion is detected. | |
domain: automation | |
input: | |
motion_entity: | |
name: Motion Sensor | |
selector: | |
entity: | |
domain: binary_sensor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server_connect_timeout: 5000 | |
remote_ping_cache: -1 | |
forge_support: true | |
player_limit: -1 | |
permissions: | |
default: | |
- bungeecord.command.server | |
- bungeecord.command.list | |
admin: | |
- bungeecord.command.alert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Unbound configuration file for Debian. | |
# See the unbound.conf(5) man page. | |
# See /usr/share/doc/unbound/examples/unbound.conf for a commented | |
# reference config file. | |
server: | |
# The following line will configure unbound to perform cryptographic | |
# DNSSEC validation using the root trust anchor. | |
auto-trust-anchor-file: "/var/lib/unbound/root.key" | |
server: |
##Installation
Build XMRig according to build instructions: https://github.com/xmrig/xmrig/wiki/Ubuntu-Build
Copy the respective service files to /etc/systemd/system/
Reload the systemd daemon:
# systemctl daemon-reload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On the host | |
============= | |
lxc profile set default raw.lxc 'lxc.cgroup.devices.allow = c 10:200 rwm' | |
lxc profile device add default tun unix-char path=/dev/net/tun | |
# In the container | |
================== | |
1. mknod /dev/net/tun c 10 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create the network config | |
vi network-config.yml | |
version: 1 | |
config: | |
- type: physical | |
name: eth0 | |
subnets: | |
- type: static | |
ipv4: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------# | |
# OFFICIAL UBUNTU REPOS # | |
#------------------------------------------------------------------------------# | |
###### Ubuntu Main Repos | |
deb http://ph.archive.ubuntu.com/ubuntu/ artful main restricted universe multiverse | |
deb-src http://ph.archive.ubuntu.com/ubuntu/ artful main restricted universe multiverse | |
###### Ubuntu Update Repos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get update | |
apt-get install -y software-properties-common | |
apt-get install -y python-virtualenv python-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev libjpeg-dev libpq-dev libgdal-dev git default-jdk | |
apt-get install -y build-essential openssh-server gettext nano vim unzip zip patch git-core postfix | |
apt-add-repository -y ppa:webupd8team/java | |
apt-get update | |
apt-get install -y oracle-java8-installer | |
apt-add-repository -y ppa:ubuntugis && apt-get update && apt-get upgrade | |
apt-add-repository -y ppa:ubuntugis/ppa && apt-get update && apt-get upgrade |
NewerOlder