Active1 year, 7 months ago
I am using Ubuntu 10.10, using eclipse 3.5. I am developing a web application which needs apache tomcat6. I have downloaded and installed tomcat6.0 using synaptic manager, but eclipse 3.5 says 'The Tomcat installation directory is not valid. It is missing expected file or folder lib/jasper-el.jar.' though i have browsed through till the installation dir /usr/share/tomcat6.
Please suggest me the solution to install the apache tomcat.
- In this guide we will install and configure phpMyAdmin to work with Apache on Ubuntu Server 18.04 LTS (Bionic Beaver). PhpMyAdmin is open source free software, designed to handle the administration and management of MySQL databases through a graphic user interface.
- This tutorial will help you to install Apache with PHP-FPM/FastCGI on Ubuntu 16.04 system. In this tutorial, we are using PHP 7.2 and configure with Apache using PHP-FPM and FastCGI. Install Apache with PHP & FastCGI on CentOS/RHEL.
Install Apache Tomcat 9 on Ubuntu 18.04 Now that we have Java Open JDK installed, we should be ready to start the installation of Apache Tomcat on Ubuntu 18.04. The installation process is as below.
2,74811 gold badges56 silver badges118 bronze badges
3 Answers
I had the same problem. I am using Ubuntu 10.04, and Eclipse 3.5. I was following this tutorial:
I tried to create an apache tomcat6 server using
but got your error messages. Others had proposed fixes involving changing permissions
in-eclipse-form-ubuntu
That concerned me. I avoided the permission changes and solved it by doing this stuff.
First: I had installed tomcat6 using ubuntu 10.04 software center. I removed it then installed tomcat6 from a direct download from apache's site
I put it into /home/myname/apache-tomcat-6.0.33.
It made it through Windows -> Preferences -> Server -> Runtime Environments just fine.
Second: then doing this:
would not list anything at all in the Server window it opened up.After a long time, by chance I right clicked in the Server window which allowed me to doNew -> serverand select the tomcat6 server
That lists it in the server window, then you can start and stop it through that window.
Third: I also added these lines to the end of /etc/bash.bashrc but I'm not sure whether that was needed. I haven't tried to find out for sure.
Bo Persson80.1k17 gold badges128 silver badges187 bronze badges
chuckochucko
Not sure about eclipse 3.5, but in older releases you should configure the path of Tomcat inside Eclipse.
Open the preferences dialog by selecting Window > Preferences, select Tomcat from the left tree menu, and select the correct directories there.
Ubuntu Apache Install
Pablo AlbaPablo Alba
The problem is that Eclipse assumes the Tomcat configuration directory resides in the same location with the binary directory.Try this:
This should fix it by creating a symbolic link.
uygar.rafuygar.raf
Not the answer you're looking for? Browse other questions tagged eclipseapacheubuntutomcat6 or ask your own question.
Apache2 HTTP server is the most popular webserver in used today. It powers a lot of the websites you visit online. This brief tutorial shows students and new users how to install Apache2 webserver on Ubuntu 17.10.
Apache2 is a stable, production-ready HTTP server that can be used by anyone to create powerful and dynamic websites. It’s robust and includes features that makes it compatible with many modules and other programs and application.
This post should be short, easy to read and follow, even for new users.
Step 1: Install Apache2
Apache2 packages are available in Ubuntu default software repository, so all one has to do is run the apt commands to install it. To do that, run the commands below.
Step 2: Allow HTTP Traffic
Now that Apache2 is installed, continue below to configure Ubuntu firewall to allow HTTP traffic. By default Ubuntu firewall isn’t enabled. However, in some cases the firewall is turned to security reasons.
If Ubuntu firewall is enabled, the single line commands below should allow HTTP traffic on both port 80 and port 443.
sudo ufw allow 'Apache Full'
If you check the firewall status, you should see that HTTP Full is allowed
sudo ufw status
The result should show that Apache2 HTTP traffic is allowed from anywhere, including v6 traffic.
At this point, you should now be able to access Apache2 default website page if you browse to the server IP address or hostname. The default page should look like the one below.
Apache2 is now fully installed and ready to be configured.
Step 3: Manage Apache2
The commands below allow you to stop, start, disable or enable Apache2 to always start up when the server boots up.
Step 4: Apache2 Folders
When you install Apache2 HTTP server there will be additional folders created on your server. These folders contain configuration files, settings and other files. Below you’ll find some Apache2 folders and what they’re used for:
- /etc/apache2/ –> Apache2 default configuration directory
- /etc/apache2/sites-available/ –> Websites configuration files are stored here
- /etc/apache2/sites-enable/ –> Websites configurations are enabled here
- /var/www/html/ –> This is the default DocumentRoot for Apache2
The above directories are the most used on Ubuntu server.
This is how one installs Apache2 HTTP server on Ubuntu. Now you’ve installed Apache2, go ahead and dive into how to configure more advanced settings and how to host a website.
~Enjoy~
You may also like the post below: