Skip to content

Instantly share code, notes, and snippets.

View hernad's full-sized avatar

Ernad Husremović hernad

View GitHub Profile
@hernad
hernad / enable_ses_on_amazon_linux.sh
Last active June 18, 2018 12:29 — forked from gene1wood/enable_ses_on_amazon_linux.sh
Steps to switch from sendmail to postfix on Amazon Linux and enable using SES
yum install postfix
alternatives --set mta /usr/sbin/sendmail.postfix
service sendmail stop
chkconfig sendmail off
# https://github.com/mozilla/identity-ops/blob/master/chef/cookbooks/persona-common/recipes/postfix.rb
HISTCONTROL=ignoreboth
USERNAME="usernamegoeshere"
PASSWORD="passwordgoeshere"
SMTP_HOST="email-smtp.eu-west-1.amazonaws.com"

Keybase proof

I hereby claim:

  • I am hernad on github.
  • I am hernad (https://keybase.io/hernad) on keybase.
  • I have a public key whose fingerprint is DAA2 50BD A39E 4449 BDE3 F8A3 40E1 A4FD E2C6 7C31

To claim this, I am signing this object:

@hernad
hernad / golang.md
Last active January 3, 2016 14:29
golang godev
@hernad
hernad / openshift_f20.md
Created December 29, 2013 14:07
openshift fedora 20

prerequisites

yum install ruby puppet httpd-tools ansible bash-completion

passwordless

ssh-copy-id root@192.168.45.130

install openshift

Fedora 19

mkdir /data
export image_name="OpenShiftOrigin"
image_path=/data/$image_name
qemu-img create "$image_path" 15G -f raw
parted "$image_path" mklabel msdos
parted --align optimal "$image_path" mkpart primary ext4 1M 15G
mkfs.ext4 -F "$image_path"

ssh

yum -y install openssh-server openssh-clients
chkconfig sshd on
service sshd start

puppet 3.4.1

ibm uxspi

UpdateXpress System Pack Installer

yum install gtk2.i686

Update:

  • IMM2 .. 3.10
  • UEFI Flash update ... 1.50
  • Dynamic System Update ... 9.41

vlc

su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
@hernad
hernad / uefi.md
Created December 10, 2013 07:19
uefi

bringout@ubuntu:~$ sudo efibootmgr -c -g -d /dev/sda -p 1 -w -L "Fedora 19" -l /EFI/f19/grubx64.efi

BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0007,0001,0008,0006,2001,0002,0003,0004,0000,2002,2003
Boot0000* Network
Boot0001* Fedora
Boot0002* Hard Drive
Boot0003* USB Storage Device
Boot0004* CD/DVD/CD-RW Drive