Using Debian 7 (Wheezy)
Overview - Switch from Lubuntu to Debian
- GCS workstations removed from server room
- GCS VM host running Debian / VirtualBox available
HP envy LUG damaged in speed bump incident
- Debian 7 Administrator’s Handbook
Netinstall - then …
BASIC DEV. TOOLS: COMPILER,VIM,TMUX,GIT
Compiler and build tools
sudo apt-get install build-essential checkinstall libtool automake uuid-dev
vim (or vim-gtk),tmux,git
sudo apt-get install vim tmux git
git config --global user.name "Your Name Here" # Sets the default name for git to use when you commit git config --global user.email "email@example.com" # Sets the default email for git to use when you commit
Install the rsa public key on my github account
Then clone the vim config and install
cd git clone firstname.lastname@example.org:CootCraig/dotfiles_again.git cd ~/dotfiles_again/linux bash install.sh
Look at /home/craig/dotfiles_again/windows/vimfiles/bundle/Readme.txt for setting up the vim bundles.
arrange for mounting windows shares
apt-get install cifs-utils winbind
Add the shares to mount. Sample entry in /etc/fstab
//gcs3/f$/GIT /media/gcsgit cifs rw,noauto,credentials=/home/craig/gcsww_canderson.txt,uid=craig 0 0
Template credentials file
username=a_user password=a_password domain=gcsww
Java SE 8u20
Extracted jdk tar to /opt/java. Make external link.
/opt/java/jdk -> /opt/java/jdk1.8.0_20/
if [ "`id -u`" -eq 0 ]; then PATH="/opt/java/jdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" else PATH="/opt/java/jdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" fi
Unpacked to /opt/jruby. Make symbolic link:
/opt/ruby/jruby -> /opt/ruby/jruby-1.7.15/
Added /opt/ruby/jruby/bin to path in /etc/profile
vm guest use xorg dummy driver
sudo apt-get install xorg xfce4 gdm3 xfce4-goodies
Package: xserver-xorg-video-dummy (1:0.3.5-2 and others) X.Org X server – dummy display driver This package provides a ‘dummy’ display driver, which does not actually display anything.
HOWTO: headless, custom xorg resolution/modeline with vnc access to display 0 console http://ubuntuforums.org/showthread.php?t=1832456
(This HOWTO will cover different aspects you might not need all of this, but if you need a) a custom resolution b) setup headless access c) access to the console (display :0)remotely part of this may be useful to you.)
So this was going to be a question but it turned into a HOWTO after spending hours on this.
PROBLEM #1: I needed remote access to the console (display :0) of a server from a laptop because I needed to access the audio hardware (though I’m sure there are different reasons one needs access to :0) so nx, tightvnc, xvnc were all out. PROBLEM #2: The server had no monitor attached PROBLEM #3: I was connecting with a laptop that had a resolution of 1280x800 but of course windows (and other OSes) have a task bar, so the actually workable area is less than that. I needed a resolution of 1224x685 (not your typical resolution). PROBLEM #4: need the vnc server to start at boot to allow login from the server (no monitor).
1) Install x11vnc (this seems to be the only vnc server I found that allows console access, nomachine 4 (coming soon) and nomachine 3 have some form of ‘physical screen’ access, but I had a hard time with managing the audio hardware with that so I needed to use vnc.
Headless VNC-Server using xvfb http://gpio.kaltpost.de/?page_id=84
Xvfb on Debian 7 https://github.com/tansaku/LocalSupport/wiki/Xvfb-on-Debian-7
How to use RDP from Windows to connect to Debian or Ubuntu machine http://blog.technotesdesk.com/how-to-use-rdp-from-windows-to-connect-to-debian-or-ubuntu-machine/
Use xfce 4.10 on Debian 7
arandr to generate monitor set script
Windows netbios names
Virtual Box autostart guest