Install tomcat on Ubuntu and Ubuntu tomcat
1. Download the apache-tomcat-** .tar.gz file from the official website.
2. Create a folder (tomcat) in the local file and decompress the package in the folder. You do not need to use root:
Tar-zxvf/home/xcx/download/apache-tomcat-8
1. install Apache
Ubuntu provides 3 apache2 software packages, which are apache2-mpm-worker, apache2-mpm-prefork, and apache2-mpm-event. If you choose to install the lamp package when installing the Ubuntu operating system entry: Ubuntu
I. Downloads for mysql-server and mysql-client[Email protected]:/usr/local# sudo apt-get install mysql-server mysql-client (Ubuntu version)Here I am, root password, for rootroot. second, start MySQL Service[Email protected]:/usr/local# sudo/etc/init.d/mysql start (Ubuntu version)* Starting MySQL database server mysqld [OK][Email protected]:/usr/local#Third, enter
In Ubuntu and Debian, the APACHE2 main functional modules (Multi-Processing module, multi-channel processor, abbreviated MPM) are divided into different packages, respectively:
Apache2-mpm-event: Event-driven MPM;
Apache2-mpm-perchild: This is just a transitional "fake" package that relies on worker;
Apache2-mpm-prefork: Traditional MPM, compatible with apache1.3, not using threads;
Apache2-mpm-worker: High speed MPM supporting multithreading and mult
Use sudo apt-Get install Apache to install Apache. It does not contain apxs (APACHE extension tool [Apache extension module tool, such as $ apxs-I-a-c mod_foo.c]). install
First, install ApacheUbuntu offers 3 apache2 packages, which are Apache2-mpm-worker, Apache2-mpm-prefork, Apache2-mpm-event, respectively. If you choose to install the lamp package when you install the Ubuntu OS "Getting Started: Ubuntu Server Installation Tutorial", then
/pcre
Make
Make install
Note: If You encounter problems when installing pcre: configure: error: You need a C ++ compiler for C ++ support.
Ubuntu solution: sudo apt-get install build-essential
Redhat6/centos6 solution: yum installation package: yum install gcc-c ++ kernel-devel
Step 2
Label:First, installation environment Ubuntu 14.04LTS Postgresql-9.4.3 zabbix-2.4.5 httpd-2.4.12 php-5.6.10 Second, the choice reason The reason for choosing the PostgreSQL database is that Zabbix's data business is relatively complex, more advantageous than MySQL, and MySQL's data sheets are prone to bad and often need to be repaired. Now, although Nginx is more popular, but for high stability, and do not need high concurrency of the application, rec
official download page. In this way, you can download Tomcat 8.0, which includes components such as the NetBeans Platform SDK, Java FX, Java EE, Java ME, HTML5, C/C ++, Groovy, PHP, and Apache. package.
There are five optional download packages. Select one you want and click the next button.
To obtain these packages, go to the NetBeans download page.Install Java JDK before installing NetBeans
Before installing NetBeans, you must
file.
Other configuration files are:./sites-enabled/*. conf7. Install mysql
apt-get install mysql-server mysql-client
The root password must be set during the installation process. In Ubuntu, the MySQL configuration information is in the/etc/mysql directory.
The default Character Set of MySQL is latin1: To avoid possible garbled characters in Chinese, change the
Environment: Ubuntu12.04 [simple installation] The first installation of Apache is generally smooth. 1. Download and decompress the official website address: unzip
Environment: Ubuntu 12.04
[Simple installation]
Generally, the first installation of Apache is smooth.
1. Download and decompress
Official website address: http://httpd.apache.org/
root@
Build Apache, MySQL, and PHP in the LAMP environment in Ubuntu
As I just learned about Linux, I chose Ubuntu, which has a friendly interface, for research. Command line + visualization is a good combination for beginners. The graphic interface can be used as a transition of command lines to see the effect intuitively. Learning in applications is a good way. I lea
The customer's server is Ubuntu + apache2 + ruby on rails. Currently, some pages on the customer's server always report the 500 error. The ruby language is only known and has not been studied in depth. I have never set up a ruby server environment, and it is strange that the customer uses ubuntu as the server. After installing ruby on rails on CentOS, I understand.Preface: problems after yum is inst
listen =/tmp/php-fpm.sockand open:Listen.owner = pngListen.group = pngListen.mode = 0660 compile time comparison: Time nice-20 make-j4 (Ubuntu 14.04 uses i5-3230m to compile Nginx 1.6.0 for 14 seconds, CPU idle value is almost 0 during compilation)Time nice-20 make (Ubuntu 14.04 takes 32 seconds to compile Nginx 1.6.0 with i5-3230m, CPU idle value is around 73% during compilation)Time nice-20 make (
successful:After the test is successful, it is best to delete the info.php file, because this file will let others see some of your server configuration, enter the following command:sudo RM /var/www/html/info. php5. SummaryNow that the lamp has been installed, to develop their own site it!!!Reference Links:[1] How to install Linux apache mysql php lamp stack on Ubuntu
A virtual host is often used for Web services that provide multiple domain names on a single IP address. This is useful if someone wants to run multiple Web sites on a single VPS with a single IP address. In this tutorial, let me show you how to set up a virtual host on Ubuntu 14.04 lts Apache Web server. Please note that this tutorial is for the 32-bit version of Ubuntu14.04 only.I do not guarantee that it
As a result of just learning Linux, choose the interface of the more friendly Ubuntu for research. Command line + visualization for beginners, the combination is relatively good, the graphical interface as a command line of a transition can be more intuitive to see the effect. In the application of learning is a better way, I was to build a Linux-based server environment for learning, according to the information collected on the Internet, to complete
Currently, PHP has developed into a mainstream Web programming language. To use PHP for programming, we must first build a PHP system environment, many articles in this area can be found on the Internet, but most of them are for older software versions, or install using the RPM software package in the RedHat environment. This article describes how to use the latest source code package in the javastuserver environment for compilation and installation.
There are two ways to install Apache on Ubuntu: 1 Using Package services for development packages, such as using the Apt-get command, and 2 building Apache from the source. This article describes the two different installation methods in detail.Method One: Use packaged services for the development package--apt-getTo
Ubuntu 12.04 Build Web server (mysql+php+apache) tutorial1. Switch Administrator statusYou need to use root in Ubuntu, so make sure to log in as root with the following command:sudo su2. Start the SSH installation(Install Ssh-server: (with Xshell operation more convenient, first get SSH service support)sudo apt-get upd
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.