CentOS

CentOS

LNMP环境调优

系统方面做如下优化[root@xxxxxxxxconf]#ulimit-n65535[root@xxxxxxxxconf]#more/proc/sys/net/core/somaxconn128[root@xxxxxxxxconf]#echo50000>/proc/sys/net/core/somaxconn#设置最大连接数[root@xxxxxxxxconf]#more/proc/sys/net/core/somaxconn50000[root@xxxxxxxxconf]#cat/pro...
CentOS

利用certbot配置Let's Encrypt的SSL证书,使站点支持HTTPS

Let's Encrypt提供的SSL证书是免费的!!!由于Let's Encrypt签发的证书很可信,但一开始 Let’s Encrypt 的安全证书配置起来比较麻烦,需要手动获取及部署。存在一定的门槛,所以后来有开发了Certbot这个工具,简单的执行几个命令就自动安装好了。一、先保证你的网站能...
CentOS

将自己的软件程序提交到packagist资源库中

一、composer安装Linux全局安装curl-sShttps://getcomposer.org/installer|phpmvcomposer.phar/usr/local/bin/composerwindows安装Composer-Setup.zip查看composer配置composerconfig-l-g二、创建自己项目的composer.json文件cdprojectcomposerinit三、composer安装composerinstall在...
CentOS

centos7.2配置vsftp服务器

yuminstall-yvsftpd/etc/vsftpd/vsftpd.conf是核心配置文件。/etc/vsftpd/ftpusers是黑名单文件,此文件里的用户不允许访问 FTP 服务器。/etc/vsftpd/user_list是白名单文件,是允许访问 FTP 服务器的用户列表。运行以下命令设置开机自启动systemctlenablevsftpd.service运行以下...
CentOS

Shadowsocks系统代理安装(类似VPN)

一、安装wget--no-check-certificatehttps://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.shchmod+xshadowsocksR.sh./shadowsocksR.sh2>&1|teeshadowsocksR.log安装完成后,脚本提示如下:Congratulations, ShadowsocksR server install comple...
CentOS

VirtualBox全屏显示

1、开启虚拟机并登录系统2、在VirtualBox虚拟系统界面工具栏中选择“设备”->“安装增强功能”在安装VirtualBox增强工具的时候提示下列错误Pleaseinstallthegccmakeperlpackagesfromyourdistribution.PleaseinstalltheLinuxkernel"header"filesmatchingthecurrentkernelforaddingnewh...
CentOS

Linux下SCP的使用

一、下载远程文件到本地scp-i/Users/user/ssh/id_rsaroot@192.168.1.8:/root/talk_server_redis/dump.rdb/Users/kba/dev_dump0710.rdb二、将本地文件上传到远程服务器scp-i/Users/user/ssh/id_rsa/Users/kba/dev_dump0710.rdbroot@192.168.1.8:/home/deploy/talk_server_redis/dump.rdb
CentOS

lnmp1.4 安装php fileinfo扩展

第一步:在lnmp1.4找到php安装的版本使用命令 tar -jxvf php-7.1.7.tar.bz2 解压第二步: 在解压的php-7.1.7文件夹里找到fileinfo文件夹,然后使用命令 cd /home/xxx/lnmp1.4/src/php-7.1.7/ext/fileinfo 进入到fileinfo文件夹第三步:/usr/local/php/bin/phpize,得到数...
热门搜索词