In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "detailed tutorial of building a LAMP server under Ubuntu9.10". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and study the "detailed tutorial of building a LAMP server under Ubuntu9.10".
Undefined
First, let's take a look at the installed effect picture. (see figure 1)
Figure 1 (Click on the image above for a larger picture)
Install LAMP
We briefly introduce the use of commands to install Apache, as shown in figure 2:
Figure 2
Sudo apt-get install apache2
Install PHP support (see figure 3)
Figure 3
Sudo apt-get install libapache2-mod-php5 php5
Install mysql-server and mysql-admin (see figure 4)
Figure 4
Sudo apt-get install mysql-server-5.0 mysql-common mysql-admin linuxidc@linuxidc-laptop:~$ sudo apt-get install mysql-server-5.0 mysql-common mysql-admin
[sudo] password for linuxidc:
Reading package list. Complete
Analyzing dependency tree of software package
Reading status information. Complete
Undefinedundefined
Mysql-common is already the latest version.
Mysql-common is set to be installed manually.
The following additional packages will be installed:
Libdbd-mysql-perl libdbi-perl libgtkhtml3.8-15
Libhtml-template-perl libnet-daemon-perl libplrpc-perl
Mysql-client-5.0 mysql-gui-tools-common mysql-query-browser
Mysql-server-core-5.0
Recommended packages to install:
Dbishell libgtkhtml3.8-dbg libipc-sharedcache-perl mysql-doc-5.0
Tinyca mailx
The following [new] packages will be installed:
Libdbd-mysql-perl libdbi-perl libgtkhtml3.8-15
Libhtml-template-perl libnet-daemon-perl libplrpc-perl
Mysql-admin mysql-client-5.0 mysql-gui-tools-common
Mysql-query-browser mysql-server-5.0 mysql-server-core-5.0
A total of 0 software packages have been upgraded, 12 new packages have been installed, 0 software packages have to be uninstalled, and 0 software has not been upgraded.
You need to download the 39.8MB package.
Unzipping consumes extra space for 123MB.
Do you wish to continue? [Y/n]
The following is the user name and password for setting MySQL during installation (see figure 4-5).
Figure 4
Figure 5
After installation, it can be opened in a graphical interface (see figure 6)
Figure 6
Add: before figure 6, it seems that it will be installed (see figure 7)
Sudo apt-get install php5-mysql
Figure 7
Undefinedundefined
Linuxidc@linuxidc-laptop:~$ sudo apt-get install php5-mysql
[sudo] password for linuxidc:
Reading package list. Complete
Analyzing dependency tree of software package
Reading status information. Complete
The following [new] packages will be installed:
Php5-mysql
A total of 0 software packages have been upgraded, 1 new software package has been installed, 0 software packages have to be uninstalled, and 0 software has not been upgraded.
You need to download the 65.9kB package.
Unzipping consumes extra space for 246kB.
Get: 1 http://cn.archive.Ubuntu.com jaunty-updates/main php5-mysql 5.2.6.dfsg.1-3ubuntu4.1 [65.9kB]
Download 65.9kB, which takes 4s (13.8kB/s)
The package php5-mysql that has been deselected is selected.
(reading the database. The system currently has 113808 files and directories installed.)
Extracting php5-mysql (from... / php5-mysql_5.2.6.dfsg.1-3Ubuntu4.1_i386.deb).
Setting php5-mysql (5.2.6.dfsg.1-3Ubuntu4.1)...
You don't need a password to log in with root for the first time. You can add users and change the root password at the same time.
Figure 8
Undefined
Figure 9
Then click Catalogs to create a new database in the Schemata below. (see figure 9-10)
Undefined
Figure 9 (Click on the image above for a larger picture)
Figure 10 (Click on the image above for a larger picture)
Thank you for reading, the above is the content of "detailed tutorial on building LAMP server under Ubuntu9.10". After the study of this article, I believe you have a deeper understanding of the detailed tutorial of building LAMP server under Ubuntu9.10, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.