Errors that are often made when a website is ported to Linux

Source: Internet
Author: User

    1. A common mistake

1:GCC Library is not installed or not installed full

Performance: no C compiler available

Similar error: hint g++ not found,

WORKAROUND: The above error occurs because the GCC compiler is not installed, or is not installed.

Mount the disc, go to the Pakeges directory,

Search for GCC and install the relevant software.

In the process of installing GCC, because of dependencies, before installing GCC

Need b->c->d Software

What if there is no software related to libppl*?

A: In the Packges directory of the CD-ROM, ls|grep ppl, find the relevant software installed.

2:

This kind of hint, lacks the curses/tempcap library,

Ibid., under the Packges directory, locate the relevant software, install.

3: Because the system has the same software error.

For example, see the following interface

Cause: This is because Apache is already installed in the system, and Apache is up.

Workaround: Uninstall (if you do not need to unload because the dependency relationship cannot be uninstalled),

Close the process.

    1. Two useful system commands

1:ps-a Viewing system processes

You can work with pipelines to see the process more easily.

Example: Suspect that the system has an HTTP process to run again.

Can: Ps-a|grep http

The HTTP-related process is filtered out.

2: Kill the process

Pkill-9 http

Will kill all HTTP-related processes.

    1. After the site is migrated to Linux, the problem is generally concentrated in the following two possible ways.

1: Issue with permissions.

2: Case sensitive issue.

Files under Linux are case-sensitive.

Errors that are often made when a website is ported to Linux

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.