smbd: relocation error: /lib/libsamba-credentials.so.0: symbol GSS_KRB5_CRED_NO_CI_FLAGS_X, version gssapi_krb5_2_MIT not defined in file libgssapi_krb5.so.2 with link time reference
Package krb5-libs-1.13.2-11.fc23.i686 is already installed
should update krb5-libs-1.13.2 to krb5-libs-1.14.1
so: sudo dnf install krb5-libs-1.14.1-*
other words, security should be set as share
or smbd would not start properly (error exit)
DONE
All posts by ht
vesamenu.c32:not a COM32R image
是用官方的liveusb-creator制作的u盘,在安装时报出了vesamenu.c32:not a COM32R image错误,在网上也找了几个说的方法,都不太理想,最后在fedora贴吧里一个楼层的朋友说输入:linux0,报着试试态度输入一下,果真好 了,具体为啥我还真不知道,刚玩fedora,在这里还是要谢谢这位大神,我做个记录。
ubuntu14.04 卸载 gnome, xfce桌面
1,卸载掉gnome-shell主程序
$sudo apt-get remove gnome-shell
2,卸载掉gnome
$sudo apt-get remove gnome
3,卸载不需要的依赖关系
$sudo apt-get autoremove
4,彻底卸载删除gnome的相关配置文件
$sudo apt-get purge gnome
5,清理安装gnome时候留下的缓存程序软件包
$sudo apt-get autoclean
$sudo apt-get clean
6,注销后查看桌面选项中是不是没有了gnome的选项 Continue reading ubuntu14.04 卸载 gnome, xfce桌面
Ubuntu 14.04LTS 升级 16.04LTS
1.打开软件和更新
2.浏览到更新选项卡 — 勾选提前释放出的更新 — 选择适用任何新版本
3.当以上选项配置好之后,使用如下命令来更新系统:
sudo apt-get update && sudo apt-get dist-upgrade
以上命令可能会花比较长的时间,这主要取决于你的网速和使用的源。
4.使用如下命令运行软件更新器, -d 参数会寻找版本升级
sudo update-manager –d
5.执行如上命令后,软件更新器将会检查当前系统可用的版本更新
django:DateTimeField如何自动设置为当前时间并且能被修改
创建django的model时,有DateTimeField、DateField和TimeField三种类型可以用来创建日期字段,其值分别 对应着datetime()、date()、time()三中对象。这三个field有着相同的参数auto_now和auto_now_add,表面上 看起来很easy,但实际使用中很容易出错,下面是一些注意点。 Continue reading django:DateTimeField如何自动设置为当前时间并且能被修改
lampp+wordpress主机数据库错误修复方法
突然断电后可能会导致wordpress+mysql数据链接不上的问题。
重启lampp显示mysql ok
手动启动/lampp/sbin/mysqld显示一堆错误
查阅/lampp/var/mysql/*.err文件,查找错误描述: Continue reading lampp+wordpress主机数据库错误修复方法
linux版WPS系统缺失字体的解决办法
-
从网上找到或直接到windows/fonts文件里拷贝wingdings、wingdings 2、wingdings 3、Webdings、MT Extra这些字体。
-
进入主文件夹,按Ctrl+h键(显示隐藏文件),查看有没有.fonts文件夹,如果没有就创建一个。
-
把wingdings、wingdings 2、wingdings 3、Webdings、MT Extra这些字体,复制到主文件夹下的.fonts文件夹里。
Last upgrade crashes network manager (no internet connection, no applet)
The system network services are not compatible with this version??
Cause
This is caused by a regression introduced with a fix for libnl3 bug #1511735.
Resulting network-manager crash has been reported in network-manager bug #1539513 or network-manager bug #1539634
Continue reading Last upgrade crashes network manager (no internet connection, no applet)
Django models field types
Field types
AutoField
- class
AutoField(**options)[source]
An IntegerField that automatically increments according to available IDs. You usually won’t need to use this directly; a primary key field will automatically be added to your model if you don’t specify otherwise. See Automatic primary key fields.
Continue reading Django models field types