微擎网站搬家遇到的问题总结
Server

微擎网站搬家遇到的问题总结

1666

数据库导出:本来以为一条命令搞定的事,输入命令mysqldump -u root -p sourcedatabase> aa.sql 回车输入密码后提示拒绝访问锁了的表,这个好解决,把命令加个参数就好了,改成如下命令:mysqldump -u 

如何解决mysql服务经常会自动终止的问题
Server

如何解决mysql服务经常会自动终止的问题

671

最近在帮客户网站搬家的时候遇到一个比较奇怪的问题,网站搬家后服务器的mysql服务偶尔会莫名其妙的自动终止,而重启服务会报“ERROR! The server quit without updating PID file”这个错误,开始认为对方的服务器被攻击了,经过一番

Linux netstat命令详解
Server

Linux netstat命令详解

609

简介Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等,可以和查看登陆用户配合使用检测服务器异常行为。输出信

SSH如何用秘钥对登陆远程服务器
Server

SSH如何用秘钥对登陆远程服务器

839

最近自己的服务器经常遭到暴力破解密码,虽然密码设置的很强悍但还是心有余悸,索性设置了秘钥对登陆并禁止掉密码登陆,这里和大家分享下配置方法:对于阿里云来说操作非常简单,只需要在控制台-》云服务器ECS-》网络和安全-》秘钥对-》创建秘钥对-》绑定秘钥对-》下载私钥 即可,

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 81: file_put_contents(): Only 0 of 269 bytes written, possibly out of free disk space

  1. in Filesystem.php line 81
  2. at HandleExceptions->handleError('2', 'file_put_contents(): Only 0 of 269 bytes written, possibly out of free disk space', '/data/home/qxu1649280102/htdocs/local/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', '81', array('path' => '/data/home/qxu1649280102/htdocs/local/storage/framework/sessions/ed5e56233d837b71616fea18182ff95d0ea39cd6', 'contents' => 'a:4:{s:6:"_token";s:40:"EefUZPxMxgI0CkZM8Xay6bE4ieLws2OBJUYPBhuv";s:9:"_previous";a:1:{s:3:"url";s:32:"http://icodes.cc/category/server";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822235;s:1:"c";i:1542822235;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
  3. at file_put_contents('/data/home/qxu1649280102/htdocs/local/storage/framework/sessions/ed5e56233d837b71616fea18182ff95d0ea39cd6', 'a:4:{s:6:"_token";s:40:"EefUZPxMxgI0CkZM8Xay6bE4ieLws2OBJUYPBhuv";s:9:"_previous";a:1:{s:3:"url";s:32:"http://icodes.cc/category/server";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822235;s:1:"c";i:1542822235;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', '2') in Filesystem.php line 81
  4. at Filesystem->put('/data/home/qxu1649280102/htdocs/local/storage/framework/sessions/ed5e56233d837b71616fea18182ff95d0ea39cd6', 'a:4:{s:6:"_token";s:40:"EefUZPxMxgI0CkZM8Xay6bE4ieLws2OBJUYPBhuv";s:9:"_previous";a:1:{s:3:"url";s:32:"http://icodes.cc/category/server";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822235;s:1:"c";i:1542822235;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true) in FileSessionHandler.php line 83
  5. at FileSessionHandler->write('ed5e56233d837b71616fea18182ff95d0ea39cd6', 'a:4:{s:6:"_token";s:40:"EefUZPxMxgI0CkZM8Xay6bE4ieLws2OBJUYPBhuv";s:9:"_previous";a:1:{s:3:"url";s:32:"http://icodes.cc/category/server";}s:9:"_sf2_meta";a:3:{s:1:"u";i:1542822235;s:1:"c";i:1542822235;s:1:"l";s:1:"0";}s:5:"flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in Store.php line 262
  6. at Store->save() in StartSession.php line 88
  7. at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 145
  8. at Kernel->terminate(object(Request), object(Response)) in index.php line 60