Laysan: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
mNo edit summary
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
Laysan is my current desktop computer.  
Laysan WAS my current desktop computer. I just ordered parts for a new one.
It will be called [[Murre]].


This is by far the fastest (and quietest) computer I have ever used or owned.
I originally intended to build a server, circumstances caused it to become a desktop.
The server ended up being built later; see [[Dart]].  


I had intended to build a server, then it got turned into my desktop instead.
The concept for this machine is to try to keep the operating system relatively stripped down and generic and to use [[Docker]] and Virtualbox.
The server ended up being built later. See [[Bringing up dart|server]]  
[[Vagrant]] for testing and development (here on Laysan and on [[Plover]]) or just day-to-day work on [[VirtualBox]] on Linux or [[Parallels]] on the Macs.
 
Ubuntu is on an SSD /dev/sda. Virtual machines are on /dev/sdb (another SSD) and backed up to a spinning hard drive.
In virtual machines I install whatever I need to get the job done - Debian or Windows or whatever.
 
With Windows I use VirtualBox because it stays around permanently.
For some services (like TimeMachine) I use Docker containers. I use Vagrant (with VirtualBox) for quick testing set ups.
 
I had Windows 8.1 installed on a separate hard drive and dual-booted to use ArcGIS. During the big move back to California I ended up using my Mac [[Plover]] as my ArcGIS workstation. That worked so well that it continues to stick that way. The Windows 8.1 drive was useless to me, especially since when booted into Windows I could not touch the many gigabytes of data stored in the Linux filesystems.
 
Now I have  Windows 10 in a VirtualBox just so I can run ArcGIS Pro. I give it 4 cores and 4 GB of RAM.


== Hardware ==
== Hardware ==


