-

Install Chrome on RHEL/CentOS 7/6 and Fedora 21-15

Posted by aionman on Jan 27, 2015 in CentOS

Google Chrome 40 Released – Install on RHEL/CentOS 7/6 and Fedora 21-15

http://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/

 
-

VMWare could not start after updaing Centos 6 kernel

Posted by aionman on Jan 10, 2015 in CentOS, Linux, VMWare

When update my Centos 6 to kernel 2.6.32-504 , my VMWare Workstation 10.0.3 doesn’t work, when start the vm appear the error.

could open /dev/vmmon: No such file or directory.

 

  1. sudo service vmware stop
  2. sudo rm /lib/modules/$(uname -r)/misc/vmmon.ko
  3. sudo vmware-modconfig –console –build-mod vmmon /usr/bin/gcc /lib/modules/$(uname -r)/build/include/
  4. sudo depmod -a
  5. sudo service vmware start

 

Chose there best essayhttp://customessayhere.com/!

 
-

How I installed virtualbox 4.3 on CentOS 6.5 x86_64

Posted by aionman on Aug 7, 2014 in CentOS, Virtualbox

How I installed virtualbox 4.3 on CentOS 6.5 x86_64

All of these steps must be done as root unless otherwise specified.

Step 1: Install the EPEL repository

Step 2: Create /etc/yum.repos.d/virtualbox.repo

It should contain this:

Step 3: Install the necessary system packages

Step 4: Install VirtualBox

The setup step may take some time.

Step 5: Add users to the vboxusers group

Substitute <your_user_name> with your user name.

Step 6: Run VirtualBox

This can be done as root or as one of the users in vboxusers group.

 
-

VMware Workstation-10.0.1 fails after RedHat-6 / Centos software update

Posted by aionman on Dec 21, 2013 in CentOS, Linux, VMWare, Windows 7, Windows XP
No problems in XP or Windows 7 VMs anymore.
Summary of what I did:$ sudo service vmware stop$ sudo mv -v /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.orig

$ sudo rm -v /lib/modules/$(uname -r)/misc/v*.ko

$ sudo depmod -a

#I already had gcc, make, and the kernel headers, but if anyone is following this, they should probably make sure

$ sudo yum install make gcc kernel-headers-$(uname -r)

start vmware

 
-

How to install Plex Media Server 0.9.7.17 on CentOS / Fedora / RHEL

Posted by aionman on Mar 24, 2013 in CentOS, NAS, Others

In an earlier post we covered installing Plex Media Server 0.9.6.3 on a Windows 7 system. In this post we’ll cover how to install and configure on a Linux system, CentOS 6.2 to be exact, but this process can be used on Fedora / and RHEL as well.

First make sure you meet the system requirements.

System Requirements:

  • 1.6 GHz processor (2.4 GHz dual core for 1080p transcoding).
  • 256 MB RAM
  • Gigabit Ethernet recommended for HD streaming.
  • N.B. Flash and Silverlight video playback is not supported on Linux.

Installation is very simple. It is just a matter of adding the repo to the server and importing the key.

Create the plex.repo definition in /etc/yum.repos.d with the following contents.

[PlexRepo]
name=PlexRepo
baseurl=http://plexapp.com/rpmrepo/release/$basearch/
enabled=1
gpgcheck=1

Import the GPG key

$ rpm --import http://plexapp.com/plex_pub_key.pub

Then install it with this command:

$ yum install plexmediaserver

Now start the Plex Media Server

$ /etc/init.d/plexmediaserver start

Once the startup is completed open a browser and goto http://localhost (or systems ip):32400/manage/index.html

Click on any of the Add Media to you Library icons to add your content for the devices to see. Change preferences from the many options available.

 
-

How to install the Nvidia proprietary driver in CentOS

Posted by aionman on Oct 12, 2012 in CentOS

How to install the Nvidia proprietary driver in CentOS

