原创 require(): open_basedir restriction in effect

LNMP環境安裝Laravel,在nginx.conf將root指向項目的public目錄的時候(如:root /home/wwwroot/laravel/public),瀏覽器運行報500錯誤,錯誤信息爲:Warning: requir

原创 Mysql常用命令錦集

1、統計指定數據庫中的表的行數: use information_schema;select table_name,table_rows from tables where TABLE_SCHEMA = 'databasename' ord

原创 Nginx 漏洞 (CVE-2018-16843,CVE-2018-16844)

近日 nginx 被爆出存在安全問題,有可能會致使 1400 多萬臺服務器易遭受 DoS ***。而導致安全問題的漏洞存在於 HTTP/2 和 MP4 模塊中。 nginx Web 服務器於 11 月 6 日 發佈了新版本 ,用於修復影響

原创 Composer安裝配置

Composer安裝1、下載https://getcomposer.org/download/ 2、複製到系統變量目錄cp composer.phar /usr/local/bin/composerchmod -R 755 /usr/loc

原创 Composer安裝配置

Composer安裝1、下載https://getcomposer.org/download/ 2、複製到系統變量目錄cp composer.phar /usr/local/bin/composerchmod -R 755 /usr/loc

原创 Centos安裝fabric 報錯:error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function)

Centos安裝fabric 報錯:error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function)需要安裝libffi-develDebian或Ubuntu需要安裝libff

原创 Centos6 下安裝 ELK6.4.1

資源路徑JAVAhttp://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html ELKhttps://www.elastic.co/ 安

原创 Centos6安裝Zabbix3.4.3

yum -y remove php php-bcmath php-cli php-common php-devel php-fpm php-gd php-imap php-ldap php-mbstring php-mcrypt