摘要:
netstat -ano |findstr "8000" 可以查看占用端口的进程 tasklist |findstr "12632" 根据进程ID查看程序详情信息 阅读全文
摘要:
openssl genrsa -out rsa_private_key.pem 1024 openssl rsa -in rsa_private_key.pem -pubout -out rsa_public_key.pem 阅读全文
摘要:
pt-online-schema-change --host=host --user=user --password=pass --alter "modify column reason varchar(150) DEFAULT NULL" P=3306,D=dbname,t=tabname --e 阅读全文
摘要:
sudo yum install yum-changelogyum changelog httpd yum install -y epel-release cd /etc/yum.repos.d && wget https://repo.codeit.guru/codeit.el`rpm -q -- 阅读全文
摘要:
修改php.inizend_loader.enable = 1zend_extension=/usr/lib64/php/modules/ZendGuardLoader.soextension=redis.so session.save_handler = redissession.save_pat 阅读全文
摘要:
CentOS 6sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-re 阅读全文
摘要:
把一段文本粘到vim发现有很多奇怪的字符串,<200b>, 后来查了下是0宽度字符串,然后删除呢: $value = str_replace("\xe2\x80\x8b", '', $value); 阅读全文
摘要:
tar -zxvf ZendGuardLoaderr.gz cp ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x/ZendGuardLoader.so /usr/lib64/php/modules/ZendGuardLoader.so 修 阅读全文
摘要:
svn revert 文件名 阅读全文