Mysql设置字符编码及varchar宽度问题
摘要:ubuntu16.04通过仓库安装的mysql5.7的配置文件在 修改字符只需要 在[mysqld] 然后重启 当你设置了UTF8编码 那么varchar(4)这个4即表示最多4个英文字母,当是汉字的时候也是最多4个汉字
阅读全文
posted @
2016-09-01 09:54
c3tc3tc3t
阅读(350)
推荐(0)
转: Ubuntu 安装字体方法
摘要:命令安装: 以微软雅黑字体为例(其他的宋体、黑体等点阵字体都一样的),我们的雅黑字体文件是:Yahei.ttf(放在自己的主目录下)(在widows目录的Fonts目录下找需要的字体)由于我是双系统,我直接从Win7中复制了 msyh.ttf和msyhbd.ttf 到Ubuntu下 1在/usr/s
阅读全文
posted @
2016-07-26 09:14
c3tc3tc3t
阅读(319)
推荐(0)
UBUNTU查看软件版本
摘要:1、查看已安装软件版本aptitude show softwarename 2、查看软件安装目录dpkg -L softwarename
阅读全文
posted @
2016-05-25 15:44
c3tc3tc3t
阅读(290)
推荐(0)
ubuntu开机遇到-您的当前网络有.local域,我们不建议这样做而且这与AVAHI网络服务探测不兼容。该服务已被禁用
摘要:解决http://askubuntu.com/questions/339702/network-service-discovery-disabled-what-does-this-mean-for-me/339709#339709To disable it, you must edit the fi...
阅读全文
posted @
2015-12-20 17:34
c3tc3tc3t
阅读(4054)
推荐(0)
compass项目监控文件报 /usr/bin/env 找不到文件
摘要:1 找到ruby执行文件目录$ wherris rubyruby: /usr/lib/ruby /home/rudy/.rbenv/shims/ruby2 设置软链接sudo ln -s /home/rudy/.rbenv/shims/ruby /usr/bin/ruby
阅读全文
posted @
2015-11-13 15:18
c3tc3tc3t
阅读(227)
推荐(0)
解决Ubuntu不能挂载ntfs格式硬盘
摘要:以前都是自动可以挂在NTFS硬盘的,可是现在不能挂载了。搜了一下 这里有办法http://forum.ubuntu.org.cn/viewtopic.php?t=313930例如你是Error mounting /dev/sdc10 at /media/rudy/info: Command-line...
阅读全文
posted @
2015-11-07 18:14
c3tc3tc3t
阅读(5169)
推荐(0)
华而不实啊。哈哈哈。
摘要:icosudo add-apt-repository ppa:nitrux-team/nitrux-artworksudo apt-get updatesudo apt-get install nitrux-icon-themetheme wget http://gnome-look.org/CON...
阅读全文
posted @
2015-10-27 20:09
c3tc3tc3t
阅读(176)
推荐(0)
安装rails遇到的问题
摘要:1 要安装js运行环境,例如Nodejs,如果使用nvm记得,安装完执行nvm use '版本号'2或者在Gemfile文件中加入:gem 'execjs'gem 'therubyracer'然后bundle install,再去执行rails s就成功了。3修改Gemfile文件的source '...
阅读全文
posted @
2015-07-12 06:40
c3tc3tc3t
阅读(165)
推荐(0)
gem install mysql遇到问题。解决方案
摘要:今天遇到的问题,是使用gem install mysql遇到的。报下面的错误Building native extensions. This could take a while...ERROR: Error installing mysql2:ERROR: Failed to build gem ...
阅读全文
posted @
2015-07-10 15:49
c3tc3tc3t
阅读(243)
推荐(0)
将应用图标添加到ubuntu dash中
摘要:1 在appplications中添加一个desktop文件sudo gedit /usr/share/applications/xdbe.desktop2 在desktop文件中添加如下[Desktop Entry]Name=xdbeComment=databaseToolsExec=/home/...
阅读全文
posted @
2015-07-10 10:12
c3tc3tc3t
阅读(381)
推荐(0)
安装mplayer2和smplayer2
摘要:MPlayer2 PPA源安装,打开终端,输入命令:sudo add-apt-repository ppa:motumedia/mplayer-dailysudo apt-get updatesudo apt-get install mplayer2如果你不想使用这个新版本,而是想返回以前旧版本,可...
阅读全文
posted @
2015-03-31 21:31
c3tc3tc3t
阅读(341)
推荐(0)
ubuntu使用ppa源安装最新版本的git
摘要:国内也有ubuntu镜像源。但是里面的git都是1.9版本。最新的已经是2.3了1 首先使用将ppa源加入Ubuntu,交大家sudo add-apt-repository ppa:pdoes/ppa2 然后根据提示,输入回车。加入密钥3 输入以下命令sudo apt-get updatesudo ...
阅读全文
posted @
2015-03-19 14:00
c3tc3tc3t
阅读(1299)
推荐(0)
ubuntu下安装录屏软件
摘要:sudo add-apt-repository ppa:maarten-baert/simplescreenrecordersudo apt-get updatesudo apt-get install simplescreenrecorder# if you want to record 32-b...
阅读全文
posted @
2015-01-17 19:36
c3tc3tc3t
阅读(731)
推荐(0)
安装wine
摘要:sudo add-apt-repository ppa:ubuntu-wine/ppasudo apt-get updatesudo apt-get install winetricks
阅读全文
posted @
2014-05-18 05:22
c3tc3tc3t
阅读(204)
推荐(0)