4. Scientific Linux Installation Guide
4/216
2 Why use Scientific Linux?
Scientific Linux is the worldwide reference operating system for scientists and scientific
applications at this beginning of the 21st
century and created in 2004!
among a lot of other distributions:
Scientific Linux forum:
http://scientificlinuxforum.org
You can download the complete 31 Gigabytes Scientific Linux Virtual Box (vdi file) here1
:
https://www.dropbox.com/s/g1p1rymql4x45o4/ScientificLinux7.vdi?dl=0
with all installed stuff detailed in this PDF here:
1
The password of the Virtual Machin account is: password
5. Scientific Linux Installation Guide
5/216
https://fr.scribd.com/document/278466634/Scientific-Linux-Virtual-Box
If necessary you can check the kernel version with the following command:
2.1 Updates
When you update the applications of your system (yum update) the kernel will also be updated
and then when start your computer you will get:
To see the list of installed Kernel:
6. Scientific Linux Installation Guide
6/216
To remove an old Kernel just type:
Upgrades between major versions (from SL 5 to SL 6, or SL 6 to SL 7) are not supported!!!
7. Scientific Linux Installation Guide
7/216
3 BIOS activate Virtualization
Some computers have BIOS virtualization deactivated. For this purpose you need to change this:
4 Install Scientific Linux 7.1
Open Virtual Box:
14. Scientific Linux Installation Guide
14/216
Select the *.iso file you selected before:
Once selected, you can Start the Virtual Machine and you will get:
15. Scientific Linux Installation Guide
15/216
Click on the VBox screen and type Tab+Enter. After a few seconds you get:
17. Scientific Linux Installation Guide
17/216
Choose the GNOME Desktop with the visible package on the right:
You must select a partition to be able to continue the installation:
19. Scientific Linux Installation Guide
19/216
Just click on Done in the upper left corner. Once you have also selected the right keyboard and
Date & Time Timezone click on Begin Installation:
40. Scientific Linux Installation Guide
40/216
4.1 Change to Wired Internet by default
Each time you restart the VBox you will have to reconnect (wired) the VBox to the Internet. This
is boring. Do the following in the terminal:
You will get and click on Edit:
44. Scientific Linux Installation Guide
44/216
Something that may be important to know in Linux is how to open the file explorer with
administrative rights:
45. Scientific Linux Installation Guide
45/216
5 Programming/Development
5.1 Qt C++
As some people now I like how C++ rocks. Only one language to rule them all! Develop once for
almost everything with fastest time execution as compared to Java, C#, Python and many others.
First you go on Qt website to download:
47. Scientific Linux Installation Guide
47/216
When download finish you go in the Properties of the file:
In Permissions we change activate Allow executing file as a program:
48. Scientific Linux Installation Guide
48/216
Note: Process is the same to install Google Earth!
Once done, you double click on the file and the installation starts:
51. Scientific Linux Installation Guide
51/216
On Next again and we wait:
5.2 Eclipse Java, C/C++ and PHP
We now download and install Eclipse for JEE, C/C++ and PHP.
For this purpose you go on the following page:
52. Scientific Linux Installation Guide
52/216
You click on the 64 bit link of each of the three distribution and you save the file:
53. Scientific Linux Installation Guide
53/216
Once the download done we extract each file (rename immediately the resulting folder with
something like eclipseJava or eclipseCpp etc. otherwise each tar.gz file we erase the previous
created folder!):
For each distribution you in the corresponding folder and double click on the eclipse icon to
check that it opens without issues:
54. Scientific Linux Installation Guide
54/216
You will get for JEE:
Caution!!! Sometimes menu are not visible but in fact they are here but just not visible!
And for C/C++:
64. Scientific Linux Installation Guide
64/216
If you get an error message about Chromium. Just reboot computer.
5.4 XML/DTD/Xpath Copy Editor
To install XML Copy Editor. First download:
75. Scientific Linux Installation Guide
75/216
5.6 PHP MySQL
The purpose here is to have a LAMP with SL…
5.6.1 Apache
First we must be connected as root user:
77. Scientific Linux Installation Guide
77/216
We start the server on we change to configuration to make it start automatically at every boot:
Now to make the whole LAMP works correctly we must configure an iptable. We create and
iptables file:
78. Scientific Linux Installation Guide
78/216
And in the editor press Insert key to begin to write:
When finish, write ESC + : wq and Enter to save and return to the terminal.
79. Scientific Linux Installation Guide
79/216
After we must install a package that can read and use the previous file:
Once installation done, you will have troubles with the existing firewall. We need to stop it and
deactivate it for each boot:
Now go in your favorite Internet Browser and type http://localhost:
84. Scientific Linux Installation Guide
84/216
5.6.3 PHP & PHP-mySQL
The purpose now is to install PHP engine with the PHP-mySQL connector:
85. Scientific Linux Installation Guide
85/216
To test that everything work, first method is to use the defaults Linux visual editor. But first we
need writing rights on the main Apache root folder:
Now we can create a PHP file:
90. Scientific Linux Installation Guide
90/216
5.6.4 MariaDB & phpMyAdmin
Now we want to install phpMyAdmin to manage more easily MySQL tables. First we need to
install a fedora repo:
And after:
91. Scientific Linux Installation Guide
91/216
To be sure that everything will work we do and update of all packages:
Now we can install phpMyAdmin:
Remarque: With this you can also install thunderbird (yum install thunderbird)
92. Scientific Linux Installation Guide
92/216
Once this done, you restart Apache:
And now you can check if it works through your browser:
93. Scientific Linux Installation Guide
93/216
But you will not be able to access to the admin console. For this we need to install MariaDB
packages (Oracle is devil…):
95. Scientific Linux Installation Guide
95/216
Now we start MariaDB services and we launch mysql secure installation wizard:
Now we can finally secure our mysql-phpMyAdmin installation:
!!! Just type ENTER for current root password. And follow the below answers:
96. Scientific Linux Installation Guide
96/216
To set root password above we have chosen password as password…
We continue…:
102. Scientific Linux Installation Guide
102/216
And also:
We need to change back the access rules to read only:
Restart computer.
5.7 Tomcat
To create Java server pages we need to install the tomcat server: for this purpose:
103. Scientific Linux Installation Guide
103/216
After:
Once done this has created a tomcat7 folder where we need to change the default port 8080 to
something else otherwise we will be in conflict with our apache server:
130. Scientific Linux Installation Guide
130/216
5.10 Oracle Express
Major tool to learn PL/SQL!
First download Oracle Database Express Edition for Linux x64:
131. Scientific Linux Installation Guide
131/216
Once file download extract it on place:
Open the terminal in folder Disk1 of the resulting extraction and after type:
138. Scientific Linux Installation Guide
138/216
6 Content Management Server
6.1 Drupal
Install WordPress and Joomla is very very easy stuff in SE Linux once the above steps all done.
But for Drupal it is a little bit more difficult. Once the zip file unpacked in the
var/www/html/drupal do the following:
And create the following folder:
139. Scientific Linux Installation Guide
139/216
And do:
So when you got before the following error message:
By clicking on proceed with the installation you get:
140. Scientific Linux Installation Guide
140/216
And now just continue as for WordPress and Joomla!
6.2 Typo 3
For Typo3 take care!!! The message:
143. Scientific Linux Installation Guide
143/216
7 Science
7.1 R
As we all know, R is actually the most complete statistical software in the world. So we need it
for number analysis
Therefore first thanks to the fedora repo:
144. Scientific Linux Installation Guide
144/216
We make an update to be sure to have the last version:
Now we launch R by typing just… R… (not userfriendly but terribly efficient access):
145. Scientific Linux Installation Guide
145/216
It may be useful also to know how to uninstall R as sometimes it can be corrupted. Then run the
following commands:
yum uninstall R
yum uninstall R-core
yum uninstall R-devel
yum uninstall R-core-devel
If you get an error when running R for the first time saying that a file is missing in a given folder.
Just go in this folder and copy paste in an existing file in that same folder having a similar name
and just rename it as expected by the R error message!
After you just have to read my R 1'700 pages book on R ;-)
7.1.1 R Studio
To install R Studio just run the following command:
160. Scientific Linux Installation Guide
160/216
If necessary:
7.2 TeXMaker
A very important tool for every scientist and engineer that must write high quality scientific
documents (papers and books):
First we use the CRAN installation file:
161. Scientific Linux Installation Guide
161/216
This tool need and MD5 Checksum to be installed. Therefore we need to install MD5 checksum
Perl packages:
After we write in the terminal:
sudo ./install-tl
162. Scientific Linux Installation Guide
162/216
That brings us to:
Wait… almost 3000 modules (LaTeX packages/*.sty) to install…
163. Scientific Linux Installation Guide
163/216
To install TeXMaker on SL 7.1 we will need to recompile TeXMaker code source. Then before
we install QT4 compiler!:
yum install pkg-config qt-devel qt-webkit-devel poppler-qt4-devel gcc-c++ make rpmdevtools
zlib1g-dev
164. Scientific Linux Installation Guide
164/216
And we download TeXMaker code source:
Once the download done we extract the package:
165. Scientific Linux Installation Guide
165/216
And by security we install the following packages:
Now we compile the sources:
After a few minutes you can finally write:
167. Scientific Linux Installation Guide
167/216
Now to be able to install and update packages write each time the two following lines:
168. Scientific Linux Installation Guide
168/216
7.2.1 TeXLive
To install a basic package for LaTeX type the following:
and to install a specific package:
183. Scientific Linux Installation Guide
183/216
7.6 Salome
To install SALOME we go first on their webpage to select the option highlighted below:
184. Scientific Linux Installation Guide
184/216
Once the download finish we extract the files:
Then we enter the corresponding folder:
Afterward we go in the shell, browse in the corresponding folder and launch the corresponding
bash file:
185. Scientific Linux Installation Guide
185/216
Then we get:
And after by creating a new file and inserting objects you can create your project:
190. Scientific Linux Installation Guide
190/216
8 Office
8.1 Qalculate
A "small" calculator is always useful. Let us see how to install one that is considered as a
reference in the Linux World:
191. Scientific Linux Installation Guide
191/216
8.2 OpenProj
We all know that project management has become increasingly normative these last decades.
Having a project management software is a minimum nowadays.
So let's run with OpenProj.
First we download:
192. Scientific Linux Installation Guide
192/216
And we need to install the downloaded file:
After OpenProj will be in the menu:
194. Scientific Linux Installation Guide
194/216
Therefore you need first to install JRE:
If the Java Platform does not appear it means (most of time) that its already installed.
After we edit the following file:
198. Scientific Linux Installation Guide
198/216
8.4 Skype
Until today it is still not easy to install Skype on SL x64. Here are the different steps:
We start with:
And after:
yum install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686
libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686
qt-x11.i686 zlib.i686 qtwebkit.i686
We install some additional modules:
Now we download Skype:
199. Scientific Linux Installation Guide
199/216
Now we unpack:
Now we create launcher:
We create now a file with a special content:
201. Scientific Linux Installation Guide
201/216
8.5 Zim
You like OneNote/EverNote and don't want use the web version? Here is the way to do it:
Once installed you get:
203. Scientific Linux Installation Guide
203/216
8.6 VYM (View Your Mind/Mind Mapping)
To have in an easy way a Mind Mapping tool, type:
Then we get:
204. Scientific Linux Installation Guide
204/216
Ce qui donne:
8.7 Vokoscreen (screen recorder)
To have as screen recorder we type first:
After what we get:
208. Scientific Linux Installation Guide
208/216
9 Others
After from the Software installer wizard you can install easily also:
ď‚· VLC media player
ď‚· Audacity
209. Scientific Linux Installation Guide
209/216
10 ToDo
Write procedure for DraftSight, Google Earth, XMinder, Aptana
10.1 XMinder