Différence entre Solaris et Redhat

Résolu/Fermé
leroyfal Messages postés 37 Date d'inscription vendredi 30 novembre 2007 Statut Membre Dernière intervention 2 septembre 2011 - 3 mai 2011 à 14:35
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 - 3 mai 2011 à 16:27
Bonjour,

Différence entre Oracle Solaris (Sun Solaris ) et Redhat

MERCI


2 réponses

zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
3 mai 2011 à 14:36
Salut,

RedHat
Solaris

What else ?
1
leroyfal Messages postés 37 Date d'inscription vendredi 30 novembre 2007 Statut Membre Dernière intervention 2 septembre 2011 19
3 mai 2011 à 16:24
Je l'avais vu mais je pense que celui-ci est beaucoup plus claire

http://www.felipecruz.com/blog_solaris-and-redhat-linux-similarities.php



What are the differences between Solaris and RedHat Linux? What are the similarities between the two operating systems at an administrative level?


What are the differences between Solaris and RedHat Linux?

The Differences Between Solaris and RedHat Linux
Here is a general overview on configurations of Solaris to help you in troubleshooting Solaris 7 problems.

The /etc filesystem
==============
Like Linux, Solaris 7 keeps system configuration files in the /etc/ file system. Here's a low down of where to find essential Solaris configurations

1. File Systems:

Solaris stores a list of File systems to mount in /etc/vfstab, unlike Linux, which uses /etc/fstab. However, /etc/vfstab uses the same formatas /etc/fstab except for one little detail: Solaris uses ufs, not ext2 as it's file system type.

2. Network settings:

Solaris uses /etc/inetd.conf and /etc/services, just like Linux.

1. /etc/netmasks contains the netmask of the IP in use by the OS
2. /etc/hosts works like expected
3. /etc/resolv.conf works like expected
4. /etc/nsswitch.conf works like expected
5. /etc/hostname.hme0 contains the hostname of the server. This is the easy way to configure an IP on Solaris. If you need to change an IP on Solaris, change the IP to the hostname in /etc/hosts, then reboot. You can also use the program sys-unconfig.
6. /etc/defaultrouter contains the default gateway
7. /etc/defaultdomain contains the domain name of the server

A Note on Virtual IPs:

The easiest way to setup a virtual IP on Solaris is the following:
a) Enter all the IPs into /etc/hosts and give them a dummy hostname, such as server1a, server1b or a name of a web site connected to that extra IP
b) Make a hostname.hme0:X files name. Simply put the name of the host that the Virtual IP corresponds to in /etc/hosts
c) run /etc/init.d/initinet
An Example:

server1.rackspace.com has the IP of 10.2.0.100 and the virtual IP of 10.2.0.101. The customer has two hostname files: hostname.hme0 for the main IP and hostname.hme0:1 for the virtual IP. hostname.hme0 contains one word - server1.hostname.hme0:1 contains one word - server1a. Their /etc/hosts would need an entry for both server1 and server1a, both pointing to 10.2.0.100 and 10.2.0.101 respectivly. Once all this is done, running /etc/init.d/initinet stop and the /etc/init.d/initinet start from the console will set up the multiple IPs.

3. NFS:

On the rare case that you need NFS on Solaris, Use /etc/dfs/dfstab to set up your shares. Linux uses /etc/exports. To start and stop NFS, use the initscript:
/etc/init.d/nfs.server (start | stop)

4. Passwords:

Solaris uses Shadow passwords, however no PAM authentication. Ergo, /etc/passwd and /etc/shadow to deal with password problems

5. Initscripts:

Solaris uses a true implementation of System V Initscripts. All initscripts are found in /etc/init.d (Redhat places them in /etc/rc.d/init.d However, our Solaris uses chkconfig, just like Redhat. So, if your wish to add new initscripts, just use chkconfig --add

6. Apache:

Just like Redhat, our Apache config. files are under /etc/httpd. However, the apache document root directory is under /opt/share/httpd, making it a bit more like FreeBSD, which uses /usr/local/share/apache.

8. Webmin:

Just like our Redhat installs...it's found under /etc/webmin

9. Sendmail:

Solaris sendmail files are under /etc/mail, more like the RAQ. To restart sendmail, use /etc/init.d/sendmail restart

10. DNS

Solaris uses it's own version of BIND, however called named as well. However, Sun wanted the whole world to use NIS+, not DNS. However, Needless to say, Solaris does not configure DNS for you. My suggestion: Get the /etc/named.conf and the files from /etc/named on a Linux box and put them on Solaris in the same fashion. Then run named or, set up DNS via webmin. This seemed to work for me.

11. The Kernel

All Kernel configuration is under /etc/system. You DO NOT recompile a Solaris kernel. There is no source code. Kernel modules in the Linux sense exist, however they are not as dynamic. Solaris has a dynamically configurable kernel, therefore you don't recompile a kernel to change kernel parameters, such as max users, open files, processes and memory. Use the system man page to learn more on what you can do. Kernel configuration is well beyond the scope of this document. Consult the Solaris 7 Documentation at docs.sun.com. Basically, you change a variable entry in the /etc/system file and reboot the machine. A typo or a false entry will cause your server not to boot. If this occurs, see my document on disaster recovery and fix the file.

The /opt file system
====================
Unlike normal Solaris, we have various RPM packages on our Solaris install. The default install directory for all of our RPMS is under /opt, which Solaris uses like Linux and FreeBSD uses /usr/local.

What can you find in /opt?

You will find the bin, sbin, lib, doc, info, include, share, man, libexec, src and tmp directories. All files installed by RPM go these directories.

What RPMS do we have installed?

Here's the list:

bash-doc-2.03-8
db-docs-2.7.7-4
db185-compat-1.8.5.2-4
python-docs-1.5.2-9
bash-2.03-8
bzip2-0.9.5c-2
chkconfig-1.0.7-6
gcc-2.8.1-4
mktemp-1.5-2
ncurses-5.0-3
ncurses-devel-5.0-3
patch-2.5-10
perl-5.00503-3
python-1.5.2-9
python-devel-1.5.2-9
slang-1.4.0-4
slang-devel-1.4.0-4
tcp_wrappers-7.6-10
info-3.12h-5
texinfo-3.12h-5
wu-ftpd-2.6.0-4
apache-1.3.12-1
php-3.0.12-8
libtool-1.3.3-4
lynx-2.8.2-3
m4-1.4-14
make-3.78.1-3
ncftp-3.0beta19-3
tar-1.13.11-3
automake-1.4-7
cpio-2.4.2-14
gzip-1.2.4a-3


A Note on RPMS: Our RPMS are pretty much homegrown from modified SRPMS. They also have been compiled with 64 Bit Support. It is *highly* unlikely you will find any newer RPMS for the packages on for those platform on the Net.

A Note on tar: Use /opt/bin/tar, not /usr/bin/tar. /opt/bin/tar works like tar on Linux.

Where are the Apache modules?

/opt/libexec

This article a courtesy of rackspace webhosting company
More Information
=============
Go here:

https://docs.oracle.com/en/





1
zipe31 Messages postés 36402 Date d'inscription dimanche 7 novembre 2010 Statut Contributeur Dernière intervention 27 janvier 2021 6 407
3 mai 2011 à 16:27
Ben voilà... merci ;-))
0