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