CentOS 开机自启动(脚本)配置:/etc/rc.local
所有的用户都属于 staff 组,
只有具有管理员性质的用户位于 wheel 组中。
wheel 是一个特殊的用户组,该组的用户可以使用 su 切换到 root,而 staff 组是所有普通用户的集合。
卸载 Ubuntu 12 自带的 IBus 输入法(框架):
sudo apt-get purge ibus sudo apt-get autoremove
安装国产的小企鹅输入法(框架) Fcitx:
sudo add-apt-repository ppa:fcitx-team/nightly sudo apt-get update sudo apt-get install fcitx fcitx-pinyin
rpm -ivh ./oracle-xe-11.2.0-1.0.x86_64.rpm
报错:
This system does not meet the minimum requirements for swap space. Based on
the amount of physical memory available on the system, Oracle Database 11g
Express Edition requires 2048 MB of swap space. This system has 2042 MB
of swap space. Configure more swap space on the system and retry the
installation.
到“软件中心” -> 搜索“xchm”,并安装 -> 右键某个.chm文档,选择“属性” -> 切换到“打开方式” -> 选择 “xCHM” -> 单击“设为默认值”
先前参考 如何 实现PHP多版本的 共存 和 切换? 实现了Linux(Ubuntu/CentOS)系统下,PHP多版本的切换,但是在 Mac OS 下,由于用户权限控制的比较严格,文章里提到的脚本运行失败(没达到预期效果)。后面采用了其他方式实现了 通过执行脚本自由切换PHP版本:
1、新建 2 个 .bash_profile 文件模板,文件名分别为
/Users/jianbao/.bash_profile_5.6
/Users/jianbao/.bash_profile_7.1
解决 Deepin 外接显示器分辨率异常的问题