随笔分类 -  Ubuntu

摘要:先安装 freetype jpeglib gdlib 以支持GD 或许仍有许多其它错, 比如 报库缺失或未安装某些支持等问题, 由于直接 apt-get 就搞定了, 也没有什么问题, 所以并未记录在案. 一个编译配置 ./configure --prefix=/usr/local/php7 --wi 阅读全文
posted @ 2023-04-07 15:41 Debm.Zhang
摘要:sudo apt-get install ibus-gtk ibus-gtk3 ibus-qt4 参考文章 阅读全文
posted @ 2017-08-23 21:35 Debm.Zhang 阅读(2474) 评论(0) 推荐(0)
摘要:转自 http://www.sendong.net/thread-90941-1-1.html在linux下连接MSSQL,因为微软同志没有提供任何接口给开发人员,大约他们认为要用MSSQL的,只可能是windows的操作系统。还好,MSSQL是从Sybase衍生出来的,有一些哥们做了一些Sybas... 阅读全文
posted @ 2015-07-06 18:58 Debm.Zhang 阅读(367) 评论(0) 推荐(0)
摘要:ubuntu 软件中心里的 flash , 虽说写的支持 chrome , 但安装总不管用可运行以下两个命令, 再重启 chrome 浏览器 (注意,一定要把打开的浏览器全部关闭, 再打开才可以)sudoapt-get install pepperflashplugin-nonfreesudoupd... 阅读全文
posted @ 2015-04-21 16:03 Debm.Zhang 阅读(419) 评论(0) 推荐(0)
摘要:只转载了成功的, 具体参见原文 http://www.2cto.com/os/201308/237632.html第一种方法:(内核级别的)Sudo vi /etc/default/grub修改GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”为:GRUB_CMDLI... 阅读全文
posted @ 2014-07-13 17:55 Debm.Zhang 阅读(1114) 评论(1) 推荐(0)
摘要:这个是因为本地没有安装php-solr的扩展导致的,安装方法(使用的是ubuntu)cd /optwget http://pecl.php.net/get/solr-1.0.2.tgztar -xvf solr-1.0.2.tgz && cd solr-1.0.2phpize./configurem... 阅读全文
posted @ 2014-04-21 19:43 Debm.Zhang 阅读(345) 评论(0) 推荐(0)
摘要:tzselect #根据提示选择时区sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime #把设置好的时区文件粘贴到 /etc/localtime下sudo ntpdate cn.pool.ntp.org #与时间同步服务器同步 阅读全文
posted @ 2013-10-16 09:51 Debm.Zhang 阅读(497) 评论(0) 推荐(0)
摘要:错误图片上述错误是dns解析错误,不能解析域名了,所以也访问不了解决办法,添加dns,命令如下sudo vim/etc/resolv.conf添加 nameserver (此外填写域名服务器,我是电信即填写)nameserver 8.8.8.8注:这样可以临时解决,不过重启系统后,这里会被还原,按如下方式修改网络配置sudo vim /etc/network/interfaces#IP配置auto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress 10.0.3.79netmask 255.255.255.0networ 阅读全文
posted @ 2013-10-15 10:20 Debm.Zhang 阅读(515) 评论(0) 推荐(0)
摘要:直接粘命令吧sudo vim /etc/init/lightdm.conf注释掉下面的内容start on ((filesystemand runlevel [!06]and started dbusand (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1or stopped udev-fallback-graphics))or runlevel PREVLEVEL=S)即#start on ((filesystem# and runlevel [!06]# and started dbus# and (drm-device-added 阅读全文
posted @ 2013-10-14 15:09 Debm.Zhang 阅读(1088) 评论(0) 推荐(0)