This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:linux [2017/06/14 02:49] – oemb1905 | computing:linux [2017/10/14 01:14] (current) – removed oemb1905 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | * Linux Basics | ||
| - | * Jonathan Haack | ||
| - | * Haack' | ||
| - | * netcmnd@jonathanhaack.com | ||
| - | ------------------------------------------- | ||
| - | |||
| - | #Debian and Ubuntu | ||
| - | |||
| - | cd /etc/apt | ||
| - | nano sources.lsit | ||
| - | |||
| - | #Add this line to the file at the top and save changes via nano | ||
| - | |||
| - | deb http:// | ||
| - | |||
| - | #I had to do the following - add jessie to apt-get - in order to get it to work despite the instructions | ||
| - | |||
| - | deb http:// | ||
| - | |||
| - | #Then, re-run apt-get to get these packages, then get the cutter | ||
| - | |||
| - | apt-get update | ||
| - | apt-get install firmware-b43-installer | ||
| - | |||
| - | #or ... it may be an older model, so use | ||
| - | |||
| - | apt-get install firmware-b43-lpphy-installer | ||
| - | apt-get install firmware-b43legacy-installer | ||
| - | |||
| - | #to know which one, go to https:// | ||
| - | |||
| - | ---- | ||
| - | |||
| - | #To install Google Chrome on Ubuntu and Linux: | ||
| - | |||
| - | #32-bit systems: | ||
| - | |||
| - | wget -c https:// | ||
| - | sudo apt-get install -f | ||
| - | |||
| - | #For 64-bit systems: | ||
| - | |||
| - | wget -c wget https:// | ||
| - | sudo dpkg -i google-chrome-*.deb | ||
| - | sudo apt-get install -f | ||
| - | |||
| - | ---- | ||
| - | |||
| - | #Bootable USB sticks on Intel Macs. First, convert the .iso to udrw format. | ||
| - | |||
| - | hdiutil convert -format UDRW -o destination_file.img source_file.iso | ||
| - | | ||
| - | #Next, prepare the usb disk. Obtain disk identifier. | ||
| - | |||
| - | diskutil list | ||
| - | | ||
| - | #Prepare volume | ||
| - | |||
| - | diskutil partitionDisk / | ||
| - | |||
| - | #Copy the udrw to the flash drive with dd command: | ||
| - | |||
| - | dd if=[Directory/ | ||
| - | |||
| - | #Eject disk | ||
| - | |||
| - | diskutil eject /dev/disk2 | ||
| - | | ||
| - | #Plug into the Intel Mac, hold option while booting, select volume. | ||
| - | |||
| - | #burning CD command | ||
| - | |||
| - | cdrecord -pad -dao -data blag-140k-i686.iso | ||
| - | | ||
| - | #Linux password policy commmands | ||
| - | |||
| - | sudo nano / | ||
| - | |||
| - | #Prevent Log in - create file | ||
| - | |||
| - | / | ||
| - | | ||
| - | #General lightrm dm settings here for user | ||
| - | |||
| - | cd / | ||
| - | | ||
| - | #Global lightdm settings here | ||
| - | |||
| - | cd / | ||
| - | sudo nano lightdm.conf | ||
| - | | ||
| - | #The .conf file should have the following for no guests and no named users and should have the following options: | ||
| - | |||
| - | [SeatDefaults] | ||
| - | allow-guest=false | ||
| - | greeter-hide-users=true | ||
| - | |||
| - | # | ||
| - | |||
| - | curl -sSL https:// | ||
| - | |||
| - | #check distro version debian systems | ||
| - | |||
| - | lsb_release -a | ||
| - | |||
| - | # | ||
| - | |||
| - | ./ngrok http 80 | ||
| - | wget https:// | ||
| - | cat ~/ | ||
| - | |||
| - | #query hosts on the lan | ||
| - | |||
| - | avahi-browse -tl _workstation._tcp | ||
| - | |||
| - | # | ||
| - | | ||
| - | sudo apt install mate-tweak | ||
| - | cd / | ||
| - | sudo nano sources.list | ||
| - | <add contrib non-free to default debian repositories> | ||
| - | sudo apt update | ||
| - | sudo apt upgrade | ||
| - | sudo reboot | ||
| - | <upon reboot, begin the harvesting of ubuntu-MATE themes> | ||
| - | cd / | ||
| - | sudo nano sources.list | ||
| - | <in the config file you just opened add the two repos below - no braces!> | ||
| - | <deb http:// | ||
| - | <deb http:// | ||
| - | sudo apt update | ||
| - | sudo apt install ubuntu-keyring-archive | ||
| - | sudo apt update | ||
| - | sudo apt install ubuntu-mate* | ||
| - | < | ||
| - | sudo apt autoremove | ||
| - | cd / | ||
| - | sudo nano sources.list | ||
| - | <change the config file and comment out ubuntu repositories> | ||
| - | <#deb http:// | ||
| - | <#deb http:// | ||
| - | sudo apt update | ||
| - | sudo apt autoremove | ||
| - | sudo apt update | ||
| - | sudo apt upgrade | ||
| - | sudo reboot | ||
| - | <there could / will be problems when you attempt to sudo apt update - if so> | ||
| - | sudo apt update --fix-missing <may need to run with and without ubuntu repos> | ||
| - | sudo dpkg --reconfigure -a | ||
| - | <there may also be a file in var that needs removed - be careful> | ||
| - | rm -rf / | ||
| - | | ||
| - | |||
| - | #next ... ? | ||
| - | |||
| - | --- // | ||