
Linux
magic_dreamer
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Docker(4)Docker on Raspberry
Docker(4)Docker on RaspberryInstall the docker on raspberry.> curl https://raw.githubusercontent.com/resin-io/docker-install-script/master/install.sh | shError Message:sh: 6: pacman: not f...原创 2015-07-15 13:25:03 · 169 阅读 · 0 评论 -
Linux Deploy Rails3 with Ruby1.9.2(3)
Linux Deploy Rails3 with Ruby1.9.2(3)I will not give up this. I solved the problem bellow:curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:error:14090086:SSL routines...原创 2011-08-23 14:27:56 · 238 阅读 · 0 评论 -
Linux Deploy Rails3 with Ruby1.9.2(2)
Linux Deploy Rails3 with Ruby1.9.2(2)This is the situation on Ubunt11.04, everything works fine.>bundle show execjs/home/carl/.rvm/gems/ruby-1.9.2-p290/gems/execjs-1.2.4>bundle show libv8/...原创 2011-08-21 17:00:59 · 112 阅读 · 0 评论 -
Deploy Rails with Ruby1.9.2 on Redhat4(1)
Deploy Rails with Ruby1.9.2 on Redhat4(1)1. Install gcccheck the version of gcc on my system.>gcc -vI already had it.2. Install rubyfrom the URL http://www.ruby-lang.org/en/downloads, ...原创 2011-08-21 10:37:17 · 144 阅读 · 0 评论 -
Yum on Linux System
Yum on Linux Systemdownload the file>wget http://www.parallels.com.cn/downloads/Prima/Tools/yum_forAS4.tar.gzunzip the file >tar zxvf yum_forAS4.tar.gz>cd yum_forAS4Install all the r...原创 2011-08-20 14:00:18 · 116 阅读 · 0 评论 -
Understand the Linux Version
Understand the Linux Version1. to see the base core version command>cat /proc/versionLinux version 2.6.9-89.ELsmp ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3...原创 2011-08-20 10:35:14 · 119 阅读 · 0 评论 -
Install SVN tool on redhat
Install SVN tool on redhatwebsite to download the package:http://subversion.apache.org/packages.html#redhatfile URLhttp://subversion.tigris.org/downloads/subversion-1.6.12.tar.gzunzip ...原创 2010-10-14 17:53:39 · 123 阅读 · 0 评论 -
fedora8上安装配置virtualBox
fedora8上安装配置virtualBoxVirtualBox各个版本的下载地址:http://download.virtualbox.org/virtualbox/1.download the file:检查CPU支持好多位>getconf LONG_BIT64下载文件VirtualBox-3.0.8_53138_fedora8-1.x86_64.rpm...原创 2010-10-08 18:03:45 · 117 阅读 · 0 评论 -
fedora8上安装配置VNC
fedora8上安装配置VNC1.检查本机是否安装了VNC>rpm -q vnc vnc-server[root@cd5 .vnc]# rpm -q vnc vnc-serverpackage vnc is not installedpackage vnc-server is not installed2.install vnc >yum -y instal...原创 2010-10-08 16:29:25 · 172 阅读 · 0 评论 -
iptables的使用
iptables的使用首页http://www.netfilter.org/projects/iptables/index.html参考文章iptableshttp://hegz.iteye.com/blog/629666需求,我需要屏蔽我的服务器访问一些网站。但是这个网站的域名是变化的,枚举不完的。比如sillycat.iteye.comxxxx.it...原创 2010-08-26 14:34:42 · 280 阅读 · 0 评论 -
VirtualBox网络设置
VirtualBox网络设置公司的网络设置了网卡过滤,所以我安装的虚拟机的网络设置会有点问题。我的环境主机:WIN7 IP 192.168.1.1xx虚拟机:WIN XP UBUNTU 9 SERVER UBUNTU 9 DESKTOP REDHAT 4 FEDORA...原创 2010-08-16 16:55:25 · 130 阅读 · 0 评论 -
学习VIM编辑器(一)
学习VIM编辑器的操作。编辑器可以到这里下载http://sillycat.3adisk.com/sillycat -> open-project -> tools 里面的VIM编辑器.rar1、编辑时的光标的移动 L 可以直接操作光标的上下左右也可以2、在光标后插入 a 退出编辑模式 ...原创 2010-01-05 10:51:00 · 83 阅读 · 0 评论 -
Linux简单管理(一)空间满
Linux简单管理(一)空间满平时我们做为验证用的机器,刚刚安装上nagios不久,就发出了警告邮件,点开界面去查看,看到如下信息:空间发出警告localhost Root Partition CRITICAL 12-28-2009 15:21:31 4d 17h 55m 29s 4/4 DISK CRITICAL - free space: / 874 MB (1% in...原创 2010-01-05 09:54:08 · 148 阅读 · 0 评论 -
Linux安装nagios监控软件(二)修复问题
Linux安装nagios监控软件(二)修复问题安装好了nagios后,点击菜单上的map,发现页面有错误信息如下:/nagios/cgi-bin/statusmap.cgi was not found on this server参考如下BLOG:http://www.245100.com/thread-12353-1-1.html检查我本机是否安装了对应的包rpm包...原创 2010-01-05 09:53:58 · 116 阅读 · 0 评论 -
LINUX安装nagios监控软件(一)简单配置
LINUX安装nagios监控软件(一)简单配置参考文档http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html先确认redhat上是否已经安装了apache2和C/C++ 的development librarieshttpd -v返回:Server version: Apache/2.0.52...原创 2010-01-05 09:53:48 · 126 阅读 · 0 评论 -
Linux上简单配置安装cacti(六)snmp再次安装
Linux上简单配置安装cacti(六)snmp再次安装以前确认过机器上安装了snmp,但是这是redhat自带的,据说里面是没有snmpwalk,snmpget这些命令的,所以我这里要重新编译安装NET-SNMP官方网站http://www.net-snmp.org/下载文件wget http://nchc.dl.sourceforge.net/project/net...原创 2010-01-05 09:53:38 · 332 阅读 · 0 评论 -
Linux上简单配置安装cacti(五)cacti试安装
Linux上简单配置安装cacti(五)cacti试安装4.3cacti安装我下载的文件是cacti-0.8.7e.tar.gz,上传上服务器,解开压缩tar zxvf cacti-0.8.7e.tar.gz拷贝到工作目录mv cacti-0.8.7e /usr/local/apache2/htdocs/cacticd /usr/local/apache2/htdocs...原创 2010-01-05 09:53:28 · 121 阅读 · 0 评论 -
Linux上简单配置安装cacti(四)cacti准备rrdtool
Linux上简单配置安装cacti(四)cacti准备rrdtool...汗,差这么多动动,参考如下BLOG把这些东东都安装完整,另外我也决定将rrdtool降低到和这个BLOG相同的版本http://blog.csdn.net/wang01ning/archive/2009/11/22/4852385.aspx命令:export BUILD_DIR=/data/tools/p...原创 2010-01-05 09:53:16 · 191 阅读 · 0 评论 -
Yum Problem after Python Upgrade
Yum Problem after Python UpgradeI upgrade my Python to 2.6.1, my yum met this problem:>sudo yum install httpderror message:There was a problem importing one of the Python modulesre...原创 2011-08-23 17:09:37 · 174 阅读 · 0 评论 -
Install apache2 on redhat5
Install apache2 on redhat51. I download the file from the URLhttp://labs.renren.com/apache-mirror//httpd/httpd-2.2.17.tar.gz2. release the package>gzip –d httpd-2.2.11.tar.gz>tar xvf htt...原创 2010-10-27 14:32:43 · 96 阅读 · 0 评论 -
Linux Deploy Rails3 with Ruby1.9.2(4)Configure the rails in Apache2
Linux Deploy Rails3 with Ruby1.9.2(4)Configure the rails in Apache2Change the configuration of apache2>vi httpd.confLoadModule passenger_module /home/luohua/.rvm/rubies/ruby-1.9.2-p290/lib/rub...原创 2011-09-03 11:11:35 · 251 阅读 · 0 评论 -
VirtualBox Network
VirtualBox NetworkLast one year, I am not setting my VirtualBox in the right way. So I need to switch the IP address between my working environment and home wifi environment.Actually it is not...原创 2015-06-10 11:48:52 · 139 阅读 · 0 评论 -
Debian System(1)Java and NodeJS Env
Debian System(1)Java and NodeJS EnvFirst of all, how I know I am using debian, ubuntu or centOS. Try this command> cat /etc/issueDebian GNU/Linux 6.0 \n \lYeah, I am using Debian 6.0Do...原创 2015-03-29 06:27:33 · 123 阅读 · 0 评论 -
VirtualBox Importing OVA
VirtualBox Importing OVAJust import the Appliance.Choose the OVA FileReferences:http://sillycat.iteye.com/blog/816373http://sillycat.iteye.com/blog/809580http://sillycat.iteye.com/blog/778922http://si...原创 2014-05-14 03:35:29 · 163 阅读 · 0 评论 -
Data Import Process
Data Import Process1. prepare the fileAll the files are ended with the vendorId, *.11101. All these files are listed in /mnt/feeds.first we need to zip all the files.>tar -cjvf /working_dire...原创 2012-09-05 11:21:32 · 342 阅读 · 0 评论 -
Artifactory on Linux(1)
Artifactory on Linux(1)Download the file from this URLhttp://cdnetworks-us-2.dl.sourceforge.net/project/artifactory/artifactory/2.4.2/artifactory-2.4.2.ziphttp://superb-dca2.dl.sourceforge.net...原创 2011-12-13 22:41:04 · 153 阅读 · 0 评论 -
Hudson/Jenkins Installation on Redhat4
Hudson/Jenkins Installation on Redhat41.check the system version first>cat /proc/version Linux version 2.6.18-128.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red...原创 2011-12-13 22:40:12 · 113 阅读 · 0 评论 -
kingate(1)Install on redhat4
kingate(1)Install on redhat41. Install this softwaredownload the software from this URLhttp://superb-dca2.dl.sourceforge.net/project/kingate/kingate/2.0/kingate-2.0.tar.gz>wget http://supe...原创 2011-11-02 23:02:37 · 169 阅读 · 0 评论 -
Archiva In Linux(1)
Archiva In Linux(1)1. install the apache archiva on linux>wget http://mirror.bjtu.edu.cn/apache//archiva/binaries/apache-archiva-1.3.5-bin.tar.gzunpack the file>tar zxvf apache-archiva-1.3...原创 2011-12-13 13:56:20 · 102 阅读 · 0 评论 -
Linux性能检查(三)网络
Linux性能检查(三)网络我们可以通过 ethtool 工具来查看网卡的配置和工作模式:>/sbin/ethtool eth0Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full ...原创 2010-11-26 16:35:54 · 155 阅读 · 0 评论 -
Linux性能检查(二)Memory和IO
Linux性能检查(二)Memory和IO内存包括物理内存和虚拟内存,虚拟内存(Virtual Memory)把计算机的内存空间扩展到硬盘,物理内存(RAM)和硬盘的一部分(SWAP)组合在一起作为虚拟内存为计算机提供连贯的虚拟内存空间。好处是内存变多了,缺点是硬盘读写速度比内存慢很多,并且RAM和SWAP之间的交换增加了系统负担。在操作系统里,虚拟内存被分成页,在X86系统上...原创 2010-11-25 15:40:01 · 200 阅读 · 0 评论 -
linux性能检查(一)介绍和CPU
linux性能检查(一)介绍和CPU通常监控的子系统有:CPUMemoryIONetwork应用类型IO相关,处理大量数据,需要大量内存和存储,频繁IO读写数据,对CPU的要求比较小,大部分时候CPU都在等待硬盘,比如,数据库服务器、文件服务器等。CPU相关,需要使用大量的CPU能力,比如高并发的web/mail服务器、图像/视频处理、可续计算等。...原创 2010-11-25 15:38:53 · 110 阅读 · 0 评论 -
fedora8升级内核
fedora8升级内核1.检查内核版本>rpm -qa | grep kernelkernel-devel-2.6.23.1-42.fc8kernel-2.6.23.1-42.fc8kernel-headers-2.6.23.1-42.fc82.删除老的内核>yum remove kernel>yum remove kernel-devel>yum re...原创 2010-11-25 15:38:03 · 200 阅读 · 0 评论 -
Linux Commands(I) scp
Linux Commands(I) scp1. scp is Secure Copy.Copy the file from a remote host to the local host>scp [email protected]:/home/luohua/server.txt /home/luohua/tmp/server.txtCopy the dir...原创 2011-06-21 23:54:23 · 236 阅读 · 0 评论 -
JBOSS Performance Tuning
JBOSS Performance Tuning2. JVM TUNING The first thing, find the certified version of JVMhttp://www.jboss.com/products/platforms/application/supportedconfigurations/#JEAP5-02.1 Heap Sizing...原创 2011-09-22 16:20:12 · 117 阅读 · 0 评论 -
Linux Server Deployment(II)apache and SSH-CVS
Linux Server Deployment(II)apache and SSH-CVS1. apache configuration - MPMworker mode--with-mpm=workerperfork modethis is the default mode in unix.the command on the server:/usr/lo...原创 2011-06-08 22:04:39 · 87 阅读 · 0 评论 -
Linux Server Deployment(I)cvs and iptables
Linux Server Deployment(I)cvs and iptables1. prepare the users and groups>add user luohua>passwd luohua>vi /etc/passwdchange the id and group to 0luohua:x:0:0::/home/luohua:/bin/bash...原创 2011-06-08 22:03:18 · 117 阅读 · 0 评论 -
Linux Deploy Rails3 with Ruby1.9.2(5)Fix the Error Messages
Linux Deploy Rails3 with Ruby1.9.2(5)Fix the Error Messages1. Sprockets::Environment#path is deprecatedwe have 2 ways to solve this, it is harmless warning messageone way is to upgrade our rai...原创 2011-09-03 11:12:43 · 147 阅读 · 0 评论 -
Linux上简单配置安装cacti(三)cacti准备net-snmp
Linux上简单配置安装cacti(四)cacti准备net-snmp4.安装cacti-0.8.7ecacti需要net-snmp和rrdtool两个工具来配合使用所以先要安装4.1 net-snmp检查net-snmp是否已经安装了命令:snmpd -v返回信息如下:NET-SNMP version: 5.1.2Web: ht...原创 2010-01-05 09:53:05 · 188 阅读 · 0 评论 -
Linux上简单配置安装cacti(二)php安装
Linux上简单配置安装cacti(二)php安装3.php5.3.1服务器安装php首页http://cn2.php.net/下载得到文件php-5.3.1.tar.gz解开压缩tar zxvf php-5.3.1.tar.gz 进入安装目录cd php-5.3.1/创建oracle驱动目录mkdir /usr/lib/oraclemkdir ...原创 2010-01-05 09:52:55 · 189 阅读 · 0 评论