Ubuntu Wifi on Macbook Pro

Refer: https://askubuntu.com/questions/470153/no-wireless-when-install-14-04-on-macbook-pro

NOT TRIED

Please do:

sudo apt-get update
sudo apt-get install firmware-b43-installer
Reboot if it does not connect post a new file from the script.

No internet:

Download the b43updated.zip file to a usb flash drive then drag and drop the file to your ubuntu desktop. Right-click it and select Extract Here.

Open a terminal and do:

sudo mkdir /lib/firmware/b43
sudo cp Desktop/b43/* /lib/firmware/b43
sudo modprobe -rv b43
sudo modprobe -v b43
if it does not come on reboot.

Updating Bash profile on Amazon AWS Ubuntu Instance

It looks like we do not have customized .bashrc files on the AWS instance of Ubuntu.  Instead, you can create a customized script to setup your defaults.

Refer: https://serverfault.com/questions/491585/is-there-a-global-bash-profile-for-all-users-on-a-system
Refer: https://bash.cyberciti.biz/guide//etc/profile.d

sudo su -
nano /etc/profile.d/mlr.sh

Sample Content
PS1="\n# ${USER}@${HOSTNAME}\n# \${PWD}\n$ "
alias ll='ls -l' 2>/dev/null
alias l.='ls -d .*' 2>/dev/null

Updating Sublime / Installing Ubuntu 18.10

Running Sublime from the command line with:
$ subl

In Ubuntu 18.10 out of the box, it was necessary to install the following package because sublime would NOT start.

Refer: https://forum.sublimetext.com/t/solved-ubuntu-18-10-failure-to-launch/39926/3

$ sudo apt-get install libgtk2.0-0

It was throwing the following errors when trying to run the program:

$ /opt/sublime_text/sublime_text
Unable to load libgdk-x11-2.0.so
Unable to load gdk_cairo_create from libgdk-x11-2.0.so

Older Notes of Installation

Sublime was updated via the repository and then downloaded from the site itself.

Just download the file, become root and delete the existing files and copy over them here:

/opt/sublime_text

Getting Ubuntu 18.04 to work with Parallels

This has not been tried yet, but it looks promising:

Refer: https://gist.github.com/rudolfratusinski/a4d9e3caff11a4d9d81d2e84abc9afbf

Getting Shares to Work
sudo chmod +x /usr/bin/prlfsmountd

Tar the files
tar --exclude prl_mod.tar.gz -zcvf prl_mod.tar.gz .

Fix disk errors in Ubuntu 16.04

Refer: https://askubuntu.com/questions/953728/how-to-check-a-filesystem-in-ubuntu-16-04/953750

To check the file system on your Ubuntu partition...

  • boot to the GRUB menu
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • at the # prompt, type sudo fsck -f /
  • repeat the fsck command if there were errors
  • type reboot

If for some reason you can't do the above...

  • boot to a Ubuntu Live DVD/USB
  • start gparted and determine which /dev/sdaX is your Ubuntu EXT4 partition
  • quit gparted
  • open a terminal window
  • type sudo fsck -f /dev/sdaX # replacing X with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot

SSH returns: no matching host key type found. Their offer: ssh-dss (GoDaddy)

Ubuntu 16.04 has disabled ssh-dss, patch applied to ~/.ssh/config, to use

Call from command line
sshpass -p yourpassword ssh -oHostKeyAlgorithms=+ssh-dss username@yourdomain.com

Or Modify config file
-oHostKeyAlgorithms=+ssh-dss

config
Host your-godaddy-domain.com
User your-user-name
HostKeyAlgorithms=+ssh-dss
Port 22

Refer: https://askubuntu.com/questions/836048/ssh-returns-no-matching-host-key-type-found-their-offer-ssh-dss

Refer: http://www.openssh.com/legacy.html