{"action":"opened","issue":{"url":"https://api.github.com/repos/thinkuncle/thinkuncle.github.io/issues/110","repository_url":"https://api.github.com/repos/thinkuncle/thinkuncle.github.io","labels_url":"https://api.github.com/repos/thinkuncle/thinkuncle.github.io/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/thinkuncle/thinkuncle.github.io/issues/110/comments","events_url":"https://api.github.com/repos/thinkuncle/thinkuncle.github.io/issues/110/events","html_url":"https://github.com/thinkuncle/thinkuncle.github.io/issues/110","id":166035567,"number":110,"title":"JSP 服务部署懒人集成包 — XAMPP","user":{"login":"thinkuncle","id":16120626,"avatar_url":"https://avatars.githubusercontent.com/u/16120626?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkuncle","html_url":"https://github.com/thinkuncle","followers_url":"https://api.github.com/users/thinkuncle/followers","following_url":"https://api.github.com/users/thinkuncle/following{/other_user}","gists_url":"https://api.github.com/users/thinkuncle/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkuncle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkuncle/subscriptions","organizations_url":"https://api.github.com/users/thinkuncle/orgs","repos_url":"https://api.github.com/users/thinkuncle/repos","events_url":"https://api.github.com/users/thinkuncle/events{/privacy}","received_events_url":"https://api.github.com/users/thinkuncle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thinkuncle/thinkuncle.github.io/labels/%E5%B7%A5%E5%85%B7","name":"工具","color":"5319e7"},{"url":"https://api.github.com/repos/thinkuncle/thinkuncle.github.io/labels/%E6%9E%B6%E6%9E%84%E4%B8%8E%E8%BF%90%E7%BB%B4","name":"架构与运维","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-18T07:37:56Z","updated_at":"2016-07-18T07:37:56Z","closed_at":null,"body":"## 介绍\r\nXAMPP（Apache+MySQL+PHP+PERL）是一个功能强大的建站集成软件包,支持linux、 windows、 OS X多平台部署，linux生产环境居多用原生的最保险，windows平台部署懒人模式可以考虑， XAMPP只是一个懒人包的替代， 当然前提是部署JSP程序要安装JDK.\r\n[https://www.apachefriends.org](https://www.apachefriends.org)\r\n\r\n## windows移除服务\r\n在做这个流程之前，我安装环境已有一些相同服务类似tomcat、mysql这类导致启动异常，所以我首先要做的就是先迁移服务。\r\n按常理直接命令行使用(报错请检查权限)\r\n```\r\nsc delete 服务名\r\n```\r\n**服务名**在windows服务列表可以找到，（图上传不上来，文字描述吧）服务列表选中服务->右键属性->常规-> 服务名 \r\n\r\n## 更新数据库密码\r\n数据库密码默认为空的，操作是修改库里面user 表\r\n```\r\nupdate user set password = PASSWORD('123456') where user = 'root'\r\n```\r\n\r\n## phpMyAdmin 配置数据库密码\r\n apache/config-inc.php 配置文件\r\n```\r\n$cfg['Servers'][$i]['password'] = '123456';\r\n```\r\n\r\n## xampp开机启动服务\r\n以管理员模式启动xampp，点击面板服务前面的X,  等X变成了勾之后，选中项就会自动注册成服务开机启动了。\r\n\r\n## 远程不重启情况，让windows 刷新\r\n为了节约时间和提高效率这点非常重要，在不重复远程的情况下解决一些环境生效的问题真的是很重要的问题。"}}
{"actor":{"display_login":"thinkuncle"}}