Installation method for Apache\ftp\mysql 4.0 under Redhat

Source: Internet
Author: User
Tags ftp protocol

Redhat installation of these three services in a similar way

Apache Services:

Locate the Apache installation package:

RPM-IVH httpd-2.0.40-21.i386.rpm

Wait for the installation to complete

Check installation results: Rpm-qa|grep httpd

Having a echo httpd-2.0.40-21 means that the installation was successful.

To start the Apache service:

Service httpd Start

Access IP address 80 port via browser to open Apache test site

Precautions:

1, Apache service can not start, host name and IP does not match

Workaround:

To manually modify a host name

Vi/etc/hosts 127.0.0.1 after the hostname modified, the name of a pickup

Hostname (same as above) Hostname= set in Vi/sysconfig/network

Re-Login

2, 80 ports are occupied

Workaround: vi/etc/httpd/conf/httpd.conf

80 for other unoccupied ports after modifying listen

Set firewall to allow this port after modification, or clear firewall

FTP Service:

To install the FTP service:

RPM-IVH vsftpd-1.1.3-8.i386.rpm

Installation Complete Start service:

Service VSFTPD Start

Transfer files via FTP protocol:

Explorer and browser via Ftp://name:[email protected]

Name: Name, Password: password, ip:ftp server IP address

Precautions:

1. Root user cannot log on cause: Root default does not allow FTP

Workaround: Modify the configuration file

Remove Root before Vi/etc/vsftpd.user_list

Vi/etc/vsftpd.ftpusers also remove root before the #

Restart VSFTPD Services: Service vsftpd restart

MySQL 4.0 Installation:

The MySQL 4.0 installation package has 3 different:

mysql-client-4.0.21-0.i386.rpm

mysql-devel-4.0.21-0.i386.rpm

mysql-server-4.0.21-0.i386.rpm

Installation order: Install MYSQL-SERVER-4.0.21-0.I386.RPM First and then install the rear two

After the installation is complete, MySQL 4.0 is automatically opened,

Input command MySQL

To access MySQL Apps

Landing:

Command ~]# mysql–u user name –p password

The root user does not have the password setting method by default:

Set password for ' root ' @ ' localhost ' = password (' mypasswd ');

Precautions:

Set up service boot from boot

Command:

Ntsysv

  

  

  

  

  

    

Installation method for Apache\ftp\mysql 4.0 under Redhat

Related Article

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.