Header Ads

  • Breaking News

    Installation of R studio and Tomcat in Ubuntu

    How to install R Studio in Ubuntu. Intsalling R Studio in Ubuntu we have to  follow the 3 steps for installation those are listed. Laks Tutorial follow the simple and basic steps for installation
    Step1:Goto terminal in ubuntu type sudo apt-getupdate press enter
    Step 2: sudo apt-getinstall r-base press enter
    Step 3:  Now download the  software R-Studio (32-bit) here or 64-bit
    sudo dpkg -i <package name>   OR Install this software through Ubuntu Software Center.
    Now you have successfully installed

    Installation of Tomcat in Ubuntu
    Before Tomcat installation in ubuntu first you need to install java
    Step 1:
    sudo apt-get update
    sudo apt-get install openjdk-7-jdk
    Download Tomcat package from apache site: 
    After downloading, extract the file and copy the folder to 'web' folder in 'home' folder (create 'web' folder in 'home' folder).
    Step 2:  Now path setup in .bashrc file
    $ gedit .bashrc
    go to end of the file and type
    export CATALINA_HOME=/home/user/web/apache-tomcat-8.0.29
    export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386
    save and exit

    Step 3:
    Once the path setup complete, now run [start] tomcat service.
    Go to the 'bin' folder of the tomcat
    (ex.: /home/user/web/apache-tomcat-8.0.29/bin)
    bin$ sh startup.sh
    To check open browser and open localhost:8080, click on 'Manager App' button.
    user error

    Step 4:
    Setting up user for accessing App
    Now open 'tomcat-users.xml' file in 'conf' folder of tomcat folder.
    copy below text at <tomcat-users> field.
    <role rolename="manager-gui"/>
    <user username="admin" password="admin" roles="manager-gui"/>
    save and exit

    Now restart tomcat service

    bin$ sh shutdown.sh
    bin$ sh startup.sh

    To check open browser and open localhost:8080, click on 'Manager App'
    button then type "admin" in User Name and Password fields.

    Now you have successfully install and configuring the tomcat in Ubuntu.

    1 comment:

    Post Top Ad


    Post Bottom Ad