How to install all kinds of related software under the operation of CentOS system
This article introduces you how to install all kinds of software under the operation of the CentOS system, the content is very detailed, interested friends can refer to, hope to be helpful to you.
The CentOS system is a very powerful system that is often used, so I will discuss and study the CentOS system in depth and give you a summary of the application of the CentOS system. I hope it will be useful to you. Although CentOS Linux uses the source code of RHEL, because the source code is freely distributed by Red Hat, the release of CentOS Linux is completely legal, and users of CentOS Linux will not encounter any copyright problems. CentOS is aimed at those who need the stability of enterprise-class operating systems, and there is no overhead in authentication and support.
CentOS system installs mysql
[root@mail build] # yum install mysql-server
[root@mail build] # yum install mysql-devel
CentOS system installs apache
[root@mail build] # yum install httpd
CentOS system installs php
[root@mail build] # yum install php
[root@mail build] # yum install php-mysql
[root@mail build] # yum install php-gd
[root@mail build] # yum install php-imap
[root@mail build] # yum install vsftpd
[root@mail build] # yum install clamav
[root@mail build] # yum install spamassassin
[root@mail build] # / usr/bin/freshclam
CentOS system Settings apache
Default: User apache changed to User postfix
Change the default Group apache to Group postfix
Change the default AddDefaultCharset UTF-8 to AddDefaultCharset gb2312
New addition: AddType application/x-httpd-php .phpAddType application/x-httpd-php-source .phps
CentOS system installs phpMyAdmin
[root@mail build] # tar-zxf.. / src/phpMyAdmin-2.8.0.1.tar.gz
[root@mail build] # mv phpMyAdmin-2.8.0.1 / var/www/html/dbadmin/
[root@mail build] # cp / var/www/html/dbadmin/libraries/config.default.php / var/www/html/dbadmin/dbadmin/libraries/config.inc.php (line 1.)
CentOS system Settings Database [root@mail build] # mysql
Mysql > create datases postfix
Mysql > use mysql
Mysql > INSERT INTO user (host,user,password) VALUES ('localhost','postfix','')
Mysql > update user set password=password ('postfix') where User='postfix'
Mysql > GRANT ALL ON postfix.* TO postfix@localhost IDENTIFIED BY "postfix"
Mysql > exit
[root@mail build] tar-zxf.. / src/webmail.tar.gz
[root@mail build] mysql-u root-p postfix < Tmail.sql
Add users and groups to postfix
[root@mail build] groupadd-g 12345 postfix
[root@mail build] useradd-u 12345-g 12345-c postfix-d/dev/null-s/sbin/nologin postfix
[root@mail build] groupadd-g 54321 postdrop
On how to install relevant software under the CentOS system operation is shared here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.