平安夜快乐啊。。。
不想多写了。否则明天就又该说圣诞节快乐了。哈哈
少男少女们可以出去约会了。我是木有机会了啦 。。
Submitted by gouki on 2009, December 24, 4:25 PM
平安夜快乐啊。。。
不想多写了。否则明天就又该说圣诞节快乐了。哈哈
少男少女们可以出去约会了。我是木有机会了啦 。。
Submitted by gouki on 2009, December 24, 4:14 PM
同事需要,就写了个插件 。。。。
原来我也写过两个,但这次是正式为jQuery写的插件。。。
原来的两篇在这里:
Submitted by gouki on 2009, December 24, 2:48 PM
这两天在写公司的程序,也在想着把自己的sbPHP【SuperBase PHP】做好,正好遇到一朋友在试用CRM,突然想起,其实我的服务器基本上还空着。如果我装上CRM,是不是也可以让人使用呢?
于是找了点资料:The Top 10 Open-Source CRM Solutions ,看了一下,这些CRM中,有一些是不能够被我所使用的。。。因为我的服务器终究是只支持LAMP的。所以,只有三个程序可以被支持:
1. SugarCRM Inc. is the 800-pound gorilla in the open-source CRM category. Founded in 2004 by John Roberts, Clint Oram and Jacob Taylor, the Sugar open-source code has been downloaded more than 3 million times. The company has received $26 million in venture financing and employs more than 100 people. More than 12,000 companies use SugarCRM including Honeywell International, Starbucks Corp., First Federal Bank and BDO Seidman LLP. SugarCRM is written in PHP and is compatible with the MySQL database.
6. Vtiger CRM is built upon the LAMP/WAMP (Linux/Windows, Apache, MySQL and PHP) architecture, with the main development team based in Chennai, India. Vtiger CRM includes SFA (Sales Force Automation), customer-support and -service, marketing automation, inventory-management, multiple database support, security-management, product-customization, calendaring and email-integration features. It also offers add-ons (Outlook Plug-in, Office Plug-in, Thunderbird Extension, Customer Self-service Portal and Web Forms) and support for other add-ons. Vtiger is written in JavaScript, PHP and Visual Basic. It is compatible with ADOdb, MySQL and PostgreSQL databases.
8. XRMS CRM is a Web-based application suite that incorporates human-resources management, SFA and CRM. It is an on-premise solution for the small to midsize company. XRMS CRM includes computer telephony integration and the ability to add plug-ins for programs such as Outlook. XRMS CRM is operating-system independent, and it is written in an interpreted language (PHP). Compatible databases include ADOdb, SQL-based, Microsoft SQL Server, MySQL and other network-based DBMS.
好象sugarCRM和vtiger仿佛是一家的。。以前在篱笆的时候,还用过一个简单的CRM,不记得是什么名字了。。【找到了,是http://www.group-office.com/】
如果您需要在线的CRM也可以联系我哦。呵呵【随便说说。。。】
Submitted by gouki on 2009, December 24, 2:10 PM
我用的vps是rashost的,装的是64位的ubuntu,9.10哦,最新版的。朋友在上面装个程序,结果发现无法运行。才想起来还没有安装ZendOptimizer。
找了一下ubuntu下如何安装的,却又搜索到Rashost的官方介绍。。。打开看了一下,没排过版。汗死。
原文内容如下:
不过,由于我装的是64位的,就没有办法这样安装了。所以我去官方下载了64位的ZendOptimizer。并解压到服务器上。却发现,根本没有上文说的install.sh
打开readme看了一下,才发现,原来在linux下面,居然只需要加一行代码就行了
当然,这或许是3.3.9独有的安装方式,反正而不需象windows那样先设置 zend_extenstion_ts,再设置zend_extension_manager.optimizer_ts了
添加了这一行后,运行/etc/init.d/apache2 restart ,再新建一个phpinfo的文件,发现里面已经有了zend optimizer的信息了。
最后提供一下64位的zendoptimizer的下载地址:http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
Submitted by gouki on 2009, December 24, 12:30 PM
我曾经写过一篇很简单的笔记,是讲如何安装AMP的,当然很方便。。。,那篇文章在:http://www.neatstudio.com/show-522-1.shtml
今天我在使用了VPS后,也装了这些配置。但最后却仍然报错:
现在我把我的步骤列出来。并列出解决方法
1、到/var/www/下新建一个目录,例如我的 sbphp.com,新目录的路径则为 /var/www/sbphp.com/
2、到/etc/apache2/sites-available/目录下,新建一个文件,名为sbphp.com,内容如下:
3、运行:a2ensite sbphp.com
4、然后系统会提示你重载一下apache,命令为 /etc/init.d/apache2 reload
于是乎就报上面的错了。这个问题的主要原因是没有定义ServerName,也就是没有定义默认的ServerName
5、到etc目录下建立一个hosts文件,内容为:127.0.0.1 localhost
6、回到apache2的目录,/etc/apache2/ ,打开httpd.conf,加上一行 ServerName 127.0.0.1 或者是你的服务器对应的IP地址
OK,再运行 /etc/init.d/apache2 reload ,不报错了吧。。
【备注】手工安装lamp的朋友可以看这里:http://hi.baidu.com/javatown/blog/item/c870547e956eb63d0dd7da3c.html