`
文章列表

Linux上安装字体

Linux上安装Arial 1.下载或直接从windows上拷贝Arial字体(C:\Windows\Fonts\Arial) 2.在/usr/share/fonts/下建一个目录,如arial 3.将字体文件ARIAL.TTF、ARIALBI.TTF、ARIALN.TTF、ARIALNBI.TTF、ARIBLK.TTF、ARIALBD.TTF、ARIALI.TTF、ARIALNB.TTF、ARIALNI.TTF放到/usr/share/fonts/arial/下 4. # cd /usr/share/fonts/arial # mkfontscale # mkfontdir # fc-cach ...
Linux上关闭防火墙 查看防火墙状态: /etc/init.d/iptables status 暂时关闭防火墙: /etc/init.d/iptables stop 禁止防火墙在系统启动时启动 /sbin/chkconfig --level 2345 iptables off 重启iptables: /etc/init.d/iptables restart RHEL7: [root@tp ~]# iptables -F 清除预设表filter中的所有规则链的规则 [root@tp ~]# iptables -X 清除预设表filter中使用者自定链中的规则 Solaris:防火墙 # sv ...

linux上用yum安装

“ /lib/ld-linux.so.2: bad ELF interpreter: そのようなファイルやディレクトリはありません”解决办法 ■原因 安装linux系统的时候,一些工具没有勾选。 ■解决方法(使用yum安装需要的so文件)   1.将linux系统的iso文件mount到/home/soft/temp   2.在/etc/yum.repos.d目录下新建rhel-beta.repo文件(touch rhel-beta.repo)    文件内容:     [rhel-beta]     name=Red Hat Enterprise Linux $releasever Be ...
Global site tag (gtag.js) - Google Analytics