去网站下载mysql的yum源,地址如下:
http://repo.mysql.com/
在linux上先查看系统的版本号,根据版本号对应下载
more /etc/redhat-release
rpm -Uvh
http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
yum -y upgrade mysql
m...
分类:
数据库 时间:
2014-07-22 23:03:13
阅读次数:
472
The server network address “TCP://myserverAddress:50221″ cannot be reached or does not exist.
Check the network address name and that the ports for the local and remote endpoints are operational.
(Microsoft SQL Server, Error: 1418)...
分类:
Web程序 时间:
2014-05-01 18:35:53
阅读次数:
665
第二篇,围绕这5个问题进行基本配置:
1、自定义ToolbarSet,去掉一些功能
2、加上几种常用的字体
3、修改“回车”和“Shift+回车”的换行行为
4、修改编辑区样式文件
5、更换表情图片
这些信息的配置,可以通过config.js文件进行,当然也可以创建自己的配置文件。
可以参考我的步骤:
1、首先创建一个目录custom,接着在该目录内新建一个myConfig.j...
分类:
其他好文 时间:
2014-05-01 18:27:08
阅读次数:
385
文档一:https://wiki.debian.org/SettingUpSignedAptRepositoryWithReprepro
文档二:http://blog.jonliv.es/2011/04/26/creating-your-own-signed-apt-repository-and-debian-packages/...
分类:
其他好文 时间:
2014-05-01 18:19:21
阅读次数:
270
CKEDITOR.editorConfig = function( config )
{
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.filebrowserBrowseUrl = '/CKEditorAndCKFinder/ckfinder/ckfinder.html' ;
config.fi...
分类:
其他好文 时间:
2014-04-30 22:21:39
阅读次数:
366
下载地址CKEditor
我下载的版本ckfinder_java_2.4
解压之后,会看到一个CKFinderJava-2.4.war文件,直接放到Tomcat/webapps发布目录下,把服务打开就自动解压了,然后将ckfinder目录Copy到你项目WebRoot下。
步骤一:将CKFinderJava-2.4下的jar包Copy到你的项目下,还有WEB-INF/config.xml文件...
分类:
编程语言 时间:
2014-04-30 22:18:39
阅读次数:
559
这段时间公司实行代理上网,不仅通过浏览器上网需要不停的输入用户名和密码,在本地调试程序时候Eclipse竟然也弹出框让输入用户名和密码。
如图:
解决办法:
windows--preferences--general---Network Connections.它默认界面如图所示:
将界面改为如下界面,重启Eclipse即可:...
分类:
系统相关 时间:
2014-04-30 22:13:39
阅读次数:
447
1、效果图:
2、核心代码:
package com.example.pic_reflection;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.graphics.Canvas;
import and...
分类:
移动开发 时间:
2014-04-29 13:35:22
阅读次数:
520
linux虚拟机网络问题
刚安装一个vmware虚拟机,并在上面安装了一个redhat linux操作系统。
安装完后配制了下网络。
首先观察windows上的网络配制。
ip:192.168.1.109
nemask:255.255.255.0
gateway:192.168.1.1
通过这些东西可以看出虚拟机也应该在同一个网段(192.168.1.0),同一个网关(192.168...
分类:
系统相关 时间:
2014-04-29 13:32:23
阅读次数:
552
首先,保证可以ping通
然后执行如下命令,
master登录slave
master上面执行如下指令:
2.4 确认本机sshd的配置文件(root)
$ vi/etc/ssh/sshd_config
找到以下内容,并去掉注释符"#"
RSAAuthenticationyes
PubkeyAuthenticationyes
AuthorizedKeys...
分类:
其他好文 时间:
2014-04-29 13:14:22
阅读次数:
280