| Back | Main view | Parent doc
Linux / W32 - server & webadmin module
1. You must have root privileges to install IMiS/ARChive. Promote yourself to superuser.
[jurko@imisarc iarc]# su
Password:
[root@imisarc iarc]#
|
2. Check if previous version of IMiS/ARChive is installed by checking RPM database. If IMiS/ARChive has been installed, consult IMiS manual on how to UPGRADE IMiS/ARChive.
IMiS/ARChive installed...
[root@imisarc iarc]# rpm -qa | grep imisarc
imisarc-2.9.302.363
[root@imisarc iarc]#
|
IMiS/ARChive NOT installed...
[root@imisarc iarc]# rpm -qa | grep imisarc
[root@imisarc iarc]#
|
3. If you are preforming a first-time install, check if neccessary Linux services are running (highlited with RED). If you dont see those services in service list, consult Linux installation manuals on how to install PORTMAPPER service (RPC server) and HTTP WEB server (in our case APACHE).
[root@imisarc iarc]# ps aux -H
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 7 0.0 0.0 0 0 ? SW Feb05 0:02 [kupdated]
root 6 0.0 0.0 0 0 ? SW Feb05 0:00 [bdflush]
root 5 0.0 0.0 0 0 ? SW Feb05 0:00 [kreclaimd]
root 4 0.0 0.0 0 0 ? SW Feb05 1:25 [kswapd]
root 3 0.0 0.0 0 0 ? SWN Feb05 0:00 [ksoftirqd_CPU0]
root 1 0.0 0.0 1412 72 ? S Feb05 0:03 init [3]
root 2 0.0 0.0 0 0 ? SW Feb05 0:00 [keventd]
root 8 0.0 0.0 0 0 ? SW< Feb05 0:00 [mdrecoveryd]
root 16 0.0 0.0 0 0 ? SW Feb05 0:28 [kjournald]
root 146 0.0 0.0 0 0 ? SW Feb05 0:00 [kjournald]
root 147 0.0 0.0 0 0 ? SW Feb05 0:11 [kjournald]
root 483 0.0 0.0 1472 332 ? S Feb05 0:01 syslogd -m 0
root 488 0.0 0.0 2068 4 ? S Feb05 0:00 klogd -2
rpc 508 0.0 0.0 1552 112 ? S Feb05 0:00 portmap
root 710 0.0 0.0 2264 124 ? S Feb05 0:00 xinetd -stayalive -reuse -pidfile /var/run/x...
root 737 0.0 0.0 1584 108 ? S Feb05 0:00 crond
root 16645 0.0 0.0 1384 4 tty1 S Feb24 0:00 /sbin/mingetty tty1
root 745 0.0 0.0 1384 4 tty2 S Feb05 0:00 /sbin/mingetty tty2
root 746 0.0 0.0 1384 4 tty3 S Feb05 0:00 /sbin/mingetty tty3
root 747 0.0 0.0 1384 4 tty4 S Feb05 0:00 /sbin/mingetty tty4
root 748 0.0 0.0 1384 4 tty5 S Feb05 0:00 /sbin/mingetty tty5
root 749 0.0 0.0 1384 4 tty6 S Feb05 0:00 /sbin/mingetty tty6
root 30683 0.0 0.9 46836 6084 ? S Feb28 0:03 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY...
apache 31821 0.0 0.9 46932 6296 ? S 04:02 0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY...
apache 31822 0.0 0.9 46908 6284 ? S 04:02 0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY...
apache 31823 0.0 0.9 46932 6296 ? S 04:02 0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY...
apache 31824 0.0 0.9 46908 6284 ? S 04:02 0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY...
apache 31825 0.0 0.9 46932 6296 ? S 04:02 0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY...
apache 31833 0.0 0.9 46908 6284 ? S 04:02 0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY...
apache 31834 0.0 0.9 46932 6296 ? S 04:02 0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY...
apache 31835 0.0 0.9 46908 6284 ? S 04:02 0:00 /usr/sbin/httpd -DHAVE_ACCESS -DHAVE_PROXY...
|
4. Copy IMiS/ARChive setup package to the directory of your choice (usually /tmp) and install it.
[root@imisarc iarc]# cp imisarc-2.9.302-363.540.i386.rpm /tmp
[root@imisarc iarc]# cd /tmp
[root@imisarc tmp]# rpm -ivh imisarc-2.9.302-363.540.i386.rpm
Preparing... ########################################### [100%]
1:imisarc ########################################### [100%]
Preforming postinstallation procedures...
Done.
Updating runlevel directories...
Update complete.
Updating '/etc/services'...
'iarc' signature added.
'iarcadmin' signature added.
'/etc/services' update complete.
Updating '/etc/rpc'...
'iadbraima' signature added.
'/etc/rpc' update complete.
Updating '/etc/inetd.conf'...
File '/etc/inetd.conf' does not exist. skipping...
'/etc/inetd.conf' update complete.
[root@imisarc tmp]#
|
5. RPM installer moved files to /iarc directory. /iarc is IMiS/ARChives home directory.
[root@imisarc tmp]# ls -l /iarc
total 28
drwxr-xr-x 5 root root 4096 Mar 10 10:26 bin
drwxrwx--- 2 root root 4096 Nov 27 13:29 rcache
-rw-r--r-- 1 root root 813 Nov 27 12:59 release.txt
-rw-r--r-- 1 root root 470 Mar 6 20:07 vista.taf
drwxrwx--- 5 root root 4096 Nov 27 13:29 vol
drwxrwx--- 2 root root 4096 Nov 27 13:29 wcache
drwxr-xr-x 4 root root 4096 Mar 10 10:26 webadmin
[root@imisarc tmp]#
|
6. You need to install IMiS/ARChive web administration module and configure IMiS/ARChive. Web admin module can be installed from /iarc/webadmin directory. There is a handy script available and distributed to preform this action. You may also install it by hand by coping /iarc/webadmin/html/iarc to your HTTP web server document root and /iarc/webadmin/cgi-bin/iarc to your HTTP web server cgi-bin root.
If you decide on the script, find out where your HTTP server document root is and where cgi-bin root is. These directories are usually /var/www/html and /var/www/cgi-bin.
[root@imisarc tmp]# cd /iarc/webadmin
[root@imisarc webadmin]# ./install.web.admin
IMiS/ARChive Web administration module installation. This installation script will guide you
trough web administration module installation steps.
IMiS/ARChive storage server 2.x
*******************************************************
Enter valid APACHE httpd.conf path including httpd.conf filename
(e.g.: /etc/httpd.conf or /usr/local/apache/conf/httpd.conf): /etc/httpd/conf/httpd.conf
You entered '/etc/httpd/conf/httpd.conf'. Is this correct (y/n)? [n]: y
Apache web server DOCUMENT directory is '/var/www/html
#evenifyouchangethe.Commentitifyoudon'twantto'. Is this correct (y/n)? [n]: n
Do you wish to enter it manually (y/n)? [n]: y
Apache web server DOCUMENT directory root: /var/www/html
Apache web server DOCUMENT directory is '/var/www/html'. Is this correct (y/n)? [n]: y
Apache web server CGI-BIN directory is '/var/www/cgi-bin/'. Is this correct (y/n)? [n]: y
Copying IMiS/ARChive DOCUMENT files to '/var/www/html'...
Copying IMiS/ARChive CGI-BIN files to '/var/www/cgi-bin/'...
Done. Web administration module installed.
With your browser go to URL: http://ip.of.the.imisarc/iarc/index.html
Thank You for using IMiS/ARChive server.
[root@imisarc webadmin]#
|
7. With this IMiS/ARChive storage server installation is complete. You should now proceed to starting the server and preforming its configuration.
| Back | Main view | Parent doc