-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ansible-desktop
provisions your Debian based development machine using ansible.
Read the Getting started guide for a quick introduction to how the project is structured and how to make your own customizations.
Below is information about specific customisations I have made to default key bindings etc.
Ubuntu is installed on an M.2 drive. The second SATA hardrive was unformatted.
"Disks" (gnome-disks) kept crashing, so I used gparted to partition the HD as ext4
.
- To find its UUID and mountpoint I used
sudo blkid
. - Create a directory to use as a mount point;
sudo mkdir /data
. - Manually mount, as a test, with
sudo mount /dev/sda1 /data
. - Then
chown -R kris:kris /data
so I could read/write files without being root. - This worked so I added an entry to
/etc/fstab
so the disk was automatically mounted at boot.
UUID=XXXX-XXXX-XXXX-XXXX /data ext4 defaults 0 0
I also moved some directories from home to the second drive and symlinked them back.
mv VirtualBox \ VMS /data
mv Downloads /data
ln -s /data/VirtualBox\ VMs ~/VirtualBox\ VMs
ln -s /data/Downloads ~/Downloads
- sudo service mysql stop
- sudo nvim /ect/mysql/mysql.conf.d/mysqld.cnf
- add skip-grant-tables
- sudo service mysql start
- mysql
- flush privileges;
- use mysql;
- update user set authentication_string=PASSWORD("") where User='root';
- update user set plugin="mysql_native_password"; # THIS LINE
- grant all privileges on . to root@localhost;
- flush privileges;
Getting Virtualbox to work took some extra steps, firstly Virtualbox requires kernel modules to be installed, which due to secure boot in ubuntu 16.04 required the modules to be manually signed first. Secondly I had to enable "Intel Virtualization Technology" within the BIOS.
I downloaded some Microsoft Virtual Machines to test Internet Explorer.