Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager. Package gcc-4.8.5-28.el7.x86_64 already installed and latest version Package gcc-c++-4.8.5-28.el7.x86_64 already installed and latest version Package apr-1.4.8-3.el7_4.1.x86_64 already installed and latest version Package apr-util-1.5.2-6.el7.x86_64 already installed and latest version Package autoconf-2.69-11.el7.noarch already installed and latest version Package automake-1.13.4-3.el7.noarch already installed and latest version Package bison-3.0.4-1.el7.x86_64 already installed and latest version Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version Nothing to do
[root@localhost ~]# tar -xzvf cmake-2.8.11.2.tar.gz [root@localhost ~]# cd cmake-2.8.11.2 [root@localhost ~]# ./configure [root@localhost ~]# make [root@localhost ~]# make install
[root@localhost ~]# tar -xzvf pcre-8.35.tar.gz [root@localhost ~]# cd pcre-8.35 [root@localhost ~]# ./configure --prefix=/usr/local/pcre [root@localhost ~]# make [root@localhost ~]# make install
[root@localhost ~]# tar -xzvf openssl-1.0.1h.tar.gz [root@localhost ~]# cd openssl-1.0.1h [root@localhost ~]# ./config --prefix=/usr/local/openssl [root@localhost ~]# make [root@localhost ~]# make install
[root@localhost ~]# tar -xzvf zlib-1.2.8.tar.gz [root@localhost ~]# cd zlib-1.2.8 [root@localhost ~]# ./configure --prefix=/usr/local/zlib [root@localhost ~]# make [root@localhost ~]# make install
.... New default config file was created as /usr/local/mysql//my.cnf and will be used by default by the server when you start it. You may edit this file to change server settings
[root@localhost mysql]# vim /etc/rc.d/init.d/mysqld
43 # If you change base dir, you must also change datadir. These may get 44 # overwritten by settings in the MySQL configuration files. 45 46 basedir= /usr/local/mysql 47 datadir= /usr/local/mysql/data 48 49 # Default value, in seconds, afterwhich the script should timeout waiting 50 # for server start.
[root@localhost ~]# chkconfig mysqld on [root@localhost ~]# chkconfig --list mysqld
Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'. To see services enabled on particular target use 'systemctl list-dependencies [target]'.
[root@localhost ~]# mysql_secure_installation [root@localhost ~]# mysql -uroot -p1233 Warning: Using a password on the command line interface can be insecure. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 18 Server version: 5.6.19 Source distribution
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
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'forhelp. Type '\c' to clear the current input statement.
[root@localhost ~]# tar -xzvf yasm-1.2.0.tar.gz [root@localhost ~]# cd yasm-1.2.0 [root@localhost ~]# ./configure [root@localhost ~]# make [root@localhost ~]# make install
2.libmcrypt是用于加密算法的扩展库程序.
[root@localhost ~]# tar -xzvf libmcrypt-2.5.8.tar.gz [root@localhost ~]# cd libmcrypt-2.5.8 [root@localhost ~]# ./configure [root@localhost ~]# make [root@localhost ~]# make install
3.libvpx是用于提供视频编码器服务的程序.
[root@localhost ~]# tar -xjvf libvpx-v1.3.0.tar.bz2 [root@localhost ~]# cd libvpx-v1.3.0 [root@localhost ~]# ./configure --prefix=/usr/local/libvpx --enable-shared --enable-vp9 [root@localhost ~]# make [root@localhost ~]# make install
4.tiff是用于提供标签图像文件格式的服务程序.
[root@localhost ~]# tar -xzvf tiff-4.0.3.tar.gz [root@localhost ~]# cd tiff-4.0.3 [root@localhost ~]# ./configure --prefix=/usr/local/tiff --enable-shared [root@localhost ~]# make [root@localhost ~]# make install
5.libpng是用于提供png图片格式支持函数库的服务程序.
[root@localhost ~]# tar -xzvf libpng-1.6.12.tar.gz [root@localhost ~]# yum install -y zlib zlib-devel [root@localhost ~]# ./configure --prefix=/usr/local/libpng --enable-shared [root@localhost ~]# make [root@localhost ~]# make install
6.freetype是用于提供字体支持引擎的服务.
[root@localhost ~]# tar -xzvf freetype-2.5.3.tar.gz [root@localhost ~]# cd freetype-2.5.3 [root@localhost ~]# ./configure --prefix=/usr/local/freetype -enable-shared [root@localhost ~]# make [root@localhost ~]# make install
7.jpeg是用于提供jpeg图片格式支持的函数库.
[root@localhost ~]# tar -xzvf jpegsrc.v9a.tar.gz [root@localhost ~]# cd jpeg-9a [root@localhost ~]# ./configure --prefix=/usr/local/jpeg --enable-shared [root@localhost ~]# make [root@localhost ~]# make install
8.libgd是用于提供图形处理的服务.
[root@localhost ~]# tar -xzvf libgd-2.1.0.tar.gz [root@localhost ~]# cd libgd-2.1.0 [root@localhost ~]# ./configure --prefix=/usr/local/libgd --with-jpeg=/usr/local/jpeg \ --with-freetype=/usr/local/freetype --with-tiff=/usr/local/tiff --with-vpx=/usr/local/libvpx [root@localhost ~]# make [root@localhost ~]# make install
9.tlib是用于提供图片生成函数库的服务程序.
[root@localhost ~]# tar -xzvf t1lib-5.1.2.tar.gz [root@localhost ~]# cd t1lib-5.1.2 [root@localhost ~]# ./configure --prefix=/usr/local/t1lib --enable-shared [root@localhost ~]# make [root@localhost ~]# make install
cp -a php.ini-development /usr/local/php7/lib/php.ini cp -a /usr/local/php7/etc/php-fpm.conf.default /usr/local/php7/etc/php-fpm.conf cp -a sapi/fpm/php-fpm /usr/local/bin
Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'. To see services enabled on particular target use 'systemctl list-dependencies [target]'.