solaris 10维护常用命令
vmstat 2 5 查看各进程cpu,mem利用率 ps -ef|grep java 查看基于java的进程 du -sh 查看某个文件大小 df -h 查看磁盘空间分配情况及硬盘容量 kill -9 进程号 杀掉某进程 ifc...
HowTo: Restart SSH Service under Linux / UNIX
The command to restart ssh are as follows (you must login as root user):CentOS / RHEL / Fedora / Redhat Linux Restart SSH# /etc/init.d/sshd restart OR # service sshd restartDebian / Ubuntu Linux Resta...
How to share a directory on Solaris ?
How to create a shared directory in Solaris to be accessible from other nodes in the network ?OrHow to mount a directory to be accessible from other machines ?Log in to Solaris machine where you ...
Linux Software RAID
<style.v\:* {behavior.:url(#default#VML);}o\:* {behavior.:url(#default#VML);}w\:* {behavior.:url(#default#VML);}.shape {behavior.:url(#default#VML);}</style. Normal 0 false 7.8 ...
Linux Software RAID
<style.v\:* {behavior.:url(#default#VML);}o\:* {behavior.:url(#default#VML);}w\:* {behavior.:url(#default#VML);}.shape {behavior.:url(#default#VML);}</style. Normal 0 false 7.8 ...
Adding a Hard Drive in Linux
This article is a HOWTO for adding a new drive in Linux. You can also watch the video.Adding New DrivesThere are many reasons why you would need to add a new drive to your Linux box. You m...
/dev/dsk, /dev/rdsk 区别
在Solaris中有以下两个目录,/dev/rdsk Raw disk devices/dev/dsk Block disk devices咋一看,不知道有什么区别,打个比方,很简单,/dev/rdsk 下放的裸盘设备文件,相当于白纸/dev/dsk 下放的是块磁盘设备,也就是...
lofiadm: Solaris Mount an ISO CD Image
Q. How do I mount an ISO CD image under Sun Solaris UNIX?A. Just like linux loopback device Sun Solaris UNIX has lofi loopback file driver. The lofi file driver exports a file as a block device. R...
Solaris 磁盘命名
Solaris 磁盘命名 对于每个一磁盘分片,通常以cxtxdxsx表示,其中c/t/d/s的含义如下: *C代表控制器标号。控制器位于主板上面,...
Redhat Linux网卡配置与绑定
Redhat Linux网卡配置与绑定作者:NinGoo | 【转载须以超链接形式标明文章原始出处和作者信息】Redhat Linux的网络配置,基本上是通过修改几个配置文件来实现的,虽然也可以用ifconfig来设置IP,用route来...
linux ip 配置
在linux系统的 /etc/sysconfig/network-script/ifcfg-eth0文件中存放着这台机子网卡IP地址配置的相关信息,它的具体格式为:[root@localhost network-scripts]# cat ifcfg-eth0DEVICE=eth0BOOTPROTO=noneONBOOT=yesT...
Linux防火墙的关闭和开启
1) 重启后生效 开启: chkconfig iptables on 关闭: chkconfig iptables off 2) 即时生效,重启后失效 开启: service iptables start 关闭: service iptables stop 需要说明的是对于Linux下的其它服务都...
Solaris10从dhcp自动获取ip到staticIP设置
如果solaris10开始你设置的是dhcp自动获取IP,假如这个NIC的name是e1000g0,则在/etc/目录下会自动生成一个dhcp.e1000g0。如果需要从dhcp自动获取IP更改为自己手工设置的静态IP,那么首先需要将dhcp.e1000g0这个文件...
Linux重启网卡的方法
重启网卡的几种方法:一、network利用root帐户# service network restart二、ifdown/ifup# ifdown eth0# ifup eth0三、ifconfig# ifconfig eth0 down# ifconfig eth0 up...
OVM Manager 2.2.0 无法登录解决办法
安装的OVM Manager2.2.0用了好一段时间,一直没有问题,今天发现登录不上https://ovmmanager:4443/OVS然后重新启动OC4J,再登录https://ovmmanager:4443/OVS,搞定可通过 /etc/init.d/oracle-xe 和 /etc/init.d/oc4j...
Oracle Solaris Express 11 VNC Configuration
Configuration1. You have to configure gdm accordingly. Edit /etc/gdm/custom.conf to ...
How to install vlc using ubuntu mirrors
1. go to websitehttp://mirrors.163.com/.help/ubuntu.html2.download the sources.listeg: oneiric(11.10)3. sudo vi /etc/apt/sources.listadd the second step file content to it.4.Application-->Ubuntu Softw...
打开OEL5.6VNCServer
[root@VM2 ~]# cd .vnc[root@VM2 .vnc]# ls -ltotal 40-rw------- 1 root root 8 Jun 12 16:46 passwd-rwxr-xr-x 1 root root 334 Jun 12 16:47 xstartup-rwxr-xr-x 1 root root 334 ...
How to Start Oracle 11g Enterprise Manager Grid Control Agent mannually
Step #1:First, you need to find out process PID (process id),you find out Java process PID[root@x2270m2-198045 ~]# ps -ef | grep javaoracle 1177 1 0...
How to create solaris zone sample.
vi /export/home3/zone251tomcat6.shcreate -bset zonepath=/export/home3/zone251tomcat6set autoboot=trueadd dedicated-cpuset ncpus=16set importance=5endadd capped-memoryset physical=16gset swap=32gset lo...