04 2013 档案

摘要:解决方案由于我本机是UBUNTU系统,所以直接通过apt-get进行安装。sudo apt-get install curl libcurl3 libcurl3-dev php5-curl安装大概下载23个文件,很快安装好。重新启动apachesudo /etc/init.d/apache2 restart再安装phppin,故障解除。 阅读全文
posted @ 2013-04-21 19:32 win_and_first 阅读(475) 评论(0) 推荐(0)
摘要:mysql> use dbname;mysql> show tables;ERROR 1018 (HY000): Can't read dir of './dbname/' (errno: 13)解决方案To fix this problem you need to set correct permission on /var/lib/mysql/dbname/ directory. Use the command as follows:cd /var/lib/mysql/ls -lchown mysql:mysql dbname/ -RReplace db 阅读全文
posted @ 2013-04-21 14:10 win_and_first 阅读(1050) 评论(0) 推荐(0)
摘要:1、查看mysql的进程lsof -u mysql2、edit the file in /etc/security/limits.conf and add these two mysql lines in at the bottom#@student - maxlogins 4mysql soft nofile 4096mysql hard nofile 8192# End of file3、Once this is set you need to make some changes in the mysql file as wel... 阅读全文
posted @ 2013-04-21 14:09 win_and_first 阅读(1002) 评论(0) 推荐(0)
摘要:linux下安装mysql和apachesudo apt-get install apache2sudo apt-get intall mysql-serversudo apt-get remove apache2sudo apt-get autoremove sudo apt-get remove mysql 阅读全文
posted @ 2013-04-20 11:40 win_and_first 阅读(191) 评论(0) 推荐(0)
摘要:一、http://www.mono-project.com/FAQ:_Security1、inux本身在发行的时候是不带任何证书的,这和windows平台似乎恰恰相反。不过有工具,允许我们自行安装证书。 mozroots --import / ##导入证书 --ask-remove / ##仅删除时确认 --machine ##保存在全局环境mozroots --import --sync或者手动加入证书certmgr -ssl https://t.open.com2是直接在程序中加入代码默认此https协议是正确的using System;using System.Security.Cry. 阅读全文
posted @ 2013-04-20 11:14 win_and_first 阅读(654) 评论(0) 推荐(0)
摘要:Linux下用Apt-get 安装Mysql安装Mysqlapt-get install mysql-server设置root 账户密码mysqladmin -u root password 'new_password'进入mysqlmysql -uroot -py our_password 阅读全文
posted @ 2013-04-20 10:59 win_and_first 阅读(102) 评论(0) 推荐(0)
摘要:1、 public OrmLiteConnectionFactory ormlit1 = new OrmLiteConnectionFactory("server=localhost;user id=root;password=root;persist security info=True;database=weibodata;CharSet='utf8';", MySqlDialect.Provider);2、使用ServiceStack.Text.JsonSerializer.DeserializeFromString<List<string 阅读全文
posted @ 2013-04-05 18:51 win_and_first 阅读(283) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2013-04-02 09:46 win_and_first 阅读(0) 评论(0) 推荐(0)