Motherboard: [http://www.newegg.com/Product/Product.aspx?Item=N82E16813131720 ASUS P8B-M LGA 1155 Intel C204 Micro ATX] Server Motherboard
Motherboard: [https://www.asus.com/Commercial-Servers-Workstations/P8BM/ ASUS P8B-M LGA 1155 Intel C204 Micro ATX] Server Motherboard
 
CPU: [http://www.newegg.com/Product/Product.aspx?Item=N82E16819115083 Intel Xeon E3-1230 Sandy Bridge 3.2GHz LGA 1155 80W Quad-Core Server Processor BX80623E31230]; hyperthreading makes it appear as 8 cores under Linux.
 
RAM: 16GB (4GB x 4, all slots are full.) [http://www.newegg.com/Product/Product.aspx?Item=N82E16820139262 Kingston 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1333 (PC3 10600) ECC Unbuffered Server Memory Model KVR1333D3E9SK2/8G]
 
=== Slots ===
 
{| border=1
| Slot Location 5 || PCI-E x8 (Gen2 X4 Link) || NVMe 500GB
|-
| Slot Location 6 || PCI-E x16 (Gen3 X16 Link) || PNY Quadro 2000D video card
|-
| Slot Location 7 || PCI-E x8 || empty
|-
| Slot Location 4 || PCI 32bit/33MHz || Osprey bT748 video capture card
|}


CPU: [http://www.newegg.com/Product/Product.aspx?Item=N82E16819115083 Intel Xeon E3-1230 Sandy Bridge 3.2GHz LGA 1155 80W Quad-Core Server Processor BX80623E31230]
=== Drives ===


RAM: 8GB x 2 [http://www.newegg.com/Product/Product.aspx?Item=N82E16820139262 Kingston 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1333 (PC3 10600) ECC Unbuffered Server Memory Model KVR1333D3E9SK2/8G]
I just started filling up the bays with drives one day...
I am adding a 500GB WDC Black NVMe tomorrow. I think it will be /volumes/ssd_machine
and the Samsung will replace the WDC Caviar drive as a GIS data drive. Home will probably fit on the NVMe.


Drives:
{|border=1
* /dev/sda Samsung 840 Pro 256GB
| /dev/sda || root || OCZ Vertex3 120GB || OCZ-670MWZY36F81947M
* /dev/sdb Data storage on a 2 TB WDC Caviar Black (SATA 2) WD2001FASS-0 SerialNo=WD-WMAY00310595
|-
| /dev/sdb || Samsung Evo 840 750GB || /volumes/ssd_machines || S1DMNEADA11042D (was 120GB Agility OCZ-369V7Q4MY957MSTA)
|-
| /dev/sdc || Seagate 3TB || /volumes/time_machine || ST3000DM008-2DM166, FwRev=CC26, SerialNo=Z50392VF
|-
| /dev/sdd || Seagate 3TB || part of time_machine || ST3000DM008-2DM166, FwRev=CC26, SerialNo=Z5039QJ5
|-
| /dev/sde || WDC Caviar Black 2TB '''(SATA 2)''' || /home || WD2001FASS-0 SerialNo=WD-WMAY00310595
|-
| || DVD burner: TSSTcorp CDDVDW SH-222BB
|}


Before 2014-Apr-26:
* /dev/sda Data storage on a 2 TB WDC Caviar Black (SATA 2) WD2001FASS-0 SerialNo=WD-WMAY00310595
* /dev/sdb Operating system and home directory on an OCZ Vertex 3 120GB SATA III] MLC (SSD) SerialNo=OCZ-670MWZY36F81947M


DVD burner: TSSTcorp CDDVDW SH-222BB
=== Display ===


Video: [http://www.newegg.com/Product/Product.aspx?Item=N82E16814133382 PNY VCQ2000D-PB Quadro 2000D 1GB 128-bit GDDR5 Workstation Video Card] I wanted a workstation video card, as I want to do some OpenGL programming, and I work with ArcGIS software.
Video: [http://www.newegg.com/Product/Product.aspx?Item=N82E16814133382 PNY VCQ2000D-PB Quadro 2000D 1GB 128-bit GDDR5 Workstation Video Card] I wanted a workstation video card, as I want to do some OpenGL programming, and I work with ArcGIS software.
This is the only component in this build that I would change; I would get a high end gaming board instead of a low end workstation board.
This is the only component in this build that I would change; I would try a high end gaming board instead of a low end workstation board.
 
Monitor: Acer 23" and Acer 20"


Monitor: Acer 23" and Starlogic 15" (in portrait mode).
=== Other ===


Keyboard: IBM PS/2 Model M SpaceSaver (built in 1987) and Apple Bluetooth Keyboard
Keyboard: IBM PS/2 Model M SpaceSaver (built in 1987) and Apple Bluetooth Keyboard
Line 33: Line 72:


Audio: This motherboard has no integrated audio so I use a  
Audio: This motherboard has no integrated audio so I use a  
NuForce UDAC 2 and  a pair of Acoustic Research powered speakers.
NuForce UDAC 2 and  a pair of Yamaha powered speakers.


Other: bT878 video capture card, an Osprey 210, see [[Digital Video]].
Other: bT878 video capture card, an Osprey 210, see [[Digital Video]].
Line 41: Line 80:
Power supply: [http://www.newegg.com/Product/Product.aspx?Item=N82E16817151096 SeaSonic S12II 620 Bronze 620W] ATX12V V2.3 / EPS 12V V2.91 80 PLUS BRONZE Certified Active PFC Power Supply
Power supply: [http://www.newegg.com/Product/Product.aspx?Item=N82E16817151096 SeaSonic S12II 620 Bronze 620W] ATX12V V2.3 / EPS 12V V2.91 80 PLUS BRONZE Certified Active PFC Power Supply


== Software ==
== History ==
 
2017-Jul-15 Replaced OCZ Agility with Samsung 840 Evo


=== Operating system ===
2017-Apr-26 Put gps and btrfs onto /dev/sdb1 and mounted it at /volumes/ssd_machines. Copied virtual machine 7_ESRI there. Installed virtualbox from apt. Purchased and installed Windows 10 and ArcGIS Pro.


2015-Mar-14 Upgraded from Ubuntu 13.04 to Xubuntu 14.10, then added Cinnamon
2017-Apr-25 Moved 3TB Seagates from Tern. Installed spare OCZ SSD. Installed btrfs-progs and docker. Pulled docker for Time Machine.


2014-Apr-26 Installed Windows 8.1 on Samsung drive. Hmmm, if I run Linux I can use a linux fs on the Black drive but if I boot into Windows, I can't.
2017-Apr-22 Upgraded to Ubunti 17.04 (Zesty)
I could add another hard drive but I packed them already for our big move.
 
2016-Nov-09 About a month ago I installed Debian on a 120GB SSD and moved the 750 into an enclosure; for some reason the UDAC2 stopped working. So I installed '''Ubuntu''', and ta-da! UDAC2 works. I never could figure out which version of VirtualBox to use with Linux Mint 18, so I picked Ubuntu as it is well supported.
 
2016-Jan-19 Installed Debian 8.2 on the 750GB SSD.
I also had to repartition the SSD to remove the Macintosh GPT partitioning. I booted in rescue mode then used "mktable" command in parted. I wrote an msdos mode table to the drive, rebooted and '''reinstalled'''. (grrr!) GPT has been a pain. Might be "better" on a Mac but does not work for me as a Linux boot drive. I think it's because I have not changed to using UEFI yet on Laysan.
 
2015-Mar-14 Upgraded from Ubuntu 13.04 to Xubuntu 14.10, then added Cinnamon. I keep trying it but I still hate Unity.
 
2014-Apr-26 Installed Windows 8.1 on Samsung drive. Hmmm, if I run Linux I can use a linux fs on the Black drive but if I boot into Windows, I can't. This is a serious deficiency and makes me only want to run Windows in a VM.


2013-Sep-10 Installed Ubuntu Raring 13.04 MY OH MY UNITY IS STILL AWFUL
2013-Sep-10 Installed Ubuntu Raring 13.04 MY OH MY UNITY IS STILL AWFUL
Line 56: Line 105:
Operating system is split between a 256GB SSD and a 2TB HD.
Operating system is split between a 256GB SSD and a 2TB HD.
I had a RAID 0 setup with 2 SSD's but the (considerable) speed bump was not worth the pain to configure and maintain it.
I had a RAID 0 setup with 2 SSD's but the (considerable) speed bump was not worth the pain to configure and maintain it.
=== Time machine for Mac backups ===
I stopped using the mini-itx system [[Tern]] for Time Machine backups and moved the drives into Laysan.
/dev/sdc1 and /dev/sdd1 are a btrfs RAID stripe. I mount /dev/sdc1 at /volumes/timemachine
See [[Netatalk 3 on Debian]] for information on installing and using TimeMachine in a Docker container.
=== Changes for SSD ===
The SSDs I have been buying lately seem to be pretty solid. I trust them more and am no longer afraid they will wear out before I upgrade them as prices continue to plummet.
Using btrfs is good because it knows about SSDs but the OS is still on EXT4.
I do a few tweaks that are not automatically done at install time to optimize the fact that I have
the operating system installed on an SSD and that I have a lot of RAM.


On RAM fs are /tmp, /var/tmp, /var/run, /var/lock
On RAM fs are /tmp, /var/tmp, /var/run, /var/lock


Since the system has 16GB of RAM I am not worried about swap space. I put it in a swapfile on the 1TB drive.
Since the system has 16GB of RAM I am not worried about swap space. I left it on the SSD in a 32 GB swap partition. I don't anticipate it will get used much but when/if it does kick in I want it to be as FAST possible. (I used to put a swapfile on the spinning hard drive. That was a bad idea.)


  echo vm.swappiness = 0 > /etc/sysctl.d/swappiness.conf
  echo vm.swappiness = 0 > /etc/sysctl.d/swappiness.conf


# Make a 4 GB swapfile
At the end of /etc/fstab
sudo dd if=/dev/zero of=/var/swapfile1 bs=1024 count=4096k
sudo mkswap /var/swapfile1
sudo chmod 0600 /var/swapfile1


'''cat /etc/fstab'''
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    nodev,noexec,nosuid 0      0
# / was on /dev/sdb1 during installation
UUID=b7dd27fe-b81f-42f7-9047-9c12c3225db7 /              ext4    errors=remount-ro 0      1
# /boot was on /dev/sda1 during installation
UUID=995d224f-c168-4b2f-824d-0992c39d9789 /boot          ext4    defaults        0      2
# /home was on /dev/sda2 during installation
UUID=a45024f6-04ae-4e20-985a-3a4ec03dcfdd /home          ext4    defaults        0      2
# /var was on /dev/sda3 during installation
UUID=afdab032-6ff9-4f6f-8cc4-ab94caf85efa /var            ext4    defaults        0      2
#
# swap on HD in file instead of partition
/var/swapfile1 none swap sw 0 0
#
  # Move things to RAM DISK for speed
  # Move things to RAM DISK for speed
  tmpfs /tmp    tmpfs defaults,noatime,mode=1777 0 0  
  tmpfs /tmp    tmpfs defaults,noatime,mode=1777 0 0  
  tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
  tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0


=== Drivers ===
TMP space is normally cleared on reboot anyway...


NVidia driver: This time around I successfully installed the driver directly from the Ubuntu Software Center.
=== NVIDIA driver ===
Much easier than downloading it from NVidia and installing manually.


Unfortunately it does not work in Makerbot Desktop. '''Updating drivers DID NOT HELP.'''
Unfortunately it does not work in Makerbot Desktop. I have to run Makerbot software in a VM now.


The Nvidia driver has always a problem for me. Choices are: repositories or Nvidia web site.
'''DO NOT ATTEMPT TO INSTALL DRIVER FROM Nvidia site'''. Instead follow instructions found here to get a version that is newer.
'''DO NOT ATTEMPT TO INSTALL DRIVER FROM Nvidia site'''. Instead follow instructions found here to get a version that is newer.
A couple years ago I tried the NVIDIA version (from nvidia.com). Cinnamon crashed. The monitor resolution for the 15" LCD was forced to 640x480. I could not force in the correct resolution.


http://ubuntuhandbook.org/index.php/2014/12/install-nvidia-340-65-ubuntu-1504/
For Debian Jessie -- https://wiki.debian.org/Multiarch/HOWTO
 
For Ubuntu -- http://ubuntuhandbook.org/index.php/2014/12/install-nvidia-340-65-ubuntu-1504/


  add-apt-repository -y ppa:xorg-edgers/ppa
  add-apt-repository -y ppa:xorg-edgers/ppa
  apt-get update
  apt-get update
  apt-get install nvidia-349
apt-cache search nvidia-
  apt-get install nvidia-''367''


As of 2015 April 09 Version 349 is a beta driver! More exciting. Oh go for it!
and then reboot.
I did 'apt-cache search nvidia' to find it.


I don't want to talk about what happened with the NVIDIA version (from nvidia.com). Well.
I did 'apt-cache search nvidia-' to find the versions available to install and just picked the highest number.
Cinnamon crashed. The monitor resolution for the 15" was forced to 640x480.
 
I could not force in the correct resolution.
=== Printer driver ===
 
The Brother is set up on [[Bellman]] with a raw queue, so I need to install the Brother PPD file on Laysan.
Download the Cupswrapper DEB file from Brother. http://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=hll2320d_us_as&os=128&dlid=dlf101909_000&flang=4&type3=561
 
Install it.
cd Downloads
sudo dpkg --install hll2320dcupswrapper-3.2.0-1.i386.deb
 
In printer control panel delete the local printer you just created, it's useless. Then add a network printer.
It should be visible in Network Printers as "bellman RAW queue" or some such.
Use the driver you just installed. It will appear in Brother list now.


=== Packages ===
=== Packages ===


wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
echo "deb http://download.virtualbox.org/virtualbox/debian zesty contrib" > /etc/apt/sources.list.d/virtualbox.list
  apt-get update
  apt-get update
apt-get dist-upgrade
  apt-get install -y emacs git \
apt-get remove empathy abiword
  apt-get install build-essential qgit subversion \
  emacs virtualbox nvidia-current \
   qgis gpsbabel-gui \
   qgis gpsbabel-gui \
   synaptic nautilus-dropbox \
   vagrant virtualbox dkms \
   pidgin python-xmpp \
  openscad \
   gimp inkscape libreoffice \
   openjdk-9-jdk \
   openscad
   owncloud-client \
   vlc openssh-server


Did not find these in 14.10
=== Cinnamon ===
  google-talkplugin google-chrome-stable \


Still don't like Unity - so currently I install Xubuntu and then put Cinnamon on top!
I had to adjust the Cinnamon theme settings to get it to look right, and I type in the command  
add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-nightly
cinnamon-settings to get at System Settings for Cinnamon. I added a theme by unzipping it in ~/.themes.
apt-get install cinnamon
 
I had to adjust the theme settings to get it to look right, and I had to type in the command  
cinnamon-settings to get at the control panel for Cinnamon. I added a theme by unzipping it in ~/.themes.
I am using Elune. I selected the Humanity (Ubuntu) icons.
I am using Elune. I selected the Humanity (Ubuntu) icons.


=== Extras ===
=== Extras ===


* Adobe Flash
These can't be installed from the Debian packages.
* Android SDK
 
* Eagle 6.5 ftp://ftp.cadsoft.de/eagle/program/latest/
* Eagle 6.5 ftp://ftp.cadsoft.de/eagle/program/latest/
* Komodo http://activestate.com
* Komodo http://activestate.com
* Makerware http://www.makerbot.com/support/new/Desktop/Using_MakerBot_Desktop/01-Getting_Started/How_to_Install_MakerBot_Desktop_for_Linux
* Makerware http://www.makerbot.com/support/new/Desktop/Using_MakerBot_Desktop/01-Getting_Started/How_to_Install_MakerBot_Desktop_for_Linux
* Microchip MplabX
* MySQL 5.7 (to get the new spatial extension)
* Oracle Java in /opt/oracle/
* Oracle Java in /opt/oracle/
* PostgreSQL
* Spark (XMPP client)

Latest revision as of 21:16, 11 September 2017

Laysan WAS my current desktop computer. I just ordered parts for a new one. It will be called Murre.

I originally intended to build a server, circumstances caused it to become a desktop. The server ended up being built later; see Dart.

The concept for this machine is to try to keep the operating system relatively stripped down and generic and to use Docker and Virtualbox. Vagrant for testing and development (here on Laysan and on Plover) or just day-to-day work on VirtualBox on Linux or Parallels on the Macs.

Ubuntu is on an SSD /dev/sda. Virtual machines are on /dev/sdb (another SSD) and backed up to a spinning hard drive. In virtual machines I install whatever I need to get the job done - Debian or Windows or whatever.

With Windows I use VirtualBox because it stays around permanently. For some services (like TimeMachine) I use Docker containers. I use Vagrant (with VirtualBox) for quick testing set ups.

I had Windows 8.1 installed on a separate hard drive and dual-booted to use ArcGIS. During the big move back to California I ended up using my Mac Plover as my ArcGIS workstation. That worked so well that it continues to stick that way. The Windows 8.1 drive was useless to me, especially since when booted into Windows I could not touch the many gigabytes of data stored in the Linux filesystems.

Now I have Windows 10 in a VirtualBox just so I can run ArcGIS Pro. I give it 4 cores and 4 GB of RAM.

Hardware

Motherboard: ASUS P8B-M LGA 1155 Intel C204 Micro ATX Server Motherboard

CPU: Intel Xeon E3-1230 Sandy Bridge 3.2GHz LGA 1155 80W Quad-Core Server Processor BX80623E31230; hyperthreading makes it appear as 8 cores under Linux.

RAM: 16GB (4GB x 4, all slots are full.) Kingston 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1333 (PC3 10600) ECC Unbuffered Server Memory Model KVR1333D3E9SK2/8G

Slots

Slot Location 5 PCI-E x8 (Gen2 X4 Link) NVMe 500GB
Slot Location 6 PCI-E x16 (Gen3 X16 Link) PNY Quadro 2000D video card
Slot Location 7 PCI-E x8 empty
Slot Location 4 PCI 32bit/33MHz Osprey bT748 video capture card

Drives

I just started filling up the bays with drives one day... I am adding a 500GB WDC Black NVMe tomorrow. I think it will be /volumes/ssd_machine and the Samsung will replace the WDC Caviar drive as a GIS data drive. Home will probably fit on the NVMe.

/dev/sda root OCZ Vertex3 120GB OCZ-670MWZY36F81947M
/dev/sdb Samsung Evo 840 750GB /volumes/ssd_machines S1DMNEADA11042D (was 120GB Agility OCZ-369V7Q4MY957MSTA)
/dev/sdc Seagate 3TB /volumes/time_machine ST3000DM008-2DM166, FwRev=CC26, SerialNo=Z50392VF
/dev/sdd Seagate 3TB part of time_machine ST3000DM008-2DM166, FwRev=CC26, SerialNo=Z5039QJ5
/dev/sde WDC Caviar Black 2TB (SATA 2) /home WD2001FASS-0 SerialNo=WD-WMAY00310595
DVD burner: TSSTcorp CDDVDW SH-222BB


Display

Video: PNY VCQ2000D-PB Quadro 2000D 1GB 128-bit GDDR5 Workstation Video Card I wanted a workstation video card, as I want to do some OpenGL programming, and I work with ArcGIS software. This is the only component in this build that I would change; I would try a high end gaming board instead of a low end workstation board.

Monitor: Acer 23" and Acer 20"

Other

Keyboard: IBM PS/2 Model M SpaceSaver (built in 1987) and Apple Bluetooth Keyboard Yes, 2 keyboards... one keyboard for BIOS and one for every day.

Audio: This motherboard has no integrated audio so I use a NuForce UDAC 2 and a pair of Yamaha powered speakers.

Other: bT878 video capture card, an Osprey 210, see Digital Video.

Case: Fractal Design Define Mini Black Micro ATX Silent PC Computer Case w/ USB 3.0 support and 2 x 120mm Fractal Design Silent Fans

Power supply: SeaSonic S12II 620 Bronze 620W ATX12V V2.3 / EPS 12V V2.91 80 PLUS BRONZE Certified Active PFC Power Supply

History

2017-Jul-15 Replaced OCZ Agility with Samsung 840 Evo

2017-Apr-26 Put gps and btrfs onto /dev/sdb1 and mounted it at /volumes/ssd_machines. Copied virtual machine 7_ESRI there. Installed virtualbox from apt. Purchased and installed Windows 10 and ArcGIS Pro.

2017-Apr-25 Moved 3TB Seagates from Tern. Installed spare OCZ SSD. Installed btrfs-progs and docker. Pulled docker for Time Machine.

2017-Apr-22 Upgraded to Ubunti 17.04 (Zesty)

2016-Nov-09 About a month ago I installed Debian on a 120GB SSD and moved the 750 into an enclosure; for some reason the UDAC2 stopped working. So I installed Ubuntu, and ta-da! UDAC2 works. I never could figure out which version of VirtualBox to use with Linux Mint 18, so I picked Ubuntu as it is well supported.

2016-Jan-19 Installed Debian 8.2 on the 750GB SSD. I also had to repartition the SSD to remove the Macintosh GPT partitioning. I booted in rescue mode then used "mktable" command in parted. I wrote an msdos mode table to the drive, rebooted and reinstalled. (grrr!) GPT has been a pain. Might be "better" on a Mac but does not work for me as a Linux boot drive. I think it's because I have not changed to using UEFI yet on Laysan.

2015-Mar-14 Upgraded from Ubuntu 13.04 to Xubuntu 14.10, then added Cinnamon. I keep trying it but I still hate Unity.

2014-Apr-26 Installed Windows 8.1 on Samsung drive. Hmmm, if I run Linux I can use a linux fs on the Black drive but if I boot into Windows, I can't. This is a serious deficiency and makes me only want to run Windows in a VM.

2013-Sep-10 Installed Ubuntu Raring 13.04 MY OH MY UNITY IS STILL AWFUL

up to Sept 9, it was Linux Mint 15, an excellent choice

Operating system is split between a 256GB SSD and a 2TB HD. I had a RAID 0 setup with 2 SSD's but the (considerable) speed bump was not worth the pain to configure and maintain it.

Time machine for Mac backups

I stopped using the mini-itx system Tern for Time Machine backups and moved the drives into Laysan.

/dev/sdc1 and /dev/sdd1 are a btrfs RAID stripe. I mount /dev/sdc1 at /volumes/timemachine See Netatalk 3 on Debian for information on installing and using TimeMachine in a Docker container.

Changes for SSD

The SSDs I have been buying lately seem to be pretty solid. I trust them more and am no longer afraid they will wear out before I upgrade them as prices continue to plummet.

Using btrfs is good because it knows about SSDs but the OS is still on EXT4. I do a few tweaks that are not automatically done at install time to optimize the fact that I have the operating system installed on an SSD and that I have a lot of RAM.

On RAM fs are /tmp, /var/tmp, /var/run, /var/lock

Since the system has 16GB of RAM I am not worried about swap space. I left it on the SSD in a 32 GB swap partition. I don't anticipate it will get used much but when/if it does kick in I want it to be as FAST possible. (I used to put a swapfile on the spinning hard drive. That was a bad idea.)

echo vm.swappiness = 0 > /etc/sysctl.d/swappiness.conf

At the end of /etc/fstab

# Move things to RAM DISK for speed
tmpfs /tmp     tmpfs defaults,noatime,mode=1777 0 0 
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0

TMP space is normally cleared on reboot anyway...

NVIDIA driver

Unfortunately it does not work in Makerbot Desktop. I have to run Makerbot software in a VM now.

The Nvidia driver has always a problem for me. Choices are: repositories or Nvidia web site. DO NOT ATTEMPT TO INSTALL DRIVER FROM Nvidia site. Instead follow instructions found here to get a version that is newer. A couple years ago I tried the NVIDIA version (from nvidia.com). Cinnamon crashed. The monitor resolution for the 15" LCD was forced to 640x480. I could not force in the correct resolution.

For Debian Jessie -- https://wiki.debian.org/Multiarch/HOWTO

For Ubuntu -- http://ubuntuhandbook.org/index.php/2014/12/install-nvidia-340-65-ubuntu-1504/

add-apt-repository -y ppa:xorg-edgers/ppa
apt-get update
apt-cache search nvidia-
apt-get install nvidia-367

and then reboot.

I did 'apt-cache search nvidia-' to find the versions available to install and just picked the highest number.

Printer driver

The Brother is set up on Bellman with a raw queue, so I need to install the Brother PPD file on Laysan. Download the Cupswrapper DEB file from Brother. http://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=hll2320d_us_as&os=128&dlid=dlf101909_000&flang=4&type3=561

Install it.

cd Downloads
sudo dpkg --install hll2320dcupswrapper-3.2.0-1.i386.deb

In printer control panel delete the local printer you just created, it's useless. Then add a network printer. It should be visible in Network Printers as "bellman RAW queue" or some such. Use the driver you just installed. It will appear in Brother list now.

Packages

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
echo "deb http://download.virtualbox.org/virtualbox/debian zesty contrib" > /etc/apt/sources.list.d/virtualbox.list
apt-get update
apt-get install -y emacs git \
 qgis gpsbabel-gui \
 vagrant virtualbox dkms \
 openscad \
 openjdk-9-jdk \
 owncloud-client \
 vlc openssh-server

Cinnamon

I had to adjust the Cinnamon theme settings to get it to look right, and I type in the command cinnamon-settings to get at System Settings for Cinnamon. I added a theme by unzipping it in ~/.themes. I am using Elune. I selected the Humanity (Ubuntu) icons.

Extras

These can't be installed from the Debian packages.