Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ VirtualBox virtual machine to install Linux     - CentOS cross compiler core Raspberry Pi 2 (Linux)

- How to Install Apache on Linux servers (Server)

- Linux disk partition batch format mount script (Linux)

- CentOS 6.5 / Linux restart network card being given Determining if ip address x.x.x.x is already in use (Linux)

- Using Libreoffice under ubuntu (Linux)

- Linux command ls (Linux)

- MySQL stored procedures execute dynamic sql statement (Database)

- Distributed transaction management Spring declarative transactions (Programming)

- Scope of variables in C # (Programming)

- CentOS7 build GlusterFS (Linux)

- How to use Quagga BGP (Border Gateway Protocol) router to filter BGP routing (Linux)

- Linux System Getting Started Learning: Debian download, installation and graphical interface (Linux)

- Acting on JavaScript events (Programming)

- Java code JIT compiler-friendly Mody (Programming)

- Those things packaged using Gradle to Android (Programming)

- 12 Linux Process Management Commands (Linux)

- Linux reserves the rest of the file to delete several (Linux)

- Linux User Management (Linux)

- Configure shared library PCRE (Linux)

- Reset CentOS / RHEL root account password 7 (Linux)

 
         
  VirtualBox virtual machine to install Linux
     
  Add Date : 2016-11-04      
         
         
         
  Step 1: Install VNC

1. Install vnc

yum install -y tigervnc *

2. Start vncserver

[Root @ xxx ~] # vncserver
You will require a password to access your desktops.

Password:
Verify:
xauth: creating new authority file /root/.Xauthority

New 'xxx: 1 (root)' desktop is xxx: 1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/xxx:1.log

3. Configure VNC Server startup file

Read a lot about the article, said the need to change ~ HOME / .vnc / xstartup file, but I have not changed, of course, still have to install a graphical interface

yum -y install gnome *

Configure / etc / sysconfig / vncserver file

VNCSERVERS = "10: root"
VNCSERVERARGS [10] = "- geometry 1024x768 -nolistien tcp"

Port number, user, according to the resolution of the actual situation changes, save and exit

vncserver -list # see if there is a plurality of ports
vncserver -kill: x # delete unused ports
vncserver: 10 # vncserver start

NOTE: After the restart vncserver, in the windows system installation vncviewer, enter the IP: port number and password to enter the graphical interface
 If the screen is garbled, probably because linux system is a Chinese installation, modify / etc / sysconfig / i18n file conversion in English

Step 2: Install VirtualBox

1. Install the DKMS kernel into dkms rpm official website to download the installation package, download address: http: //linux.dell.com/dkms

wget http://linux.dell.com/dkms/permalink/dkms-2.2.0.3-1.noarch.rpm
rpm -ivh dkms-2.2.0.3-1.noarch.rpm

2. Download VirtualBox install the RPM package, download address: https: //www.virtualbox.org/wiki/Downloads

wget http://download.virtualbox.org/virtualbox/4.3.28/VirtualBox-4.3-4.3.28_100309_el6-1.x86_64.rpm
rpm -ivh VirtualBox-4.3-4.3.6_91406_el6-1.x86_64.rpm

After installation, the following error message appears:

No precompiled module for this kernel found - trying to build one Messages.
emitted during module compilation will be logged to /var/log/vbox-install.log.

Stopping VirtualBox kernel modules [OK]
Uninstalling old VirtualBox DKMS kernel modules [OK]
Trying to register the VirtualBox kernel modules using DKMSError! Echo
Your kernel headers for kernel 2.6.32-358.el6.x86_64 can not be found at
/lib/modules/2.6.32-358.el6.x86_64/build or /lib/modules/2.6.32-358.el6.x86_64/source.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)

Solution:

Install kernel-devel package

yum install kernel-devel - $ (uname -r)

If yum source is not installed, you can search http://rpmfind.net/linux/rpm2html to download and install the appropriate version of the system

The third step: Start VirtualBox Services

service vboxdrv setup

When the instructions to start successfully the following message when you run, then you can create a virtual machine.

Stopping VirtualBox kernel modules [OK]
Uninstalling old VirtualBox DKMS kernel modules [OK]
Trying to register the VirtualBox kernel modules using DKMS [OK]
Starting VirtualBox kernel modules [OK]
     
         
         
         
  More:      
 
- Copy U disk files to the Linux system on a virtual machine (Linux)
- TNS-03505 name could not be resolved (Database)
- Install Oracle database error process of [INS-35172] (Database)
- Linux Fundamentals of the text, data flow processing orders (Linux)
- Physical backup and recovery SYSTEM table space (Database)
- Installation on Ubuntu class Winamp audio player Qmmp 0.9.0 (Linux)
- Kitematic how seamless and DockerFILE (Server)
- Docker knowledge base (Server)
- How to modify the SQL Server auto-increment value and the corresponding solution (Database)
- After the first remote installation GlassFish Web to remotely access their back office management system error solution appears (Server)
- Linux how to handle file names that contain spaces and special characters (Linux)
- Android judgment toward camera pictures (Programming)
- Install Ruby on Rails in Ubuntu 15.04 in (Linux)
- error 1819 (HY000): your password does not satisfy the current policy requirements (Database)
- You can not ignore the seven Git tips (Linux)
- Linux-based Heartbeat high availability configuration httpd service (Server)
- Use libpq under Ubuntu 14.04 (Linux)
- To see the Linux device tree (Linux)
- Linux iptables firewall settings (Linux)
- Linux uses shared memory communication process synchronization Withdrawal (Programming)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.