随笔分类 - Fedora
摘要:这两天装了Oracle,结果打开监听的时候一直出现Timeout的情况,折腾了一两天才找到原因:该死的防火墙。原来我没有将linux上的防火墙关闭。以root用户登录系统,执行service iptables stop关闭防火墙,现在就可以成功地连接了。另一个解决方法--在iptables文件中开放1521端口,一劳永逸.具体做法如下:1 $ su -2 # gedit /etc/sysconfig/iptables在打开的iptables文件中加上:-ARH-Firewall-1-INPUT-ptcp-mstate--stateNEW-mtcp--dport1521-jACCEPT悲剧的是,
阅读全文
摘要:# uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本# cat /proc/cpuinfo # 查看CPU信息# hostname # 查看计算机名# lspci -tv # 列出所有PCI设备# lsusb -tv # 列出所有USB设备# lsmod # 列出加载的内核模块# env # 查看环境变量资源# free -m # 查看内存使用量和交换区使用量# df -h # 查看各分区使用情况# du -sh <目录名> # 查看指定目录的大小# grep MemTotal /proc/meminfo # 查
阅读全文
摘要:一、硬件检测1、内存检测 oracle11g要求最低1GB内存1 [oracle@K40IEStudio ~]$ grep MemTotal /proc/meminfo2 MemTotal: 6113852 kB2、交换空间检测 通常交换空间是内存1.5倍1 [oracle@K40IEStudio ~]$ grep SwapTotal /proc/meminfo2 SwapTotal: 8388604 kB3、临时目录/temp检查1 [oracle@K40IEStudio ~]$ df -k /tmp2 Filesystem 1K-blocks U...
阅读全文
摘要:#1,安装自动选择最快镜像插件安装插件fastestmirror,可以让yum管理器自动搜索最快源下载yum -y install yum-fastestmirror#2,安装下载加速插件大家可以参见文章《Fedora yum加速下载插件》yum install yum-presto#3,安装Flash player64位安装:su yum install wget cd /tmpwget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gztar x
阅读全文
摘要:1. Let’s work from your Downloads folder.cd ~/Downloads2. Download the Ubuntu Fonts package from Ubuntu.wget http://font.ubuntu.com/download/ubuntu-font-family-0.80.zip3. Extra the downloaded zip file.unzip ubuntu-font-family-0.80.zip4. Rename the extracted directory. (Not a must)mv ubuntu-font-fami
阅读全文
摘要:Steps:yum install redhat-lsbyum install wgetyum install libXScrnSaverEnable Google YUM repositoryAdd following to /etc/yum.repos.d/google-chrome.repo file:32-bit[google-chrome]name=google-chrome - 32-bitbaseurl=http://dl.google.com/linux/chrome/rpm/stable/i386enabled=1gpgcheck=1gpgkey=https://dl-ssl
阅读全文
摘要:To make the warning go away, open terminal and write:sudo mkdir -p /root/.local/shareAs it so happens the directory which does not exist is a directory which is not supposed to exist in the first place. (~/.local being what it is).Move away your user’s /home/.local/share folder and start gedit.Gedit
阅读全文
摘要:This is guide, howto install Adobe Flash Player Plugin version 11.2 (32-bit and 64-bit) with YUM on Fedora 17/16/15/14/13/12, CentOS 6.3/6.2/6.1/6/5.8 and Red Hat (RHEL) 6.3/6.2/6.1/6/5.8. Using Adobe’s own YUM repository it is very easy also keep up-to-date with Flash Player Plugin. Finally also na
阅读全文