小黄 发布的文章

隐藏apache版本号的方法

httpd.conf 查找Include conf/extra/httpd-default.conf把前面#去掉,并修改文件为ServerTokens Prod ServerSignature off

隐藏php版本号的方法

php.ini将默认的expose_php = On修改为expose_php = Off重启php service httpd restart

linux crontab 定时器设置

命令crontab -e添加:00 10 * * * /usr/bin/curl http:/www.xxxx.com/xxxx.php上面语句表示每天10点访问一次php文件";

git基本命令

git init 变成可以管理的仓库 git status 查看当前状态 git add .添加到仓库中 git commit -m "XXXXX" 提交到仓库 git remote add origin https://github.com/littleFFFF... 仓库进行关联 git push -u origin master 推送到远程仓库(第一次需要) ...