Run as root
layman -a unity-gentoo
layman -S
Then select the vivid
unity-gentoo profile:
#!/bin/ruby | |
###################################################### | |
# | |
# Author: Mark Hahl | |
# Email: mark@deviateit.net | |
# Version: 0.0.0 | |
# | |
# Firewall configuration script for gateway server, | |
# managing traffic and other rules. | |
# |
#!/bin/bash | |
#------------------------------------------ | |
# Init script for TDS. | |
# Author: Mark Hahl | |
# Date: 28-05-2014 | |
# Likley doesn't even work. | |
#------------------------------------------ | |
# We only have one instance running anyway. | |
# |
# From http://stackoverflow.com/questions/4120001/what-is-the-git-equivalent-for-revision-number | |
# $ git_rev | |
# 2:0f8e14e:20130220 | |
# | |
# commit_count:last_abbrev_commit:date_YYmmdd | |
# | |
git_rev () | |
{ | |
d=`date +%Y%m%d` |
#!/bin/sh | |
if [[ $# -eq 0 ]];then | |
print "Usage: ./mklst.sh [instance | --all]" | |
print "\t./mklst.sh intra" | |
exit 1 | |
fi | |
if [[ $1 == "--all" ]];then | |
for i in /opt/pdweb/www-* |
#!/bin/sh | |
# Usage: ./script.sh | sh | |
CWD=$(pwd) | |
BACKUPS="$CWD/backups" | |
LISTS="$CWD/lst" | |
echo "rm /tmp/msg__pdbackup.log" |
# Thanks to: | |
# http://broadcast.oreilly.com/2008/12/creating-custom-soap-requests.html | |
require 'net/http' | |
require 'net/https' | |
# Create te http object | |
http = Net::HTTP.new('rpc.geocoder.us', 80) | |
http.use_ssl = false | |
path = '/service/soap/' |
#!/bin/bash | |
iptables -F | |
iptables -X | |
iptables -t mangle -F | |
iptables -t mangle -X | |
iptables -t nat -F | |
iptables -t nat -X | |
iptables -P INPUT DROP |
yum install awesome xorg-x11-drv-nouveau xterm xorg-x11-drv-evdev xorg-x11-drv-keyboard xorg-x11-drv-mouse xorg-x11-fonts-100dpi xorg-x11-server-Xorg xorg-x11-server-common xorg-x11-server-utils xorg-x11-xauth xorg-x11-xinit dejavu-fonts-common dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts | |
# ----- | |
awesome | |
xorg-x11-drv-nouveau | |
xterm | |
xorg-x11-drv-evdev | |
xorg-x11-drv-keyboard |
#!/bin/bash | |
nmcli con add type vlan con-name "VLAN10 Managment" id 10 dev enp0s20f1 ip4 10.0.10.1/24 | |
nmcli con add type vlan con-name "VLAN20 Private" id 20 dev enp0s20f1 ip4 10.0.20.1/24 | |
nmcli con add type vlan con-name "VLAN30 Public" id 30 dev enp0s20f1 ip4 10.0.30.1/24 | |