既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上软件测试知识点,真正体系化!
由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新
ldconfig
ln -sf /usr/local/freetype/include/freetype2/* /usr/include/
wget https://soft.vpser.net/lib/jemalloc/jemalloc-5.0.1.tar.bz2
tar jxf jemalloc-5.0.1.tar.bz2
cd jemalloc-5.0.1
./configure
make && make install
ldconfig
ln -sf /usr/local/lib/libjemalloc* /usr/lib/
ln -sf /usr/lib64/libpng.* /usr/lib/
ln -sf /usr/lib64/libjpeg.* /usr/lib/
ulimit -v unlimited
if [ grep -L "/lib" '/etc/ld.so.conf'
]; then echo “/lib” >> /etc/ld.so.conf; fi
if [ grep -L '/usr/lib' '/etc/ld.so.conf'
]; then echo “/usr/lib” >> /etc/ld.so.conf; fi
if [ -d “/usr/lib64” ] && [ grep -L '/usr/lib64' '/etc/ld.so.conf'
]; then echo “/usr/lib64” >> /etc/ld.so.conf; fi
if [ grep -L '/usr/local/lib' '/etc/ld.so.conf'
]; then echo “/usr/local/lib” >> /etc/ld.so.conf; fi
ldconfig
vim /etc/security/limits.conf
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
echo “fs.file-max=65535” >> /etc/sysctl.conf
wget https://soft.vpser.net/lib/boost/boost_1_59_0.tar.bz2
tar jxf boost_1_59_0.tar.bz2
wget https://soft.vpser.net/datebase/mysql/mysql-5.7.22.tar.gz
tar zxf mysql-5.7.22.tar.gz
cd mysql-5.7.22
cmake -DCMAKE_INSTALL_PREFIX=/application/mysql5.7.22 \
-DSYSCONFDIR=/etc \
-DWITH_MYISAM_STORAGE_ENGINE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_PARTITION_STORAGE_ENGINE=1 \
-DWITH_FEDERATED_STORAGE_ENGINE=1 \
-DEXTRA_CHARSETS=all \
-DDEFAULT_CHARSET=utf8mb4 \
-DDEFAULT_COLLATION=utf8mb4_general_ci \
-DWITH_EMBEDDED_SERVER=1 \
-DENABLED_LOCAL_INFILE=1 \
-DWITH_BOOST=/application/software/boost_1_59_0
make && make install
vim /etc/ld.so.conf.d/mysql.conf
/application/mysql5.7.22/lib
/usr/local/lib64
ldconfig
ln -sf /application/mysql5.7.22/lib/mysql /usr/lib/mysql
ln -sf /application/mysql5.7.22/include/mysql /usr/include/mysql
wget https://soft.vpser.net/web/php/php-5.6.30.tar.bz2
tar jxf php-5.6.30.tar.bz2
cd php-5.6.30
groupadd www
useradd -s /sbin/nologin -g www www
./configure --prefix=/application/php5.6.30 \
--with-config-file-path=/application/php5.6.30/etc \
--with-config-file-scan-dir=/application/php5.6.30/conf.d \
--enable-fpm \
--with-fpm-user=www \
--with-fpm-group=www \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-iconv=/usr/local/libiconv \
--with-freetype-dir=/usr/local/freetype \
--with-jpeg-dir \
--with-png-dir \
--with-zlib \
--with-libxml-dir=/usr \
--enable-xml \
--disable-rpath \
--enable-bcmath \
--enable-shmop \
--enable-sysvsem \
--enable-inline-optimization \
--with-curl \
--enable-mbregex \
--enable-mbstring \
--with-mcrypt \
--enable-ftp \
--with-gd \
--enable-gd-native-ttf \
--with-openssl \
--with-mhash \
--enable-pcntl \
--enable-sockets \
--with-xmlrpc \
--enable-zip \
--enable-soap \
--with-gettext \
--enable-opcache \
--enable-intl \
--with-xsl
make && make install
mkdir -p /application/php5.6.30/{etc,conf.d}
cp php.ini-production /application/php5.6.30/etc/php.ini
sed -i ‘s/post_max_size =.*/post_max_size = 50M/g’ /application/php5.6.30/etc/php.ini
sed -i ‘s/upload_max_filesize =.*/upload_max_filesize = 50M/g’ /application/php5.6.30/etc/php.ini
sed -i ‘s/;date.timezone =.*/date.timezone = PRC/g’ /application/php5.6.30/etc/php.ini
sed -i ‘s/short_open_tag =.*/short_open_tag = On/g’ /application/php5.6.30/etc/php.ini
sed -i ‘s/;cgi.fix_pathinfo=.*/cgi.fix_pathinfo=0/g’ /application/php5.6.30/etc/php.ini
sed -i ‘s/max_execution_time =.*/max_execution_time = 300/g’ /application/php5.6.30/etc/php.ini
sed -i ‘s/disable_functions =.*/disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server/g’ /application/php5.6.30/etc/php.ini
vim /application/php5.6.30/etc/php-fpm.conf
[global]
pid = /application/php5.6.30/var/run/php-fpm.pid
error_log = /application/php5.6.30/var/log/php-fpm.log
log_level = notice
[www]
listen = /tmp/php-cgi.sock
listen.backlog = -1
listen.allowed_clients = 127.0.0.1
listen.owner = www
listen.group = www
listen.mode = 0666
user = www
group = www
pm = dynamic
pm.max_children = 10
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 6
request_terminate_timeout = 100
request_slowlog_timeout = 0
slowlog = var/log/slow.log
sed -i “s#pm.max_children.*#pm.max_children = 80#” /application/php5.6.30/etc/php-fpm.conf
sed -i “s#pm.start_servers.*#pm.start_servers = 40#” /application/php5.6.30/etc/php-fpm.conf
sed -i “s#pm.min_spare_servers.*#pm.min_spare_servers = 40#” /application/php5.6.30/etc/php-fpm.conf
sed -i “s#pm.max_spare_servers.*#pm.max_spare_servers = 80#” /application/php5.6.30/etc/php-fpm.conf
wget https://soft.vpser.net/lib/openssl/openssl-1.0.2o.tar.gz
tar zxf openssl-1.0.2o.tar.gz
wget https://soft.vpser.net/web/nginx/nginx-1.14.2.tar.gz
tar zxf nginx-1.14.2.tar.gz
cd nginx-1.14.2
./configure --user=www \
--group=www \
--prefix=/application/nginx1.14.2 \
--with-openssl=/application/software/openssl-1.0.2o \
--with-http_stub_status_module \
--with-http_ssl_module \
--with-http_v2_module \
--with-http_gzip_static_module \
--with-http_sub_module \
--with-stream \
--with-stream_ssl_module \
--with-ld-opt=‘-ljemalloc’
make && make install
#nginx.conf
location ~ .php$ {
root html;
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
d
o
c
u
m
e
n
t
_
r
o
o
t
document\_root
document_rootfastcgi_script_name;
include fastcgi_params;
}
#vim /etc/rc.local
/application/php5.6.30/sbin/php-fpm
/application/nginx1.14.2/sbin/nginx
#install opache : https://www.wordpressleaf.com/2017_1699.html
cd /application/software/php-5.6.30/ext/opcache
/application/php5.6.30/bin/phpize
./configure --with-php-config=/application/php5.6.30/bin/php-config
网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!