Tag Info

Hot answers tagged

47

You can look at the contents of /etc/redhat-release, which will look something like this: $ cat /etc/redhat-release CentOS release 5.4 (Final) The contents are different for an actual RHEL system. This technique works on all RedHat derivatives, including CentOS, Fedora, and others.


36

You can use the lsb_release command on recent linux distributions. If you issue: lsb_release -i -r it will tell you the Distribution and Version. This is a little bit more accurate than accessing files that may or may not have been modified by the admin or a software package. As well as working across multiple distros.


17

You can find out in the file /etc/issue cat /etc/issue And also on redhat based systems, you can find out in /etc/redhat-release cat /etc/redhat-release


14

I prefer to use the /etc/issue file. $ cat /etc/issue I've seen many situations where /etc/redhat-release has been modified to meet software compatibility requirements (Dell or HP's management agents, for instance).


13

Plug your device in, then see syslog: $ tail -n 2 /var/log/syslog Dec 22 17:25:14 localhost kernel: [73348.931267] usb 2-3: new high speed USB device using ehci_hcd and address 13 Dec 22 17:25:14 localhost kernel: [73349.084555] usb 2-3: configuration #1 chosen from 3 choices Note the device bus id there: usb 2-3. Now get the version: $ cat ...


12

man sw_vers | tail shows you the file you need to look at, namely: /System/Library/CoreServices/SystemVersion.plist /System/Library/CoreServices/ServerVersion.plist When you cat those files, you learn what you need to know.


11

Microsoft have been kind enough to have a whole page dedicated to your question (Clicky), and only a few clicks away from their landing page too! "Updated" link (to a pdf). "Updated" link (using Internet Archive Wayback machine)


10

Do not update the package called redhat-release-5Server- $ rpm -qf /etc/redhat-release redhat-release-5Server-5.3.0.3 Make sure to pin that package. If you do edit /etc/yum.conf and put this in it [main] exclude=redhat-release-5Server-* yum would refrain from updating that package and that would keep /etc/redhat-release at its current version. Not ...


9

As outlined in http://dev.mysql.com/doc/refman/5.5/en/charset-unicode-sets.html this seems to be the correct behavior: utf8_general_ci also is satisfactory for both German and French, except that “ß” is equal to “s”, and not to “ss”. If this is acceptable for your application, you should use utf8_general_ci because it is faster. Otherwise, use ...


8

You're asking us how to make pork chops when all you have is a pound of ground beef. There's no good reason to use Samba for this, IMO. If they're on an AD domain, the clients have stored their OS version in the OperatingSystem attribute of their computer objects. Using the ActiveDirectory Powershell module: Get-ADComputer -Filter * -Properties ...


8

Under Windows you might want to try CPU-Z. Under linux, you can try cat /proc/cpuinfo.


7

If the package is not in the Backports Repository, you could request it to be backport-ed. Or get the source and make your own (static) build. For easy removal/upgrade either create a package or use checkinstall. Another possibility is to install the package from someone's launchpad ppa but who trusts a package which someone has complied. Update: ...


7

Windows 7 64-bit works fine for me on a 4Gb machine. Win2k8 64-bit also works fine in 4Gb. We're running SQL Server on several 2k8 4Gb 64-bit machines, the only problems we've seen are with SQL eating all available memory which can be solved by setting the maximum memory option.


7

You can find the version number of a package in your repositories with the yum info command. # yum info rabbitmq-server Available Packages Name : rabbitmq-server Arch : noarch Version : 2.6.1 Release : 1.fc16 Size : 1.1 M Repo : updates Committer : Peter Lemenkov <lemenkov@gmail.com> Committime : Tue Nov 8 ...


6

Assuming it truly is a Red Hat release (not Centos): rpm -q redhat-release Or just run: uname -r And map the output. 2.6.9 kernels are RHEL4, 2.6.18 kernels are RHEL5. If necessary, you can map the full version to the specific update releases from Red Hat (i.e. 2.6.9-89 is RHEL5 U4).


5

I'm running Windows 7 x64 with very little problems, for a home and development PC its great and have had no problems with it. If you were using it in a corporate environment then you may need to stick with a finished and complete OS, so I'd say Vista x64. I used it prior to 7 and it worked fine for me. On a powerful enough machine, with enough resources it ...


5

Easy way to tell: Press the Windows Button Key and at the same time press PAUSE (or Break) A box will appear, with all sorts of useful information and at the top, what version of XP you are using, its Service Pack level and a few bits of Hardware information. This works on most MS products (there are lots of short cuts like that)


5

XP is not a server OS. It mainly comes in Workstation, Home, and Media Center versions. MSKB on determining XP version: http://support.microsoft.com/default.aspx?scid=kb;en-us;310104


5

On your workstation hold the CTRL key, right click the Outlook icon in the Notification Tray, select the Connection status item from the context menu, look for the Mail item in the Type column, scroll to the right and look at the version. That is the Exchange Server build number for the server where your mailbox is.


5

Use the smbstatus command from the shell to get an output like this Samba version 3.0.25b-1.el5_1.4


5

Oracle dropped support for US IIIi processors in Solaris 11 (official announcement). Solaris 10 will work fine.


4

To expand on the other (also correct) answers a little further, from windows.php.net: Which version (of PHP for Windows) do I choose? If you are using PHP with Apache 1 or Apache2 from apache.org you need to use the VC6 versions of PHP. If you are using PHP with IIS you should use the VC9 versions of PHP. VC6 Versions are compiled with ...


4

Windows Server 2008 Enterprise Edition adds these features compared to the Standard edition: Active Directory Certificate Services are not limited to creating Certificate Authorities – no other ADCS features (NDES, Online Responder Service). Active Directory Federation Services File Services are not limited to 1 standalone DFS root. Network Policy and ...


4

cat /etc/redhat-release will tell you.


4

Have you looked at using WMI? Win32_OperatingSystem The Win32_OperatingSystem class represents an operating system installed on a Win32 computer system. Any operating system that can be installed on a Win32 system is a descendent (or member) of this class. Example: Microsoft Windows 95. Win32_OperatingSystem Properties : BuildNumber : The BuildNumber ...


4

That's a Xeon 5050. The cache size is 2x2MB ( i suspect whatever tool reported that 2MB was reporting per core) not 4MB as indicated on the Intel site http://ark.intel.com/Product.aspx?id=27210. It's not hard to figure this out. The socket for 5000P is LGA 771. You now go to http://en.wikipedia.org/wiki/List_of_Intel_Xeon_microprocessors search for 3000 MHz ...


4

If you have RHEL, this will work (verified on RHEL 5.5): /usr/bin/lsb_release --d This will also work on CentOS. Edit: This tool is included in the package "redhat-lsb", you need to have this installed: yum info redhat-lsb | grep Repo Repo : installed


3

cat /etc/redhat-release


3

My experience with Vista (half a year post-initial-release) has been flawless. I see no reason to avoid it, it's mostly just unwarranted hate due to bad reputation in the initial launch.


3

Add the testing repos to your sources.list: deb http://ftp.debian.org/debian testing main contrib Now do 'apt-get install gcc-4.4' ; it turns out that 4.4 is packaged so it can be installed alongside the straight 'gcc' package.



Only top voted, non community-wiki answers of a minimum length are eligible