I will demonstrate the installation of the latest Nvidia driver on my LG RD510 laptop that runs a 64-bit edition of CentOS 6.0 and, as it happens, comes equipped with a still fairly handsome 9600M GS card, with 512MB RAM. We will learn how to get the necessary tools for building the driver, how to resolve a conflict with the default Nouveau driver, some command line work, and a few more tricks. It should be enlightening.

Teaser

Manual method (the hard way)

This procedure is required if you do not feel like using external repositories or may be facing conflicts with repository priorities. Moreover, you might opt for this method if you must have the latest and greatest Nvidia driver, which is available from the official website, but which may not yet have landed in the repositories.

Step 1: Download the driver

Head to Nvidia site and download the driver. Very simple.

Step 2: Update your system & build tools

It is important to fully update your system before proceeding with the driver installation. The reason for this is that your running kernel may be older than the kernel source available in the repositories, so this will cause compilation conflicts.

Therefore, first max. update the system:

yum update

Reboot if necessary for your latest kernel to load. Then, install kernel source, kernel headers, make and gcc, just like in the good old times!

yum install kernel-devel kernel-headers gcc make

Compare your running kernel with the installed source:

uname -r
rpm -q kernel-devel

If the two do not match, upgrade and reboot until they do:

yum -y upgrade kernel kernel-devel

Once this step is complete, we can move on.

Step 3: Blacklist Nouveau

The Nouveau driver ships with CentOS, enabled by default. It’s this driver that allows the fancy high-resolution boot splash and whatnot. If you want Nvidia, then you will have to remove this driver first.

This can be accomplished in several ways. The quickest and simplest way is to add a small entry to the kernel line in the GRUB menu.lst file. Just append rdblacklist=nouveau and the next time your kernel boots, it will come with the old, low-resolution Plymouth three-color bar splash and no Nouveau. The second, more permanent option is to blacklisting the module is by using the /etc/modprobe.d/blacklist.conf file. Moreover, please consult my Linux commands article for details on how to achieve this.

However, during the testing, I would recommend you only change the GRUB menu. This way, if something goes wrong, you will be able to revert the changes even if your system cannot boot. Simply edit the GRUB menu and add/remove whatever you may have changed. Otherwise, you might need to boot into the single mode or from live CD and then change the blacklist.conf file.

kernel /boot/vmlinuz <all kinds of options> rdblacklist=nouveau

Once the system boots, verify that the driver is not loaded:

/sbin/lsmod | grep nouveau

Step 4: Install Nvidia proprietary driver

Now, we need to drop to text-only console, because the driver cannot install when the graphics thingies are in use. To do this, switch into runlevel 3:

init 3

Login as root. Find the downloaded Nvidia driver on your disk. Make the file executable and then run it. Follow the prompts provided by the Nvidia installer text wizard.

chmod +x <Nvidia file>.run
./<Nvidia file>.run

Once this step is complete, go back into runlevel 5.

init 5

You will see Nvidia splash, which should indicate you’re doing good. But just to be sure, open the Nvidia control panel and make sure the driver is working correctly. Testing Compiz and a few games is also a good idea.

Step 5: Test

And now we have some fun!

Control panel

Testing

Caveats

You will need to recompile your driver every time there’s a kernel update.

 
-

SAMBA share – ACCESS DENIED from Windows 7

Posted by aionman on Oct 11, 2012 in CentOS, Linux, Windows 7, Windows XP

 

Need to disable SELinux

How do I turn off SELINUX in Redhat or CentOS?

Run the following command to check if SELinux is running:
# getenforce

You can effectively disable it by running the following command
# setenforce Permissive

This will put selinux in a passive mode until the machine is rebooted. If you would like to permanently alter the attributes of selinux, view the SELINUX= line in /etc/sysconfig/selinux.

 
-

How To Install VMware Server On A CentOS 5

Posted by aionman on Aug 14, 2009 in CentOS, Linux

