Linux FAQs Summary

Source: Internet
Author: User

Linux Issues: ifconfig View IP Download error: Bash: ifconfig: Command not found Workaround:First execute the export path= "$PATH:/sbin" Then you can install Apache problem: First contact with PHP environment, their own manual configuration of Apache and PHP, encountered httpd.exe:Could not reliably determine The server's fully qualified domain name, using 192.168.1.xx for servername This problem workaround: vi/etc/httpd/conf/httpd.conf will be inside the #Se Rvername localhost:80 Note can be removed. Questions about installing PHP:

configure:error:cannot Find output from lex,give up, This error is said to be missing flex.rpm, found on the Linux 6.0 CD-ROM flex-2.5.4a-29.i386.rpm

Workaround:RPM-IVH flex-2.5.4a-29.i386.rpm in/media/rhel_5.5 i386 dvd/server configure:error:xml2-config not found. Please check your LIBXML2 installation.
the cause of the error, xml2-config this file was not found.

/* The reason may be that I install redhat, there are a lot of things not selected, so out of this issue. */
Depending on the error, install LIBXML2. A lot of RPM packages are available on the rhel_5.2 installation CD, and my DVD disc is located in/media/rhel_5.2 i386 Dvd/server,
cd/media/rhel_5.2 i386 Dvd/server
LS *libxml*

[[email protected] server]# ls *libxml*
libxml2-2.6.26-2.1.2.1.i386.rpm libxml2-python-2.6.26-2.1.2.1.i386.rpm
libxml2-devel-2.6.26-2.1.2.1.i386.rpm perl-libxml-perl-0.08-1.2.1.noarch.rpm
[Email protected] server]# RPM-IVH libxml2-python-2.6.26-2.1.2.1.i386.rpm
Warning:libxml2-python-2.6.26-2.1.2.1.i386.rpm:header V3 DSA Signature:nokey, key ID 37017186
Preparing ... ########################################### [100%]
Package libxml2-python-2.6.26-2.1.2.1 is already installed/* hint I've already installed */
[Email protected] server]# RPM-IVH libxml2-devel-2.6.26-2.1.2.1.i386.rpm
Warning:libxml2-devel-2.6.26-2.1.2.1.i386.rpm:header V3 DSA Signature:nokey, key ID 37017186
error:failed dependencies:
Zlib-devel is needed by libxml2-devel-2.6.26-2.1.2.1.i386
[[email protected] server]# ls *zlib-devel*
zlib-devel-1.2.3-3.i386.rpm
[Email protected] server]# RPM-IVH zlib-devel-1.2.3-3.i386.rpm
Warning:zlib-devel-1.2.3-3.i386.rpm:header V3 DSA Signature:nokey, key ID 37017186
Preparing ... ########################################### [100%]
1:zlib-devel ########################################### [100%]
[Email protected] server]# RPM-IVH libxml2-devel-2.6.26-2.1.2.1.i386.rpm
Warning:libxml2-devel-2.6.26-2.1.2.1.i386.rpm:header V3 DSA Signature:nokey, key ID 37017186
Preparing ... ########################################### [100%]
1:libxml2-devel ########################################### [100%]
[Email protected] server]#

Okay, there's no problem.

Linux FAQs Summary

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.