CentOS+Ubuntu+Windows 多系统Grub引导修复

简单描述状况: 1.系统安装有64位的windows 7和64位的CentOS操作系统,使用Legacy BIOS 安装引导启动,没有使用UEFI。 2.CentOS6.5 grub引导菜单正常引导WINDOWS 7+CENTOS,CentOS包含/boot分区,/分区以及/home分区 3.安装ubuntu 14.04(64位) 之后,使用alongside windows空闲分区。安装完成后使用ubuntu grub 引导启动,只能引导windows 7+ubuntu,centos 无法启动. 4.在ubuntu系统下,安装grub2/grub 然后 update-grub 均无法正常搜索到centos 。 综上,只能找其他方法,有人说用centos安装盘 grub rescue ,觉得麻烦,想用ubuntu 引导。这是我的ubuntu下/boot/grub/grub.cfg ,在其中添加Centos 分区信息,一定注意分区和UUID。 成功引导3个系统! menuentry ‘CentOS6.5, with Linux 2.6.32-431.el6.x86_64′ { insmod gzio insmod part_msdos insmod ext2 set root=’hd0,7’ if [ x$feature_platform_search_hint = xy ]; then […]

Continue Reading

Ubuntu12.04 下DLNA/UPnP Server安装配置

PC下配置DLNA很方便,使用家庭组和Window Media Player很容易实现媒体局域网内共享。前面文章有提过这些话题,包括Android客户端和Chrome以及小米盒子上的使用。 这里来记录下Ubuntu12.04 下的安装配置 minidlna。 1.安装服务端 # apt-get install minidlna 2.配置文件在/etc/ 目录下的minidlna.conf.其中主要配置 配置媒体目录,可以分行添加多个目录,同时也可指定媒体类型。 # set this to the directory you want scanned. # * if have multiple directories, you can have multiple media_dir= lines # * if you want to restrict a media_dir to a specific content type,you # […]

Continue Reading

Can not dragging[solved] :Chyrp博客部署Tips

Q1:  Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp ….. 解决:联系主机商,并自行更改php.ini memory_limit = 512M Q2: modules-not-dragging,Debugging :404 Not found 在官方讨论中没有结果http://chyrp.net/discuss/topic/modules-not-dragging/,在chyrp后台管理界面,设置项不能拖动,因而无法完成拖动。调试发现,明明文件目录都很正常,javascript也存在,子目录访问总是报出404错误,经检查后台日志是这样的: SoftException in Application.cpp:629: Directory “/home/XXX/public_html/t/admin/themes” is writeable by group, referer: 由于改网站架设在之前有的子目录下,怀疑.htacess文件设置,结果走了弯路.. 解决:将admin/themes/default等目录权限都设置为755,而不是777!所以遇到modules-not-dragging 去官网貌似没有正确解答的。 please note here:change  the permissions for that directory to 755. Chmod default 755 chmod /** 755 Q3:官方版本为V2.5 下载地址:http://cl.ly/0S1Z112Q1t45。安装部署方法参照这里: […]

Continue Reading