
linux
linux使用经验积累
ben9518chen
这个作者很懒,什么都没留下…
展开
-
如何在 Ubuntu 22.04 上安装 CUPS&安装windows共享打印机
【代码】如何在 Ubuntu 22.04 上安装 CUPS&安装windows共享打印机。原创 2024-02-05 09:01:19 · 1192 阅读 · 0 评论 -
gnome3 使用fcitx不能启动问题。ibm-notes9.0无法切换fcitx问题
gsettings set org.gnome.settings-daemon.plugins.keyboard active false gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/IMModule':<'fcitx'>}"原创 2020-07-30 16:26:52 · 455 阅读 · 0 评论 -
wine安装RAR后再打开方式里有好多winRAR打开方式
后来发现在个人目录下~/.local/share/applications/原创 2020-06-11 16:17:17 · 430 阅读 · 0 评论 -
Ubuntu中将带无线网卡的电脑作WIFI热点的方法
先装好dnsmasq,然后用自带网络管理添加无线连接,名字起个好记的,ssid别添中文,模式选架构(Infrastructure),密码选wpa什么的自己设一个(8位以上),ipv4选共享。之后用管理员权限打开/etc/NetworkManager/system-connections/你的连接名 ,把mode=infrastructure 改成 mode=ap,然后用连接到隐藏wifi连接试试,...转载 2018-11-04 10:59:32 · 1269 阅读 · 0 评论 -
清理Ubuntu拉圾及启动项
首先,随着apt-get安装/卸载软件系统会产生很多拉圾文件不但站用磁盘空间还影响性能;其次,Ubuntu内核的更新也会产生多个不再使用的旧内核并且导致启动项中不断增加怎么清理这些文件,其实在Ubuntu使用apt-get基本全部可以做到,下面简单说明一下如何清理(部分内容 参考自网络)1、清理安装/卸载后产生的拉圾sudo apt-get autoremove //自动卸载不使用的内容...转载 2018-11-04 11:01:47 · 520 阅读 · 0 评论 -
Ubuntu软件包下载在哪里,安装到哪里&软件包备份&删除旧的软件包
1、软件中心的软件包下载到哪来 apt-get和软件中心下载的软件包一般放在/var/cache/apt/archives/目录 sudo apt-get autoclean //只删除低版本的deb包 sudo apt-get clean //全部删除2、软件包备份为了以后重装系统方便,可以将这些deb包保存到其他地方。...转载 2018-11-04 11:03:34 · 4741 阅读 · 0 评论 -
让包管理器apt停止对某个未满足依赖的模块的警告
无视依赖安装一个包 12 apt-get download <package-name> #下载对应包dpkg -i -ignore-depends=<dependency-name> -i <filename> #无视依赖安装指定包 警告“存在未满足依赖的模块,请尝试使用apt-get -f ins...原创 2019-08-09 11:14:38 · 1200 阅读 · 0 评论 -
Ubuntu创建桌面快捷方式
默认情况下,Ubuntu会将自动安装的软件快捷方式保存在/usr/share/applications目录下,如果我们要创建桌面快捷方式,只需要右键-复制-桌面 。 上面的方法是通过系统自动安装软件后实现的,有时候我们自己会从网上下载一些软件手动安装,那么,又该怎样创建软件的桌面快捷方式呢?这里以Eclipse 为例,首先到官网下载Eclipse软件包,直接解压在某个目录...转载 2018-10-15 22:35:19 · 3428 阅读 · 0 评论 -
ubuntu 彻底删除wine 及 残留的快捷方式(内容来自网络)
彻底删掉wine: 1.卸载wine主程序,在终端里输入:sudo apt-get remove --purge wine 2.然后删除wine的目录文件:rm -r ~/.wine 3.卸载残留不用的软件包:sudo apt-get autoremove wine卸载一些windows程序后,在“应用程序”-“其它”菜单里还残留着它的...转载 2018-10-15 22:34:40 · 1752 阅读 · 0 评论 -
openssl: error while loading shared libraries: libssl.so.1.1
在ubuntu 16.4LTS上编译安装openssl后,运行de >openssl versionde>出现如下错误:openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory 这是由于op...转载 2018-09-12 09:01:49 · 4102 阅读 · 0 评论 -
创建openssl pfx证书文件
1、生成key 输入de >genrsa -out openssl.key 1024de>生成openssl.key文件。openssl.key为key的名字随意起,1024为密钥长度<2048在openssl 1.1.1中不行>2、生成cer证书接着输入de >req -new -x509 -key openssl.key -out open...转载 2018-09-12 09:08:59 · 782 阅读 · 0 评论 -
sudo 没有JAVA_HOME
使用的是非root用户,下载完毕后,解压完毕后,到bin目录下, 运行run.sh,报如下的错误:Using PHOENIX_HOME: /usr/local/coolcao/james-2.3.2Using PHOENIX_TMPDIR: /usr/local/coolcao/james-2.3.2/tempUsing JAVA_HOME: /usr/local/coolc...转载 2018-09-12 09:11:12 · 1266 阅读 · 0 评论 -
xubuntu
xubuntu自带有leafpad,也可以用gedit,mousepad。原创 2018-09-12 09:12:29 · 749 阅读 · 0 评论 -
[转载]Squid 启动/停止/重载配置文件 命令
当你的 squid.conf 配置文档按照你的想法修改完以后,启动 squid 之旅就开始了。Squid安装设试命令:1,初始化你在 squid.conf 里配置的 cache 目录#/usr/local/squid/sbin/squid -z //初始化缓存空间如果有错误提示,请检查你的 cache目录的权限。2,对你的squid.conf 排错,即验证 squid.conf 的 ...转载 2018-09-19 16:20:15 · 3102 阅读 · 0 评论 -
ArchLinux下修改wine的默认浏览器
ArchLinux下修改wine的默认浏览器 发表于 2016-02-24 | 更新于 2018-02-02 | 分类于 计算机 , Linux , ArchLinuxwine 1.9 已经可以运行 QQ 7.1 了,体验已经算是很不错了,唯一感觉美中不足的就是在QQ上点开邮箱时,用的wine iexplore不能正常打开QQ邮箱,Google了一下,发现网上只有通过修改注册表的方式修...转载 2018-10-11 16:22:46 · 1616 阅读 · 0 评论 -
openssl: error while loading shared libraries: libssl.so.1.1
在ubuntu 16.4LTS上编译安装openssl后,运行de >openssl versionde>出现如下错误:openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory 这是由于opens...转载 2018-10-14 17:38:02 · 1725 阅读 · 0 评论 -
【转载】Ubuntu 查看版本命令
本文转载自云水禅心《Ubuntu 查看版本命令》 方法一: 在终端中执行下列指令: cat /etc/issue 可以查看当前正在运行的 Ubuntu 的版本号。其输出结果类似下面的内容: Ubuntu 7.04 \n \l 方法二: 使用 lsb_release 命令也可以查看 Ubuntu 的版本号,与方法一相比,内容更为详细。执行指令如下: ...转载 2018-10-14 17:41:03 · 985 阅读 · 0 评论 -
Ubuntu (and Debian) have an elegant way to manage libraries like the jdk.
Using update-alternatives you can manage multiple jdk libraries on the same system, choosing which one you want to use as the main one.First you have to install an alternative for the new installed ...转载 2018-10-14 18:03:56 · 152 阅读 · 0 评论 -
Vmware(vmdk)虚拟机到hyperv(vhd)虚拟机转换
1.关闭Vmware所有虚拟机2.合并Vmware磁盘通常磁盘都分开储存 "C:\Program Files (x86)\VMware\VMware Workstation\vmware-vdiskmanager.exe" -r sourceDisk.vmdk -t 0 targetDisk.vmdk3.转换vmdk到vhd安装winimage http://www.w...转载 2018-10-14 18:05:12 · 7359 阅读 · 0 评论 -
鳥哥網站
http://cn.linux.vbird.org/原创 2018-09-12 08:53:12 · 286 阅读 · 0 评论