[ Back ] [ UNIX admin references ] [ elt156xl admin (private) ]
Download the Scientific Linux 6.4 x86_64 'Install-DVD.iso' image from
http://ftp1.scientificlinux.org/linux/scientific/6.4/x86_64/iso/
Setup the 500GB HD as follows:
/dev/sda1
⇒ 50 GB primary partition for /
/dev/sda2
⇒ 2 GB primary partition for the Linux swap/dev/sda3
⇒ 50 GB primary partition for /users
/dev/sda4
⇒ the remaining free space (~400 GB) for /data
http://oldsite.to.infn.it/groups/group4/mirror/linux/AppuntiLinux/AL-6.19.86.html
The NFS filesystem support must be enabled. Check if
cat /proc/filesystems | grep nfs
returns nodev nfs
. By default the NFS support might be disabled.
To load the NFS kernel module run as root:
#/sbin/modprobe nfs
Once NFS is enables you can mount remote host directories specified in the
server /etc/exports
configuration file with the mount
command.
# mount -t nfs hostname:/path/to/shared/directory /local/mount/point
sudo yum install xorg-x11-font*
sudo yum install gconf-editor
Applications ⇒ System Tools ⇒ Configuration Editor ⇒ always_use_browser
in /apps/nautilus/preferences
.
yum install kdegraphics
sudo yum install kernel-devel wget http://download.virtualbox.org/virtualbox/4.2.16/VirtualBox-4.2.16-86992-Linux_x86.run sudo sh VirtualBox-4.2.16-86992-Linux_x86.run
cd /media/VBOXADDITIONS_4.x.y sudo sh VBoxLinuxAdditions.run
http://community.skype.com/t5/Linux/CentOS-RHEL-6-Skype-4-2-RPM-Installation-Steps/td-p/1740485
# yum install http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # wget http://www.bromosapien.net:8080/others/skype-4.2.0.11-4.el6.i686.rpm # yum install skype-4.2.0.11-4.el6.i686.rpm
/usr/bin/skype
yum install libreoffice
mkdir ~/local
setenv PREFIX $HOME/local
Binutils
cd ~/local/sources wget http://ftp.gnu.org/gnu/binutils/binutils-2.23.tar.gz tar -xzf binutils-2.23.tar.gz mkdir binutils.build cd binutils.build ../binutils-2.23/configure --help >> configure.help ../binutils-2.23/configure [options...] [VAR=value...] && make && make install
../binutils-2.23/configure --prefix=$PREFIX make && make install
GCC
cd ~/local/sources mkdir gcc cd gcc wget http://ftp.sunet.se/pub/gnu/gcc/infrastructure/gmp-4.3.2.tar.bz2 wget http://ftp.sunet.se/pub/gnu/gcc/infrastructure/mpc-0.8.1.tar.gz wget http://ftp.sunet.se/pub/gnu/gcc/infrastructure/mpfr-2.4.2.tar.bz2
wget ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.6.1/gcc-core-4.6.1.tar.gz wget ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.6.1/gcc-g++-4.6.1.tar.gz
mv gmp-4.3.2 gcc-4.6.1/gmp mv mpc-0.8.1 gcc-4.6.1/mpc mv mpfr-2.4.2 gcc-4.6.1/mpfr
mkdir gcc.build cd gcc.build ../gcc-4.8.1/configure [options] && make && make install
../gcc-4.8.1/configure --help >> configure.help
../gcc-4.8.1/configure --prefix=$PREFIX --disable-multilib --enable-languages='c c++'
I sorgenti li scarico da pkgs.org. Occorre soddisfare la dipendenza con xproto, perche' mancano gli header files.
cd ~/local/sources mkdir xproto cd xproto wget http://vault.centos.org/6.4/os/Source/SPackages/xorg-x11-proto-devel-7.6-25.el6.src.rpm rpm2cpio xorg-x11-proto-devel-7.6-25.el6.src.rpm |cpio -idmv tar -xjf xproto-7.0.23.tar.bz2 mkdir xproto.build cd xproto.build ../xproto-7.0.23/configure --help
cd ~/local/sources mkdir libX11-devel cd libX11-devel wget http://vault.centos.org/6.4/os/Source/SPackages/libX11-1.5.0-4.el6.src.rpm rpm2cpio libX11-1.5.0-4.el6.src.rpm | cpio -idmv rm libX11-1.5.0-4.el6.src.rpm tar -xjf libX11-1.5.0.tar.bz2
Se uso il tar.gz non devo fare nulla di particolare. Scaricare con wget
oppure ftp
da
http://www.nomachine.com/download.php
la versione .tar.gz per Linux ed estrarla in /usr/
sulla propria macchina oppure
in $HOME/local/opt
se non si hanno privilegi di admin.
cd $HOME/local/opt wget http://web04.nomachine.com/download/3.5.0/Linux/nxclient-3.5.0-7.i386.tar.gz tar -xvzf nxclient-3.5.0-7.i386.tar.gz
Per x86_64 usare invece
wget http://web04.nomachine.com/download/3.5.0/Linux/nxclient-3.5.0-7.x86_64.tar.gz
Gli eseguibili sono poi in NX/bin
, se la si estrae in /usr
sono gia' nel search path,
altrimenti bisogna aggiungere $HOME/local/opt/NX
al search path.
Per SICUREZZA esportare il path solo per quella data sessione!!! Evitare di mandare in segmentation fault la shell con il cshrc !!!!
setenv PATH $HOME/local/opt/NX/bin:$PATH which nxclient /<user home>/local/opt/NX/bin/nxclient
Per disinstallare il programma sara' poi sufficiente cancellare la directory NX/
,
sudo rm -rf /usr/NX (se ho admin privileges) rm -rf $HOME/local/opt/NX
Per la documentazione vedere