User Tools

Site Tools


computing:linux

This is an old revision of the document!


  • Linux Basics
  • Jonathan Haack
  • Haack's Networking
  • 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://httpredir.debian.org/debian/ wheezy main contrib non-free

#I had to do the following - add jessie to apt-get - in order to get it to work despite the instructions

deb http://http.debian.net/debian/ jessie main contrib non-free

#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://wiki.debian.org/bcm43xx#supported-b43, or


#To install Google Chrome on Ubuntu and Linux:

#32-bit systems:

wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb sudo dpkg -i google-chrome-*.deb
sudo apt-get install -f

#For 64-bit systems:

wget -c wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-*.deb
sudo apt-get install -f

#Bootable USB sticks on Intel Macs. First, convert the .iso to udrw format. The destination and source info shall contain the appropriate directory /Directory/detsination.img

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 /dev/[identifier] 1 "Free Space" "unused" "100%"

#Copy the udrw to the flash drive with dd command:

dd if=[Directory/to/udrw/img] of=/dev/[identifier] bs=1m

#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 /etc/pam.d/common-password

#Prevent Log in - create file

/etc/nologin

#General lightrm dm settings here for user

cd /usr/share/lightdm/light.conf.d/

#Global lightdm settings here

cd /etc/lightdm/
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

#downloading scripts and installing scripts with wget from command line with piping, e.g., from DO.

curl -sSL https://agent.digitalocean.com/install.sh | sh

#check distro version debian systems

lsb_release -a

oemb1905 2017/05/28 16:52

computing/linux.1496087991.txt.gz · Last modified: 2018/11/25 01:33 (external edit)