Difference between revisions of "Desktop Setup"

From Vlsiwiki
Jump to: navigation, search
(CentOS 5.2)
(CentOS 5.2)
Line 10: Line 10:
 
  Install the 64bit packages selecting development and latex packages.
 
  Install the 64bit packages selecting development and latex packages.
  
# Update the yum repository
+
* Update the yum repository
  
 
  scp mada0:/etc/yum.repost.d/Ruby-Media.repo /etc/yum.repos.d/
 
  scp mada0:/etc/yum.repost.d/Ruby-Media.repo /etc/yum.repos.d/
 
  scp mada0:/etc/yum.repost.d/Rlang.repo /etc/yum.repos.d/
 
  scp mada0:/etc/yum.repost.d/Rlang.repo /etc/yum.repos.d/
  
# Update distribution
+
* Update distribution
  
 
  yum update -y
 
  yum update -y
  
# Several packages
+
* Several packages
  
 
  yum install -y R
 
  yum install -y R
 +
yum install -y compat-db compat-db compat-gcc-34 compat-gcc-34-c++ compat-gcc-34-g77 compat-glibc compat-glibc compat-glibc-headers compat-libf2c-34 compat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 compat-libstdc++-33 compat-readline43
 +
 +
* Ruby packages
  
 
  yum install -y eruby eruby-devel eruby-libs ruby ruby-devel ruby-docs ruby-irb ruby-libs ruby-mode ruby-racc ruby-rdoc ruby-ri ruby-tcltk rubygem-rake rubygems subversion-ruby
 
  yum install -y eruby eruby-devel eruby-libs ruby ruby-devel ruby-docs ruby-irb ruby-libs ruby-mode ruby-racc ruby-rdoc ruby-ri ruby-tcltk rubygem-rake rubygems subversion-ruby
  
  yum install -y compat-db compat-db compat-gcc-34 compat-gcc-34-c++ compat-gcc-34-g77 compat-glibc compat-glibc compat-glibc-headers compat-libf2c-34 compat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 compat-libstdc++-33 compat-readline43
+
  gem install --remote rspec ruby-vpi
 +
gem install rake rcov ruby-prof
  
# Setup IP tables
+
* Setup IP tables
  
 
  scp mada0:/mada/server/setup/setup/iptables /etc/sysconfig/iptables
 
  scp mada0:/mada/server/setup/setup/iptables /etc/sysconfig/iptables
  
# Setup services correctly
+
* Setup services correctly
  
 
  yum install -y chkconfig
 
  yum install -y chkconfig
Line 43: Line 47:
 
  for a in `grep "5:off" setup.serv | cut -d0 -f1`; do chkconfig --level 5 $a off; done
 
  for a in `grep "5:off" setup.serv | cut -d0 -f1`; do chkconfig --level 5 $a off; done
  
# Setup automount
+
* Setup automount
  
 
  mkdir /mada
 
  mkdir /mada
 
  unalias cp
 
  unalias cp
  cp -f mascd1:/etc/auto.master mascd1:/etc/auto.mada /etc/
+
  scp -f mascd1:/etc/auto.master mascd1:/etc/auto.mada /etc/
 
  service autofs restart
 
  service autofs restart
 +
 +
* LDAP setup
 +
scp mada1:/etc/ldap.conf /etc/
 +
scp mada1:/etc/nsswitch.conf /etc
 +
scp -r mada1:/etc/openldap/ldap.conf /etc/openldap/
 +
scp -r mada1:/etc/openldap/cacerts/cert8.pem /etc/openldap/cacerts/
  
 
===Ubuntu===
 
===Ubuntu===

Revision as of 22:34, 21 February 2009

Distribution Setup

We support three main Linux distributions (CentOS, Fedora, ubuntu), but you need to maintain some security configuration and packages.

CentOS 5.2

Install the 64bit packages selecting development and latex packages.
  • Update the yum repository
scp mada0:/etc/yum.repost.d/Ruby-Media.repo /etc/yum.repos.d/
scp mada0:/etc/yum.repost.d/Rlang.repo /etc/yum.repos.d/
  • Update distribution
yum update -y
  • Several packages
yum install -y R
yum install -y compat-db compat-db compat-gcc-34 compat-gcc-34-c++ compat-gcc-34-g77 compat-glibc compat-glibc compat-glibc-headers compat-libf2c-34 compat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 compat-libstdc++-33 compat-readline43
  • Ruby packages
yum install -y eruby eruby-devel eruby-libs ruby ruby-devel ruby-docs ruby-irb ruby-libs ruby-mode ruby-racc ruby-rdoc ruby-ri ruby-tcltk rubygem-rake rubygems subversion-ruby
gem install --remote rspec ruby-vpi 
gem install rake rcov ruby-prof
  • Setup IP tables
scp mada0:/mada/server/setup/setup/iptables /etc/sysconfig/iptables
  • Setup services correctly
yum install -y chkconfig
scp mada0:/mada/server/setup/setup/setup.serv /root/setup.serv
for a in `grep "3:on" setup.serv  | cut -d0 -f1`; do chkconfig --level 3 $a on;  done
for a in `grep "3:off" setup.serv | cut -d0 -f1`; do chkconfig --level 3 $a off; done
for a in `grep "4:on" setup.serv  | cut -d0 -f1`; do chkconfig --level 4 $a on;  done
for a in `grep "4:off" setup.serv | cut -d0 -f1`; do chkconfig --level 4 $a off; done
for a in `grep "5:on" setup.serv  | cut -d0 -f1`; do chkconfig --level 5 $a on;  done
for a in `grep "5:off" setup.serv | cut -d0 -f1`; do chkconfig --level 5 $a off; done
  • Setup automount
mkdir /mada
unalias cp
scp -f mascd1:/etc/auto.master mascd1:/etc/auto.mada /etc/
service autofs restart
  • LDAP setup
scp mada1:/etc/ldap.conf /etc/
scp mada1:/etc/nsswitch.conf /etc
scp -r mada1:/etc/openldap/ldap.conf /etc/openldap/
scp -r mada1:/etc/openldap/cacerts/cert8.pem /etc/openldap/cacerts/

Ubuntu

Fedora

Minimum Packages Required

By default, install the development packages.

In addition, for fedora,centos,RHEL use "yum install <packages>" (for ubuntu use apt-get <packages>) to install the following packages:

Editing

aspell-en emacs openoffice firefox 

Mathematics

R blas-devel gnuplot 

Development

PyQt ant bison boost-devel ctags cscope cvs doxygen 
eruby-devel gcc gcc-c++ gcc-gfortran gcc-java fftw-devel ruby ruby-devel rubygems
vim-enhanced valgrind python-devel m4 flex bison cmake qt4

Graphics

opencv SDL-devel cairo-devel 

Compatiblity (Install most of the compatibility libraries)

compat-db compat-gcc-34 compat-gcc-34-c++ compat-gcc-34-g77 
compat-glibc compat-glibc compat-glibc-headers compat-libf2c-34 
compat-libf2c-34 compat-libgcc-296 compat-libstdc++-296 
compat-libstdc++-33 compat-libstdc++-33

IO

usbutils