Scientific Linux
v4.3 (2017-07-31)
g
1/216
Scientific Linux Installation Guide
2/216
Scientific Linux Installation Guide
3/216
Scientific Linux Installation Guide
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
1
The password of the Virtual Machin account is: password
4/216
Scientific Linux Installation Guide
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:
5/216
Scientific Linux Installation Guide
6/216
Scientific Linux Installation Guide
7/216
Scientific Linux Installation Guide
Click on New:
8/216
Scientific Linux Installation Guide
9/216
Scientific Linux Installation Guide
10/216
Scientific Linux Installation Guide
Click Create.
11/216
Scientific Linux Installation Guide
12/216
Scientific Linux Installation Guide
And choose:
13/216
Scientific Linux Installation Guide
Once selected, you can Start the Virtual Machine and you will get:
14/216
Scientific Linux Installation Guide
Click on the VBox screen and type Tab+Enter. After a few seconds you get:
15/216
Scientific Linux Installation Guide
16/216
Scientific Linux Installation Guide
Choose the GNOME Desktop with the visible package on the right:
17/216
Scientific Linux Installation Guide
18/216
Scientific Linux Installation Guide
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:
19/216
Scientific Linux Installation Guide
20/216
Scientific Linux Installation Guide
21/216
Scientific Linux Installation Guide
22/216
Scientific Linux Installation Guide
23/216
Scientific Linux Installation Guide
24/216
Scientific Linux Installation Guide
25/216
Scientific Linux Installation Guide
Click Next:
26/216
Scientific Linux Installation Guide
27/216
Scientific Linux Installation Guide
28/216
Scientific Linux Installation Guide
29/216
Scientific Linux Installation Guide
30/216
Scientific Linux Installation Guide
In VirtualBox go in:
31/216
Scientific Linux Installation Guide
Click on Run:
32/216
Scientific Linux Installation Guide
33/216
Scientific Linux Installation Guide
34/216
Scientific Linux Installation Guide
35/216
Scientific Linux Installation Guide
First we connect to the Network. Through the VBox settings check that you have:
36/216
Scientific Linux Installation Guide
37/216
Scientific Linux Installation Guide
38/216
Scientific Linux Installation Guide
39/216
Scientific Linux Installation Guide
40/216
Scientific Linux Installation Guide
And activate:
41/216
Scientific Linux Installation Guide
42/216
Scientific Linux Installation Guide
43/216
Scientific Linux Installation Guide
Something that may be important to know in Linux is how to open the file explorer with
administrative rights:
44/216
Scientific Linux Installation Guide
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.
45/216
Scientific Linux Installation Guide
46/216
Scientific Linux Installation Guide
47/216
Scientific Linux Installation Guide
Once done, you double click on the file and the installation starts:
48/216
Scientific Linux Installation Guide
49/216
Scientific Linux Installation Guide
On Next:
On Next again:
50/216
Scientific Linux Installation Guide
We now download and install Eclipse for JEE, C/C++ and PHP.
51/216
Scientific Linux Installation Guide
You click on the 64 bit link of each of the three distribution and you save the file:
52/216
Scientific Linux Installation Guide
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:
53/216
Scientific Linux Installation Guide
Caution!!! Sometimes menu are not visible but in fact they are here but just not visible!
54/216
Scientific Linux Installation Guide
55/216
Scientific Linux Installation Guide
After:
56/216
Scientific Linux Installation Guide
And:
57/216
Scientific Linux Installation Guide
After:
58/216
Scientific Linux Installation Guide
After:
59/216
Scientific Linux Installation Guide
After:
60/216
Scientific Linux Installation Guide
After:
5.3 Aptana
61/216
Scientific Linux Installation Guide
62/216
Scientific Linux Installation Guide
63/216
Scientific Linux Installation Guide
64/216
Scientific Linux Installation Guide
65/216
Scientific Linux Installation Guide
66/216
Scientific Linux Installation Guide
67/216
Scientific Linux Installation Guide
68/216
Scientific Linux Installation Guide
69/216
Scientific Linux Installation Guide
70/216
Scientific Linux Installation Guide
71/216
Scientific Linux Installation Guide
72/216
Scientific Linux Installation Guide
73/216
Scientific Linux Installation Guide
74/216
Scientific Linux Installation Guide
5.6.1 Apache
75/216
Scientific Linux Installation Guide
We install Apache:
76/216
Scientific Linux Installation Guide
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:
77/216
Scientific Linux Installation Guide
When finish, write ESC + : wq and Enter to save and return to the terminal.
78/216
Scientific Linux Installation Guide
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:
79/216
Scientific Linux Installation Guide
5.6.2 MySQL
80/216
Scientific Linux Installation Guide
Double click:
81/216
Scientific Linux Installation Guide
82/216
Scientific Linux Installation Guide
83/216
Scientific Linux Installation Guide
The purpose now is to install PHP engine with the PHP-mySQL connector:
84/216
Scientific Linux Installation Guide
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:
85/216
Scientific Linux Installation Guide
86/216
Scientific Linux Installation Guide
87/216
Scientific Linux Installation Guide
88/216
Scientific Linux Installation Guide
89/216
Scientific Linux Installation Guide
Now we want to install phpMyAdmin to manage more easily MySQL tables. First we need to
install a fedora repo:
And after:
90/216
Scientific Linux Installation Guide
Remarque: With this you can also install thunderbird (yum install thunderbird)
91/216
Scientific Linux Installation Guide
92/216
Scientific Linux Installation Guide
But you will not be able to access to the admin console. For this we need to install MariaDB
packages (Oracle is devil):
93/216
Scientific Linux Installation Guide
94/216
Scientific Linux Installation Guide
Now we start MariaDB services and we launch mysql secure installation wizard:
!!! Just type ENTER for current root password. And follow the below answers:
95/216
Scientific Linux Installation Guide
We continue:
96/216
Scientific Linux Installation Guide
97/216
Scientific Linux Installation Guide
98/216
Scientific Linux Installation Guide
99/216
Scientific Linux Installation Guide
100/216
Scientific Linux Installation Guide
101/216
Scientific Linux Installation Guide
And also:
Restart computer.
5.7 Tomcat
To create Java server pages we need to install the tomcat server: for this purpose:
102/216
Scientific Linux Installation Guide
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:
103/216
Scientific Linux Installation Guide
104/216
Scientific Linux Installation Guide
We change to:
105/216
Scientific Linux Installation Guide
106/216
Scientific Linux Installation Guide
And we get:
Now we can test it. First open Java Eclipse and go into:
107/216
Scientific Linux Installation Guide
After we go:
108/216
Scientific Linux Installation Guide
We take:
109/216
Scientific Linux Installation Guide
110/216
Scientific Linux Installation Guide
111/216
Scientific Linux Installation Guide
We get:
112/216
Scientific Linux Installation Guide
Click on Finish.
113/216
Scientific Linux Installation Guide
114/216
Scientific Linux Installation Guide
After we have:
115/216
Scientific Linux Installation Guide
We click on Next:
116/216
Scientific Linux Installation Guide
117/216
Scientific Linux Installation Guide
And Finish:
118/216
Scientific Linux Installation Guide
We get:
119/216
Scientific Linux Installation Guide
120/216
Scientific Linux Installation Guide
121/216
Scientific Linux Installation Guide
122/216
Scientific Linux Installation Guide
123/216
Scientific Linux Installation Guide
5.8 Python
124/216
Scientific Linux Installation Guide
125/216
Scientific Linux Installation Guide
126/216
Scientific Linux Installation Guide
127/216
Scientific Linux Installation Guide
128/216
Scientific Linux Installation Guide
129/216
Scientific Linux Installation Guide
130/216
Scientific Linux Installation Guide
Open the terminal in folder Disk1 of the resulting extraction and after type:
131/216
Scientific Linux Installation Guide
132/216
Scientific Linux Installation Guide
133/216
Scientific Linux Installation Guide
Password: password
134/216
Scientific Linux Installation Guide
135/216
Scientific Linux Installation Guide
136/216
Scientific Linux Installation Guide
5.11 PostgreSQL
137/216
Scientific Linux Installation Guide
138/216
Scientific Linux Installation Guide
And do:
139/216
Scientific Linux Installation Guide
6.2 Typo 3
140/216
Scientific Linux Installation Guide
141/216
Scientific Linux Installation Guide
142/216
Scientific Linux Installation Guide
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
143/216
Scientific Linux Installation Guide
Now we launch R by typing just R (not userfriendly but terribly efficient access):
144/216
Scientific Linux Installation Guide
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!
7.1.1 R Studio
145/216
Scientific Linux Installation Guide
146/216
Scientific Linux Installation Guide
147/216
Scientific Linux Installation Guide
148/216
Scientific Linux Installation Guide
149/216
Scientific Linux Installation Guide
150/216
Scientific Linux Installation Guide
151/216
Scientific Linux Installation Guide
152/216
Scientific Linux Installation Guide
153/216
Scientific Linux Installation Guide
154/216
Scientific Linux Installation Guide
155/216
Scientific Linux Installation Guide
156/216
Scientific Linux Installation Guide
157/216
Scientific Linux Installation Guide
158/216
Scientific Linux Installation Guide
159/216
Scientific Linux Installation Guide
If necessary:
7.2 TeXMaker
A very important tool for every scientist and engineer that must write high quality scientific
documents (papers and books):
160/216
Scientific Linux Installation Guide
This tool need and MD5 Checksum to be installed. Therefore we need to install MD5 checksum
Perl packages:
sudo ./install-tl
161/216
Scientific Linux Installation Guide
162/216
Scientific Linux Installation Guide
To install TeXMaker on SL 7.1 we will need to recompile TeXMaker code source. Then before
we install QT4 compiler!:
163/216
Scientific Linux Installation Guide
164/216
Scientific Linux Installation Guide
165/216
Scientific Linux Installation Guide
166/216
Scientific Linux Installation Guide
Now to be able to install and update packages write each time the two following lines:
167/216
Scientific Linux Installation Guide
7.2.1 TeXLive
168/216
Scientific Linux Installation Guide
7.2.2 LaTeXDraw
169/216
Scientific Linux Installation Guide
Unzip:
170/216
Scientific Linux Installation Guide
171/216
Scientific Linux Installation Guide
172/216
Scientific Linux Installation Guide
Once finished:
173/216
Scientific Linux Installation Guide
Finally:
174/216
Scientific Linux Installation Guide
7.2.3 Tex2Html
7.3 Octave
Octave is a Maple/Matlab like scientific software. To install it:
175/216
Scientific Linux Installation Guide
You get:
Finally:
176/216
Scientific Linux Installation Guide
7.4 Scilab
177/216
Scientific Linux Installation Guide
after to extract:
178/216
Scientific Linux Installation Guide
179/216
Scientific Linux Installation Guide
180/216
Scientific Linux Installation Guide
7.5 FreeCAD
181/216
Scientific Linux Installation Guide
182/216
Scientific Linux Installation Guide
7.6 Salome
To install SALOME we go first on their webpage to select the option highlighted below:
183/216
Scientific Linux Installation Guide
Afterward we go in the shell, browse in the corresponding folder and launch the corresponding
bash file:
184/216
Scientific Linux Installation Guide
Then we get:
And after by creating a new file and inserting objects you can create your project:
185/216
Scientific Linux Installation Guide
186/216
Scientific Linux Installation Guide
7.7 Maxima
187/216
Scientific Linux Installation Guide
7.8 KiCAD
188/216
Scientific Linux Installation Guide
189/216
Scientific Linux Installation Guide
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:
190/216
Scientific Linux Installation Guide
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.
First we download:
191/216
Scientific Linux Installation Guide
192/216
Scientific Linux Installation Guide
193/216
Scientific Linux Installation Guide
If the Java Platform does not appear it means (most of time) that its already installed.
194/216
Scientific Linux Installation Guide
195/216
Scientific Linux Installation Guide
8.3 DropBox
First:
And finally:
196/216
Scientific Linux Installation Guide
197/216
Scientific Linux Installation Guide
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:
198/216
Scientific Linux Installation Guide
Now we unpack:
199/216
Scientific Linux Installation Guide
Finally:
200/216
Scientific Linux Installation Guide
8.5 Zim
You like OneNote/EverNote and don't want use the web version? Here is the way to do it:
201/216
Scientific Linux Installation Guide
Finally:
202/216
Scientific Linux Installation Guide
Then we get:
203/216
Scientific Linux Installation Guide
Ce qui donne:
204/216
Scientific Linux Installation Guide
This gives:
205/216
Scientific Linux Installation Guide
8.8 Dia
206/216
Scientific Linux Installation Guide
207/216
Scientific Linux Installation Guide
9 Others
After from the Software installer wizard you can install easily also:
208/216
Scientific Linux Installation Guide
10 ToDo
Write procedure for DraftSight, Google Earth, XMinder, Aptana
10.1 XMinder
209/216
Scientific Linux Installation Guide
10.2 DraftSight
210/216
Scientific Linux Installation Guide
XMinder:
211/216
Scientific Linux Installation Guide
Google Earth:
212/216
Scientific Linux Installation Guide
213/216
Scientific Linux Installation Guide
214/216
Scientific Linux Installation Guide
215/216
Scientific Linux Installation Guide
216/216