How To Install VMware Server On A CentOS 5.0 Desktop

This tutorial provides step-by-step instructions on how to install VMware Server on a CentOS 5.0 desktop system. With VMware Server you can create and run guest operating systems (“virtual machines”) such as Linux, Windows, FreeBSD, etc. under a host operating system. This has the benefit that you can run multiple operating systems on the same hardware which saves a lot of money, and you can move virtual machines from one VMware Server to the next one (or to a system that has the VMware Player which is also free).

Also, with VMware Server you can let your old Windows desktop (that you previously converted into a VMware virtual machine with VMware Converter, as described in this tutorial:http://www.howtoforge.com/vmware_converter_windows_linux) run under your CentOS desktop. This can be useful if you depend on some applications that exist for Windows only, or if you want to switch to Linux slowly.

I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

1 Find Out Your Kernel Version

Before we go on and install additional software, it’s a good idea to find out about your kernel version because in chapter 2 we will install the package kernel-devel which is needed by VMware Server. There are multiple kernel-devel packages available, and to select the right one you need to know your kernel version.

To find out about your kernel version, open a terminal (Applications > Accessories > Terminal):

Then become root by running:

su

Then run

uname -r

The output should look like this:

[root@localhost Desktop]# uname -r
2.6.18-8.1.3.el5

which means you have kernel 2.6.18-8.1.3.el5 installled.

2 Installing Required Packages

Before we install VMware Server, we must install some prerequisites. To install them, go to Applications > Add/Remove Software:

Type in the root password:

The Package Manager opens. Go to the Browse tab and select:

  • Development > Development Libraries
  • Development > Development Tools

Then go to the Search tab and search for xinetd. Select the xinetd package for installation:

Do the same for the kernel-devel package. Please make sure you select the kernel-devel package that corresponds to your current kernel (so if you kernel is 2.6.18-8.1.3.el5, select the kernel-devel – 2.6.18-8.1.3.el5.i686 package).

Click on Apply afterwards.

The Package Manager will then resolve all dependencies, download the packages, maybe ask you to accept some unknown software keys (please accept them), and finally install the packages.

3 VMware Server

To download VMware Server, go to http://www.vmware.com/download/server/ and click on Download Now:

Accept the license agreement by clicking on Yes:

Then download the VMware Server for Linux .tar.gz file (not the rpm file!) to your desktop (e.g. to /home/falko/Desktop):

To get the serial number you need to run VMware Server, go to http://register.vmware.com/content/registration.html. Fill in your personal details. Afterwards you will get a page with a serial number for VMware Server. Write it down or print it out:

To install VMware Server, open a terminal (Applications > Accessories > Terminal) and become root:

su

Then go to the location where you saved the VMware Server .tar.gz file, e.g. /home/falko/Desktop (replace falko with your own username!):

cd /home/falko/Desktop

Unpack the VMware Server .tar.gz file and run the installer:

tar xvfz VMware-server-*.tar.gz
cd vmware-server-distrib
./vmware-install.pl

The installer will ask you a lot of questions. You can always accept the default values simply by hitting <ENTER>. When it asks you

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]

you can accept the default value or specify a different location where you have more free disk space, e.g. like /home/falko/virtual_machines, but this is up to you and not necessary.

At the end of the installation, you will be asked to enter a serial number:

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or ‘Enter’ to cancel:

Fill in your serial number for VMware Server.

After the successful installation, you can delete the VMware Server download file and the installation directory:

cd ../
rm -f VMware-server*
rm -fr vmware-server-distrib/

You will now find VMware Server under Applications > System Tools:

When you start it, select Local host:

With VMware 2.0 The most noticeable change is that the vmware server console is … gone.

Afterwards, you can create virtual machines (or import your virtual Windows machine that you created with VMware Converter):

22

Copyright © 2017 IT Support Blog All rights reserved. Theme by Laptop Geek.