How to Install R studio and Tomcat in Ubuntu

856

How to install R Studio in Ubuntu.

Installing 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-get install 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.  

Conclusion: Lakstutorial always try to provides information in simple and easy way to understand the our readers. If you like the content subscribe us you get the our latest posts directly to the Inbox and also Encourage with your like of our facebook page.