Hope Have Good tech
Linux extend php apache server mvc java
摘要: 最近给一个朋友做服务器配置,他买的一个独立的服务器,因为服务器商防火墙的设置,很多网络访问都被禁用(比如Ping, 怀疑他们的能力);我想让朋友用GUI工具直接访问远程数据库,不过可恶的是尽管配置了Mysql 服务器绑定远程地址,还是不能访问;尝试用 SSH 隧道来代理访问了;执行这条命令:ssh -L 3306:localhost:3306 romote_user@remote_server_address语法是: ssh -L <localport>hostname<remoteport> <username>@<servername>这条命 阅读全文
posted @ 2011-10-15 15:05 JackeyChan 阅读(551) 评论(0) 推荐(1) 编辑
摘要: Yesterday a friend was requesting a MYSQL/PHP Consultant to speed up his websites, and today I was reading few comments and solutions on his facebook : Use APC, mem_cache for PHP, mysql query caching, use nginx instead of Apache, Use mysqli extension instead of adodb or mysql extension ... etc. Of c 阅读全文
posted @ 2010-12-26 00:55 JackeyChan 阅读(245) 评论(0) 推荐(0) 编辑
摘要: note: I copy below example from internet.Below is a simple program using node.js for translating text using google API.This simple example does not to justice to the true power of node.js. I’ll be posting useful examples in the near future. Keep watching. 阅读全文
posted @ 2010-12-23 21:06 JackeyChan 阅读(216) 评论(0) 推荐(0) 编辑
摘要: step by step:1. Should install certain libraries:sudo apt-get install g++ curl libssl-dev apache2-utils2. Now, Download node.js with GIT3.You are ready to install node.jscd node./configuremakesudo make installnote:if need, you can type : sudo apt-get install git-core to install GIT. 阅读全文
posted @ 2010-12-23 20:57 JackeyChan 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Xdebug is a PHP debugger with nice Eclipse integration. Here are some instructions for installing it (assuming you already have Apache 2 and PHP 5).This article explains in more detail, but isn't Ubuntu-specific. It does detail Eclipse configuration for Xdebug in detail, though.You need to be root t 阅读全文
posted @ 2010-12-22 12:49 JackeyChan 阅读(220) 评论(0) 推荐(0) 编辑
摘要: ps -ef | grep eclipsekill PID 阅读全文
posted @ 2010-12-21 14:34 JackeyChan 阅读(177) 评论(0) 推荐(0) 编辑
摘要: How chmod worksChmod works by changing the mode of parameters on files and directories. If you look at an extended listing of a file you will see something like this:-rw-r--r-- 1 jlwallen jlwallen 4096 2008-11-14 12:56 test1Here is a breakdown of what you are seeing:-rw-r--r-- : These are the actual 阅读全文
posted @ 2010-12-20 12:43 JackeyChan 阅读(137) 评论(0) 推荐(0) 编辑
摘要: See all color.* options in the git config docsOr, you can set all of them on with the color.ui option: 阅读全文
posted @ 2010-12-20 11:46 JackeyChan 阅读(726) 评论(0) 推荐(0) 编辑
摘要: Virtual Hosting allow web servers to host more than one website on a sing machine. This is how sharing hosting works. I become pretty handy as well while develloping different web project on the same machine and allows you to access to your local repository using addresses such as http://dev.mysite. 阅读全文
posted @ 2010-12-20 11:31 JackeyChan 阅读(297) 评论(0) 推荐(0) 编辑
摘要: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvP1sZVAVJFjf2cQk5jkX6U0bxhal2fTlHSbPNXdtgAYHDqobfUtWwcOAeUqxUWnP40GJZojYBll1Pj9xeaf5yZl3HbYrFYivl0PX3iRDxAAbxpLMd9OBe7dDaGL+hO4xAka56fEvGJu7im0qX4RzQGoSK+0+jvlhUYugp5F1FmYTgBya53ZpChHc3lTR12ByzG6HfxjbzMSuCIYYeW3+CPdj+MyYqQpYrICcnD0kWCF9U5ciRjVz4m3zhqTXBDSTbM6NG5Fk 阅读全文
posted @ 2010-12-14 10:56 JackeyChan 阅读(243) 评论(0) 推荐(0) 编辑