Showing posts with label CentOS. Show all posts
Showing posts with label CentOS. Show all posts

Thursday, December 27, 2018

Mouse cursor disappers inside the VirtualBox VM when installing CentOS 7

Tried to create a VM using CentOS 7 ISO on VirtualBox 6. The VM booted fine and showed WELCOME TO CENTOS 7 screen, the issue is that clicking inside the VM would cause the mouse cursor to disapper. The VM is still usable but you have to use the keyboard to navigate the OS. To workaround the issue, shutdown the VM and change the settings System | Pointing Device to USB Tablet.

CentOS 7 networking not working on VirtualBox

It seems like this is by design (for security?) that CentOS 7 does not have networking working by default. Anyway, to fix this on VM running VirtualBox, edit /etc/sysconfig/network-scripts/ifcfg-enp0s3 and change the line that says ONBOOT=no to ONBOOT=yes and then reboot the machine.

Refs:
https://superuser.com/questions/915536/centos-7-virtualbox-no-internet-access

Thursday, July 15, 2010

QNX Momentics IDE 4.6 not working in Cent OS 5.5

QNX Momentics is not officially supported not even on Cent OS 5.4 much less Cent OS 5.5. Although Cent OS 5.4 should be compatible with Red Hat Enterprise Linux 5.4 Desktop.

Also, QNX Momentics 4.6 is working happily in Cent OS 5.4, but users always like to use the latest and the greatest version.

Anyway, running QNX Momentics in Cent OS 5.5 shows the following screen:
This issue was traced back to be caused by interface change in XULRunner which comes with Firefox browser. See this link and this link for discussion about this issue.

But this is not without hope of using the IDE in Cent OS 5.5.
echo "org.eclipse.ui/showIntro=false" > /tmp/noWelcomeScreen.ini cd /opt/qnx641/host/linux/x86/usr/bin qde -pluginCustomization /tmp/noWelcomeScreen.ini

Enjoy!
~ts

Sunday, May 16, 2010

Install Opera 10.10 in CentOS 5.5

How to install Opera in CentOS 5.5

Step 1: Head to Opera's website.
Step 2: In "Select distribution and vendor", choose "CentOS". Leave the rest using the default values.
Step 3: Hit on Download Opera, and save it to ~/soft. Or any other convenient location.
Step 4: After download is done, do:
[timus@localhost ~]$ cd ~/soft [timus@localhost soft]$ su [root@localhost soft]# rpm -i opera-10.10.gcc4.shared.qt3.i386.rpm

Enjoy using Opera!!!

~ts

Google Chrome cannot be installed in CentOS 5.5 due to lsb requirements

Google Chrome Beta (5.0.375.29 beta) cannot be installed in CentOS 5.5 due to a dependency that cannot be meet. On a freshly installed CentOS, trying to install Chrome using rpm -i google-chrome-beta_current_i386.rpm spits out the following:

[root@localhost soft]# rpm -i google-chrome-beta_current_i386.rpm warning: google-chrome-beta_current_i386.rpm: Header V3 DSA signature: NOKEY, key ID 7fac5991 error: Failed dependencies: lsb >= 3.2 is needed by google-chrome-beta-5.0.375.38-46659.i386 xdg-utils is needed by google-chrome-beta-5.0.375.38-46659.i386

Unfortunately, the latest version of "lsb" that comes with CentOS 5.5 is redhat-lsb-3.1-12.3.EL.el5.centos.i386.

~ts :(

Sunday, February 14, 2010

CentOS 5.4 netinstall on Virtualbox

Note*:
This is applicable to both CentOS 5.4 and 5.5, maybe applicable to older versions as well.

Introduction:
One of the installation methods possible in installing CentOS 5.4 is network installation or NetInstall. There are good reasons why one would like to do NetInstall and not install from the full CDs. Installing from CD means you have to download monster files. In CentOS 5.4, NetInstall iso file is only 8.9MB whereas the CDs (6 sets) are ~700MB each. So if you are planning to install just once or if you are going to use VirtualBox (note snapshot functionality, branching and cloning), then netinstall would really make sense.

Note that to have good installation experience you have to have a fast connection to internet or a mirror in your intranet.

To start with, you need to have VirtualBox installed. I am using W7 Home Premium with 8GB as the host machine. This should not matter much actually if you are familiar with VirtualBox.

Then download netinstall iso from http://www.centos.org and select the appropriate mirror. I have downloaded my copy from http://centos.cs.wisc.edu/pub/mirrors/linux/centos/5.4/isos/i386/CentOS-5.4-i386-netinstall.iso. You should try to select the mirror that is close to you and hopefully that mirror is running on a fast machine with huge pipes.

We should now be ready to install. Run Virtual GUI and create a new guest machine. Since CentOS is essentially a RedHat rebuild less the trademarks and associated graphics and icons (etc), you should be fine selecting Redhat as the Linux version. Note that for these exercise we will be using 32bit version of CentOS.

Below is my VirtualBox configuration:
Base Memory: 512 MB
Processor(s): 1
Boot Order: CD/DVD-ROM, Hard Disk
VT-x/AMD-V: Enabled
Nested Paging: Enabled
Video Memory: 12 MB
3D Acceleration: Disabled
2D Video Acceleration: Disabled
Remote Display Server: Disabled
IDE Primary Master: centos54.vdi@80GB
Audio Host Driver: Windows DirectSound
Audio Controller: ICH AC97
Network 1: Intel PRO/1000 MT Desktop bridged to Microsoft Loopback Adapter

Installation

Step 1.
Power-up CentOS 5.4 guest machine. Then mount CentOS netinstall iso. Screen capture follows with values I used to setup CentOS.
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6. You can unselect IPv6 if you are only using IPv4 here.
Figure 7. Select appropriate mirror for your location. Note that when I tried to poke around CentOS 5.5 three days after it was announced, I was having all sorts of errors using mirrors.centos.org, to the point that I can't even get a clean install. I am guessing that it is still syncing with the source. I switched to the mirror shown below and it was fantastic.
Web site name: mirrors.usc.edu CentOS directory: pub/linux/distributions/centos/5.5/os/i386

Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 16.

Step 2: Updating the base install
yum update
Step 3: Installing Guest Additions
yum install gcc -y yum install kernel-devel -y
Mount VirtualBox guest additions using the GUI, then in CentOS terminal running as root do:
[root@localhost timus]# sh /media/VBOXADDITIONS_3.1.4_57640/VBoxLinuxAdditions-x86.run
Of course, for the above command, it changes depending on the version of VirtualBox you are using.
~ts

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...