Instructions for a clean sweep install of the emc system under Ubuntu linux distro. Compiled by Lawrence Glaister 13 March 2005 with help from Paul C.|
My system consists of a 300mhz celeron laptop with 128mb of ram. (Toshiba Satellite 4030cdt) I would not recommend any slower or any less ram. If you are building a new box, try the BDI disk first... I could
not get BDI-4.20 to survive the install process on my laptop. My next choice would be a standard debian distro. I use ubuntu on all my other linux systems, so I had to see if I could get it running emc. This install used 1.6 out of 4gb disk space.
Make sure you are connected to the internet.... Ubuntu will update a lot of stuff (security updates and such)
during the installation dialogs.
Clock times were recorded periodically during the install so you can see what you are up against. With faster computers and disks, the time can be significantly faster.
- boot the ubuntu install cdrom
install ubuntu as usual from single disk distro
My answers to the install questions follow:
-language - english
-location - Canada
-keymap - American English
-hostname - emc
-partition method - erase entire disk
-save changes? - yes
Remove cdrom when requested... system will reboot,
-timezone - Pacific
-user name - Enhanced Machine Controller
-account name - emc
-password - something you can remember (enter it twice as requested)
Say yes to downloading updates from the internet (about 105mb today)
Major package setup will occur...
have a cup or 2 of coffee or go for dinner if you have a slow computer...
video setup will ask for resolutions to use...
1024x768, 800x600 and 640x480 should be checked.
Time to get your video set up in the resolution you want to use. (suggest 800x600 or 1024x768 16 bit colour.)
I could not get 1024x768 resolution from the auto detected options... lets fix that...
sudo gedit /etc/X11/XF86Config-4 and look for Section "Monitor", change the
horz to 25-64 and
vert to 40-70,
go to the section "Screen and change
default depth from 24. to 16.
I then had to go to the menu computer/system configuration/screen resolution and pick 1024x768. The screen was still gibbled on the right hand edge, but after a reboot the hardware got better (stopping and starting X did not help).
NOTE: The correct way to setup x in ubuntu is to run ...
dpkg-reconfigure xserver-xfree86 as root. To do this it seems you have to set
roots passwd by doing a
sudo passwd (set the root password)
then changing to root by doing
then reconfigure X (not for the faint of heart, LOTS of questions) by running
Dont go any further until your video issues are resolved. This maybe a simpler process on a desktop system... Laptops can be a pain.
Go to computer/desktop/preferences/screensaver and disable it. It seems using the default random screensaver setup will cause some lockup problems... I believe this is due to some of the opengl screen savers. You probably dont want the screen going blank in the middle of machine operations!.
in /etc/apt/sources.list add the lines:
deb http://solaris.cs.utt.ro/emc/debian/ sarge updates extras
deb http://mirrors.neuron.com/emc-bdi/apt sarge updates extras
sudo gedit /etc/apt/sources.list
also uncomment the 2 lines for universe so you have access to more packages
sudo apt-get update
sudo apt-get install emc
sudo apt-get install python2.3-axis
Configure sudo to allow the login usr (emc) to run various commands as root...
sudo vi /etc/sudo
change line near bottom to read:
reboot into the new real time kernel... 2.6.10.adeos should be auto selected by grub menu.
To run your emc
Or with your own custom ini file:
./generic.run -ini custom.ini
and we have plots... run programs/cds.ngc and open backplot view...
As of March 16/05 I have not suceeded in getting the the axis display to run. I was also unsuccessful in getting axis to build from source.
Update: as of 17Mar05 I suceeded in rebuilding a running version of emc from the bdi source branch (cvs) using the stock ubuntu distro tools. Paul has done an incredible job in making emc easier to use/build/install --- Hats off to da maaan!
[instructions to install emc2 on Ubuntu 5.10 or 6.06]|