Additional Installations
All
required packages are available in DOWNLOADS.
SiteTear
(for using the ALUMNI script on physrun):
0. Log into
physrun
1. Install perl and its libs:
>> yum install perl
perl-libwww-perl
2. get and install in this order
http://search.cpan.org/~kasei/Class-Accessor-0.31/lib/Class/Accessor.pm
http://search.cpan.org/~tkurita/HTML-Copy-1.22/lib/HTML/Copy.pm
http://search.cpan.org/~tkurita/HTML-SiteTear-1.42/lib/HTML/SiteTear.pm
For
each one of the above run
>> tar zxvf filename.tar.gz
; cd filename
>> perl Makefile.PL
>> make
>>
make test
>> make install
3. In
"/usr/bin/sitetear" replace the first line
#!/usr/bin/env perl -w
by
#!/usr/bin/perl
-w
MySQL (following instructions
from Miki Lewinger):
relocating the whole MySQL database
on physweb:
- mysqldump -aA > /users/physics/dcohen/TEMP/dump.sql
on physnet:
- /etc/init.d/mysqld stop
- /etc/init.d/mysqld
start
- mysql < /users/physics/dcohen/TEMP/dump.sql
relocating the forum
on physweb:
- mysqldump -a physforum > /users/physics/dcohen/TEMP/fdump.sql
on physnet:
- /etc/init.d/mysqld stop
- ren physforum
physforum_old
- /etc/init.d/mysqld start
- mysql
physforum < /users/physics/dcohen/TEMP/fdump.sql
The phpbb will work automatically with the new mysql,
since all the relevant setup is in /var/lib/mysql/mysql.
Neither I saw anything that should be changed in /etc/php.ini
Installation of TeTex (by Michael Gedalin):
mkdir -p /usr/local/teTeX/share/texmf
mkdir -p /usr/local/teTeX/share/texmf-dist
mkdir -p /usr/local/teTeX/share/texmf-local/tex/generic
mkdir -p /usr/local/teTeX/share/texmf-local/tex/latex
mkdir -p /usr/local/teTeX/share/texmf-local/doc
mkdir -p /usr/local/teTeX/share/texmf-local/bibtex
mkdir -p /usr/local/teTeX/share/texmf-local/fonts/tfm
mkdir -p /usr/local/teTeX/share/texmf-local/fonts/afm
mkdir -p /usr/local/teTeX/share/texmf-local/fonts/type1
mkdir -p /usr/local/teTeX/share/texmf-local/fonts/type1
mkdir -p /usr/local/teTeX/share/texmf-local/fonts/map
mkdir -p /usr/local/teTeX/share/texmf-local/fonts/enc/dvips
DOWNLOADS
tetex-texmf.tar.gz
tetex-src.tar.gz
ivritex.tgz
ucs.tgz
cd your_download_dir
gzip -dc tetex-texmf.tar.gz | (umask 0; cd
/usr/local/teTeX/share/texmf-dist; tar xvf -)
gzip -dc tetex-src.tar.gz | tar xvf -
gunzip ucs.tgz; tar -xvf ucs.tar
gzip -dc ivritex.tgz | tar xvf
-
# lengthy compilations
cd tetex-src-*
sh -c './configure --prefix=/usr/local/teTeX >configure.log
2>&1'
sh -c 'make world >world.log 2>&1'
(if
required)
mv /usr/local/teTeX/bin/i586-pc-linux-gnu
/usr/local/teTeX/bin/i686-pc-linux-gnu
mv ucs /usr/local/teTeX/share/texmf-local/tex/latex/ucs
mv ivritex_generic
/usr/local/teTeX/share/texmf-local/tex/generic/ivritex
mv ivritex_latex /usr/local/teTeX/share/texmf-local/tex/latex/ivritex
mv ivritex_doc /usr/local/teTeX/share/texmf-local/doc/culmus
mv ivritex_bibtex /usr/local/teTeX/share/texmf-local/bibtex/culmus
mv culmus_tfm /usr/local/teTeX/share/texmf-local/fonts/tfm/culmus
mv culmus_afm /usr/local/teTeX/share/texmf-local/fonts/afm/culmus
mv culmus_type1 /usr/local/teTeX/share/texmf-local/fonts/type1/culmus
mv culmus_KLM_type1
/usr/local/teTeX/share/texmf-local/fonts/type1/culmus_KLM
mv culmus_map /usr/local/teTeX/share/texmf-local/fonts/map/culmus
mv culmus_enc /usr/local/teTeX/share/texmf-local/fonts/enc/dvips/culmus
cd
pico .cshrc
setenv PATH /usr/local/teTeX/bin/i686-pc-linux-gnu:$PATH
setenv MANPATH /usr/local/teTeX/man #or append
:$MANPATH
setenv INFOPATH /usr/local/teTeX/info #or append :$INFOPATH
(save
.cshrc)
source .cshrc
texconfig
confall
texhash
updmap --enable Map culmus.map
Additional packages (e.g. iopart) should be
placed in
/usr/local/teTeX/share/texmf-local/tex/latex/
Special
installations and scripts (by Doron
Cohen):
Still on the
tzin server:
- php envelope to the notice boards
- perl script to
generate the "people" site from database
- web forms: announce,
updateinfo, orderbook
Forum phpbb files that were modified:
index.php
portal.php
language/lang_english/lang_main.php
templates/fisubsilversh/overall_header.tpl
templates/fisubsilversh/index_body.tpl
templates/fisubsilversh/viewonline_body.tpl
templates/fisubsilversh/overall_footer.tpl
templates/fisubsilversh/images/phpbb2_logor.jpg
images/banner/phpbb2_banner_486.gif
REGISTER.html
? profile.php
? includes/page_header.php
? Update/update_phpbb_208_to_plus_152.php
adding mimetex directory and associated changes
http://www.mayer.dial.pipex.com/latexrender.zip
Mozilla plugins:
Installation of
wv:
download wv-1.0.0.tar.gz
more INSTALL
./configure
make
make install
ln -s wvHTML
Installation of
browseMSword
former name msdoc2html.scr
Installation of
Itex:
open itex2mml.tar
cd itex
make
ln -s tidy
ln -s itex2MML
Installation
of itex2xml:
edit xml_header.xml
edit itex2xml.scr
Installation
of itex2latex:
edit latex_header.tex
edit itex2latex.scr
Installation of
libraries (by Erez Gilad):
All files can be found on the physics server in:
/users/physics/gilade/software/
NOTE: Installation of the various libraries
should be done in the order they appear.
Intel Fortran Compiler Version 8.0
==================================
l_fc_p_8.0.034.tar.gz - source files
l_for_03492674.lic - license file
see: http://www.intel.com/software/products/compilers/flin/
for help on installation and usage (product/technical information).
NOTE: Debugger installation is also required.
Intel C/C++ Compiler Version 8.0
================================
l_cc_p_8.0.055.tar.gz - source files
l_cpp_36672736.lic - license file
see: http://www.intel.com/software/products/compilers/clin/
for help on installation and usage (product/technical information).
NOTE: Debugger installation is also required.
PGI workstation for linux (including
Fortran/C/C++ compilers/debuggers) - optional
=========================
linux86.tar.gz - source files
see: http://www.pgroup.com/support/download_release.php
for help on installation and usage.
FFT library - FFTW 3.0.1
========================
fftw-3.0.1.tar.gz - source files
see: http://www.fftw.org
for help on installation and usage.
NOTE: This library should be compiled by the GNU, Intel & PGI
separately!
Installation must include Fortran interface.
MPI implementation - MPICH-1.2.5.2
==================================
mpich.tar.gz - source files
see: http://www-unix.mcs.anl.gov/mpi/mpich/
http://www-unix.mcs.anl.gov/mpi/
for help on installation and usage.
NOTE: This library should be compiled by the GNU, Intel & PGI
separately!
Installation must include Fortran interface.
ADIC 1.1 - automatic differentiation (to be
used
by PETSc)
====================================
adic1.1b4-linux.tar.gz - source file
see: http://www-fp.mcs.anl.gov/adic/
for help on installation and usage.
NOTE: This library should be compiled by the GNU, Intel & PGI
separately!
BlockSolve95 - Block preconditioner (to be
used
by PETSc)
===================================
BlockSolve95.tar.Z - source file
see: http://www-unix.mcs.anl.gov/sumaa3d/BlockSolve/
for help on installation and usage.
NOTE: This library should be compiled by the GNU, Intel & PGI
separately!
PETSc - numerical library
=========================
petsc.tar.gz - source files
petsc_patch_all-2.2.0 - patches
see: http://www-unix.mcs.anl.gov/petsc/petsc-2/index.html
for help on installation and usage.
NOTE:
1) This library should be compiled by the GNU, Intel & PGI
separately!
2) Should be configured to be able to use ADIC and BlockSolve95.
Installation
of
Xft Mozilla:
http://www.braindrain.be/mozilla/
Mozilla 1.8 alpha-3 Xft & Gtk2: tar.bz2
tar xvfj
mkdir /usr/local/mozilla18
./mozilla to activate
Installation of
MathML fonts:
mkdir /usr/lib/X11/fonts/MathML
cd /usr/lib/X11/fonts/MathML
wget
http://support.wolfram.com/mathematica/systems/windows/general/MathFonts_TrueType.exe
wget http://www.mozilla.org/projects/mathml/fonts/bakoma/texcm-ttf.zip
unzip texcm-ttf.zip
unzip MathFonts_TrueType.exe
cp /usr/X11R6/lib/acroread/Resource/Font/Symbol .
edit /etc/fonts/local.conf as follows
<fontconfig>...
<dir>/usr/lib/X11/fonts/MathML</dir></fontconfig>
Installation of
html2latex:
http://html2latex.sourceforge.net/
# installing required modules
perl -MCPAN -e shell
install HTML::TreeBuilder
install XML::Simple
# installing html2latex
cd HTML
perl Makefile.PL
make install
cd ..
cp html2latex /usr/bin
chmod +rx /usr/bin/html2latex
cp html2latex.1 /usr/man
chmod +r /usr/man/html2latex.1
Enabling the Xprint in Mozilla:
add the line user_pref("print.print_method",
1); in mozilla preferences file.
can be done in prefs.js, but recommended to do it in user.js
no longer required???