https://coreos.com/docs/launching-containers/launching/getting-started-with-systemd/
http://www.freedesktop.org/software/systemd/man/systemd.unit.html
require 'thread' | |
require 'fileutils' | |
procs=8 | |
host="" | |
user="" | |
pass="" | |
db="" | |
path="" |
- Configurar o nome do sistema (hostname) | |
sudo hostnamectl set-hostname –static "lichti-note" | |
- Atualizando | |
sudo dnf update | |
- Instalar Fedy | |
sudo bash -c 'su -c "curl http://folkswithhats.org/fedy-installer -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"' | |
- Gnome Tweak Tool |
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
S3KEY="my aws key" | |
S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$1 |
http://www.howtoforge.com/linux_lvm_p2 http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html
apt-get install lvm2 dmsetup mdadm reiserfsprogs xfsprogs
vgcreate fileserver /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
vgdisplay
alias rsync-copy="rsync -avz --progress -h"
alias rsync-move="rsync -avz --progress -h --remove-source-files"
alias rsync-update="rsync -avzu --progress -h"
alias rsync-synchronize="rsync -avzu --delete --progress -h"