[go: up one dir, main page]

0% found this document useful (0 votes)
47 views5 pages

27 Linux - Solaris PDF

This document compares and contrasts various configuration files, commands, and system aspects between the Linux (RedHat) and Solaris operating systems. Some key differences include Linux using ext3 filesystems and LVM while Solaris uses UFS filesystems and Veritas volume management. Printing is configured differently, with Linux using lpd/lpr and Solaris using lp/lpsched. Device names also differ between the /dev/sda style in Linux and /dev/c#t#d# in Solaris. Support resources highlighted include documentation projects, support phone numbers, and certification exams for the respective OSes.

Uploaded by

gabjones
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views5 pages

27 Linux - Solaris PDF

This document compares and contrasts various configuration files, commands, and system aspects between the Linux (RedHat) and Solaris operating systems. Some key differences include Linux using ext3 filesystems and LVM while Solaris uses UFS filesystems and Veritas volume management. Printing is configured differently, with Linux using lpd/lpr and Solaris using lp/lpsched. Device names also differ between the /dev/sda style in Linux and /dev/c#t#d# in Solaris. Support resources highlighted include documentation projects, support phone numbers, and certification exams for the respective OSes.

Uploaded by

gabjones
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

/

LINUX(RedHat)
{/dev/sda1}

SOLARIS
/

{/dev/vx/dsk/rootvol}

/export/home
/dev/vx/dsk/home}
/tmp
/dev/vx/dsk/swapvol}
/usr
/var
LINUX(RedHat)

Solaris

/etc/passwd
/etc/shadow

/etc/passwd
/etc/shadow

/etc/group

/etc/group

65535

2147483647

/etc/securetty
{ttyp1}

/etc/default/login
{CONSOLE=/dev/console}

99

60001 & 65534(nobody4)

99

60002 & 65534(nogroup)

{lilo}
control-x
linux S
passwd root
{grub}
c
kernel vmlinuz-2.4.9-13
initrd /initrd-2.4.9-13.img
boot
ro root=/dev/hda8 = single
passwd root

boot cdrom -s
mkdir /tmp/a
mount /dev/c0t0d0s0 /tmp/a
vi /tmp/a/etc/shadow

useradd

useradd

userdel

userdel
logins

usermod

usermod
LINUX(RedHat)

Solaris

hostid

hostid

linuxconf

admintool

top

top

sar {sysstat}

sar

vmstat

vmstat

iostat {sysstat}

iostat

dmesg

dmesg

64 GB {>2.3.24}

16TB

sysctl kernel.shmmax
900 MB
/dev/sda2

/dev/vx/dsk/swapvol

partition type 82

swap

free

swap -l

swapon -a

swap -a
LINUX

Solaris

