 |
|
|
|
yum groupinstall "Development Tools"
yum groupinstall "Minimal Install"
yum update
yum -y install httpd-devel mod_ssl
systemctl start httpd
systemctl enable httpd
yum install -y --enablerepo=remi,remi-php56 php php-devel php-pear php-mbstring php-xml php-mcrypt php-gd php-pecl-xdebug php-opcache php-pecl-apcu php-fpm php-phpunit-PHPUnit php-mysqlnd
yum install php php-devel php-pear php-bcmath php-xml php-gd php-ldap php-mysql php-gd php-mbstring
yum -y install postgresql postgresql-server postgresql-libs
chkconfig postgresql on
yum -y install php-pgsql
yum -y install php-pear
yum -y install samba
vi /etc/sysconfig/selinux
/etc/rc.d/init.d/postgresql initdb
postgresql-setup initdb
cd /var/lib/pgsql/data
/bin/systemctl start postgrsql
/bin/systemctl start postgresql.service
http://rpms.remirepo.net/enterprise/7/php56/x86_64/repoview/
yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum clean all
yum update -y
yum install --enablerepo=remi,remi-php56 php php-pdo php-mbstring php-common php-cli php-mysql php-devel php-pgsql
systemctl restart httpd.service
yum localinstall http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm
cd /etc/yum.repos.d/
yum install -y mysql-community-server
systemctl start mysqld
systemctl enable mysqld
cat /var/log/mysqld.log | grep root
mysql -u root -p
[root@v133-18-242-109 yum.repos.d]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.7.44
Copyright (c) 2000, 2023, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> set password for root@localhost = 'A-QVPpTF7v8M';
Query OK, 0 rows affected (0.00 sec)
mysql> quit;
Bye
adduser kscat
passwd kscat
pdbedit -a kscat
vi /etc/samba/smb.conf
systemctl start smb
systemctl enable smb
vi /etc/my.cnf
systemctl restart mysqld
yum install -y --enablerepo=remi-php56 phpMyAdmin
yum install -y --enablerepo=remi-php56 phpMyAdmin
|
|
|