Tuesday, 22 January 2013

Fedora 13



Fedora 13

Before Installation :
·        Allocate min 512 MB of RAM*
·        Allocate min 12GB Hard disk space*
·        Set root password*
·        Select  all the Packages during installation*

After installation is complete :
·        Create =>  username :  emp
                    password :emp
·        To make installations and settings always go to root : su root
·        Setup hostname :
·        Setup ipaddress :
·        Start services : mysqld, httpd, postgresql by using
service  servicename  start
·        Save service using :
chkconfig   servicename  on
·        To provide rights use : chmod –Rf 777  path
Eg.   Rights to a particular folder named xyz stored in filesystem
Chmod –Rf 777 /xyz

·           To install apache tomcat and jdk1.6.0_26 :
Copy : ‘jdk-6u26-linux-i586.bin, apache-tomcat-6.0.32.tar.gz’ and paste in ‘/’ {open root folder and then press backspace, paste files at here}.

Open terminal & give command ‘cd /’ press enter & type command ‘chmod –Rf  777 jdk-6u26-linux-i586.bin’ and similarly ‘chmod –Rf  777  apache-tomcat-6.0.32.tar.gz’ press enter.

Type : ‘./jdk-6u26-linux-i586.bin’ press enter,

An agreement will be asked, Press                ‘Spacebar’
                        Accept the agreement Type                      ‘Yes’
Unpacking procedure will begin
     At the end                 “ Done ”          will be displayed

After completing Setup type ‘tar –zxvf apache-tomcat-6.0.32.tar.gz’ press enter.

Type : ‘vi /etc/profile’ press enter. (Press ‘I’ for insert & at the end of file u have to type or copy below path)
JAVA_HOME=/jdk1.6.0_26
PATH=/ jdk1.6.0_26/bin:$PATH
export JAVA_HOME PATH
export CATALINA_HOME=/apache-tomcat-6.0.32
export CATALINA_HOME
export CLASSPATH=$CLASSPATH:$CATALINA_HOME/common/lib/servlet-api.jar
------------------  Save the file and exit. (Esc + shift: wq)
·           provide rights to :
chmod –Rf 777 /var/www/html/ (enter)
chmod –Rf 777 /apa(press tab )/ (enter)
chmod –Rf 777 /jdk 1.6.0_26/ (enter)

·            To start apache tomcat server :  cd /apa(press TAB) /(enter and type)sh startup.sh
·            To stop apache tomcat server :  cd /apa(press TAB) /(enter and type)sh shutdown.sh
To check apa… running : open browser enter url : http://localhost:8080/
·         Copy mysql-connector-java-5.1.14.tar in  : /jdk1.6.0_26/jre/lib/ext/
·         To  install PHP drivers : cd  /(Enter and type )yum install php-gd (Enter)

·         Again Do the following :
o   Start services : mysqld, httpd by using
service   servicename  start
o   Save service using :
chkconfig  servicename  on

No comments:

Post a Comment