/var/spool/lpd/lp/*

/etc/lp/interfaces/*

/etc/init.d/lpd stop

/usr/lib/lp/lpshut

/etc/init.d/lpd start

/usr/lib/lp/lpsched

lpr

lp
lpr

lpq

lpstat

lprm

cancel
lprm

printtool

lpadmin -p pq
lpadmin -x pq
lpadmin -d pq
LINUX(RedHat)

Solaris

/etc/sysconfig/network-scripts/

/etc/hostname.*
/etc/inet/*
/etc/defaultrouter

/etc/hosts

/etc/inet/hosts

/etc/nsswitch.conf

/etc/nsswitch.conf

sysctl -a | grep net

ndd /dev/[tcp|ip] ?

routed

in.routed

ifconfig -a

ifconfig -a

modprobe ip_alias
ifconfig eth0:1 IP

ifconfig hme0:1 IP up

/etc/issue

BANNER @
/etc/default/telnetd
{/etc/system}
set pt_cnt = #
set npty = #

cd /dev
./MAKEDEV -v pty

{SYSV}
{BSD}

{/etc/iu.ap}
ptsl 0 # ldterm ttcompat
halt
boot -r

256

176
3000

rsh

rsh

/sbin/ypbind

/usr/lib/netsvc/yp/ypbind
LINUX(RedHat)

Solaris

/etc/exports

/etc/dfs/dfstab
/etc/dfs/sharetab

/var/lib/nfs/xtab

/etc/rmtab

2 TB

1 TB
8000 TB {vxfs}

2 GB
8192 GB

{512B block size}


{8KB block size}

sysctl fs.file-max

{BSD}
{SYSV}

1 TB
2 GB {=<2.5.1}
64 K

LINUX(RedHat)

SOLARIS

/etc/fstab

/etc/vfstab

df -k

df -k

cat /proc/devices

sysdef

cat /proc/scsi/scsi0/sda/model

format -d c#t#d#
format>current
format>inquiry

fdisk -l

prtvtoc

logical extents

sub disk

logical volume

Volume
Plex

volume group

disk group

ext3
reiserfs

vxfs
/dev/vx/dsk/rootdg

vgdisplay -v

vxprint -l -g rootdg

pvchange
pvcreate

vxdiskadd

pvdisplay

vxprint -dl

vgreduce

vxdg rmdisk

pvmove

vxassist move

vgcreate

vxdg init

vgremove
vgchange
vgcfgrestore
vgexport

vxdg deport

vgimport

vxdg import

vgscan
lvchange

vxedit set

lvdisplay

vxprint -vl

lvcreate

vxassist make

lvextend

vxassist growto

lvreduce

vxassist shrinkto

lvremove

vxedit rm

lilo

vxbootsetup

resize2fs
resize_reiserfs

vxva
mkfs -M

lvsplit
lvmerge
vxassist mirror
lvcreate -i 3 -I 64

vxassist make vol 100mb layout=raid5

tar cvf /dev/rst0 /

ufsdump

tar xvf /dev/rst0

ufsrestore

LINUX(RedHat)

SOLARIS

/etc/rc.d/rc

/etc/init.d

/boot/vmlinuz

/kernel/genunix

sysctl -a

sysdef -i

cd /usr/src/linux
make mrproper
make menuconfig
make dep
make clean
make bzImage
make install
make modules
make modules_install

cp arch/i386/boot/bzImage /boot/vmlinuz2.2.16
mkinitrd
/boot/initrd-2.2.16.img 2.2.16
vi
/etc/lilo.conf
lilo

vi /etc/system
reboot

vi /etc/lilo.conf
lilo
lsmod

modinfo

insmod

modload

rmmod

modunload

netconf

sys-unconfig

free

prtconf

getconf LONG_BIT

isainfo -kv

lcrash

crash

strace

truss

uname -m

uname -imp

uname -r

uname -r

runlevel

who -r
/var/crash/`uname -n`

{lilo}
control-x
linux S
{grub}
c
kernel vmlinuz-2.4.9-13 single
ro root=/dev/hda8
initrd /initrd-2.4.9-13.img
boot

ok boot -s

ok boot -as
Stop-A
ok go
/etc/sysconfig/clock

/etc/TIMEZONE
/etc/default/init

/etc/ntp.conf
/etc/rc.d/init.d/xntpd

/etc/inet/ntp.conf
/etc/init.d/xntpd

LINUX(RedHat)

rpm -i package

pkgadd

rpm -e package

pkgrm

rpm -qa

pkginfo

rpm -V package

pkginfo -i
pkginfo -p

rpm -ql package

pkgchk -l package
patchadd -p

rpm -qf file

pkgchk -l -p path

/var/lib/rpm

/var/sadm
LINUX(RedHat)

/dev

/devices

/dev/MAKEDEV

drvconfig
devlinks
disks
tapes
ports
rem_drv
prtconf -D

cat /proc/cpuinfo

psrinfo -v
pmadm -l

lspci
pnpdump

/usr/platform/`uname -m`/
sbin/prtdiag
ok test-all
/opt/SUNWvts/bin/sunvts

/dev/sda

/dev/c#t#d0s2

/dev/cdrom

/dev/dsk/c#t6d0s2

iso9660

hsfs

/dev/rst0
/dev/nrst0

{ c 9 0}
{ c 9 128 }

/dev/fd0

/dev/rmt/0
/dev/rmt/0n
/dev/diskette

LINUX(RedHat)

LINUX FAQ

Solaris 2 FAQ

Linux Documentation Project

Solaris 10 Documentation

Red Hat support

SunSolve

1-888-REDHAT1

1-800-USA-4SUN

Linux Software Map

Sun Freeware

RHCE

suned.sun.com

You might also like