Skip to content

Useful Ubuntu Things

Prefer IPv4 over IPv6

sed -i 's/#precedence ::ffff:0:0/96  100/precedence ::ffff:0:0/96  100/' /etc/gai.conf

Install Hyper-V Integration Tools

apt-get update && apt-get -y install linux-tools-virtual linux-cloud-tools-virtual

Install a Trusted Root CA named “CERTNAME”

vi /usr/local/share/ca-certificates/CERTNAME.crt
update-ca-certificates

Always Map an SMB share

apt-get install cifs-utils
mkdir /media/FOLDERNAME
vi ~/.smbcredentials
    username=user
    password=password
chmod 600 ~/.smbcredentials
vi /etc/fstab
    //server/share /media/FOLDERNAME cifs credentials=/home/user/.smbcredentials,iocharset=utf8,sec=ntlm 0 0

mount -a

Install BitTorrent Sync

sudo add-apt-repository ppa:tuxpoldo/btsync
apt-get update
apt-get -y install btsync

Test Read/Write Speeds

dd if=/dev/zero of=/media/my-usb-disk/speed-test-file bs=100K count=1k
dd if=/media/my-usb-disk/speed-test-file of=/dev/null bs=100K count=1k
rm /media/my-usb-disk/speed-test-file
Published inTech

2 Comments

  1. Hi. Chase!

    Thanks a lot for share your knowledge.

    I need one help. Please how to enable numlock on boot on Ubuntu Server without gui?

    Thanks a lot?

Leave a Reply

Your email address will not be published. Required fields are marked *