Linux server building Study Notes-Linux Enterprise Application-Linux server application information. The following is a detailed description. Nothing happened this evening. Everything in Fedora6 was almost installed, so I went to redhat9 to learn how to set up various services and maintenance and linux security in linux. by the way, record the problems encountered during the learning process!
1. Install firefox2.0.0.3 in redhat9
The resume ill in redhat9 seems to have poor support for baidu blogs. I cannot write articles in the background. I have no way to learn and record my problems, only firefox is installed first.
Download the latest version of firefox for linux from the official website and decompress the package to the/opt directory.
Copy the firefox icon cp-f/opt/firefox/icons/mozicon128.png/usr/share/pixmaps/firefox.png.
Then edit the shortcut gedit/usr/share/applications/firefox-2.0.0.3.desktop
Enter the following code in the gedit window:
[Desktop Entry]
Encoding = UTF-8
Name = Firefox Web Browser 2.0.0.3
GenericName [zh_CN] = Firefox
Comment = Firefox web browser
Exec =/opt/firefox % u
Iconw.firefox.png
Terminal = false
Type = Application
StartupWMClass = Firefox-bin
MimeType = text/html; text/xml; application/xhtml + xml; application/vnd. mozilla. xul + xml; text/mml;
Categories = Network; Application;
Done !!
2. install apache in redhat9
Download the latest apache for linux: httpd-2.2.4.tar.gz from the official site
Decompress tar zxvf httpd-2.2.4.tar.gz
Compile and install cd httpd-2.2.4
./Configure -- prefix =/usr/local/apache2 -- enable-module = so (compile apache and add the loading module parameters)
Make
Make install
Done !!
3. Install php5 in redhat9
Download the latest php5, extract and enter the php-5.2.1, compile, error:
. /Configure -- prefix =/usr/local/php5 -- with-apxs2 =/usr/local/apache2/bin/apxs -- with-config-file-path =/usr/local/lib -- enable-track-vars -- with-xml -- with-MySQL
The Code is as follows:
Grouping extensions
Checking whether to enable LIBXML support... yes
Checking libxml2 install dir... no
Checking for xml2-config path.../usr/bin/xml2-config
Configure: error: libxml2 version 2.6.11 or greater required.
[Root @ localhost php-5.2.1] #
It seems that the libxml2 version is too low, rpmfind search High Version libxml2-2.6.12.tar.bz2 Installation
After libxml2 is updated, run./configure | make install to install php5.
4. Install mysql5.0 in redhat9
[Root @ localhost mitboy] # groupadd mysql
Bash: groupadd: command not found
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service