Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ VirtualBox virtual machine to install Linux     - Git uses a standard process (Linux)

- Linux Crontab Timing task command Detailed (Linux)

- PostgreSQL Select source code analysis (Database)

- Elasticsearch 2.20 Highlight (Server)

- Linux security settings Notes (Linux)

- Linux software firewall ACL match point optimization (Linux)

- MySQL thread cache thread_cache_size parameter optimization (Database)

- Android development, may cause a memory leak problem (Programming)

- Through Oracle to help restore MySQL data problems (Database)

- Set multiple IP addresses for a single network card on Ubuntu 15.10 (Linux)

- Java implementation of stacks and queues (Programming)

- Reported too many open files Linux solutions (Server)

- ARP spoofing prevent Linux environment LAN (Linux)

- Why not use the ifconfig command under RedHat Linux 5 (Linux)

- MySQL multi-master-slave synchronization (Database)

- Linux / Unix system-level IO (Linux)

- Android memory optimization of the optimal load Bitmap (Linux)

- Ubuntu mysql stop fail to solve the problem (Database)

- How to protect your eyes automatically adjust the screen brightness on Linux (Linux)

- Let your PHP 7 faster (GCC PGO) (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.

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-
rpm -ivh dkms-

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, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)


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]
- Ubuntu 14.04 installation and configuration environment variable JDK1.8.0_25 (Linux)
- Download Manager uGet 2.0 installed in Debian, Ubuntu, Linux Mint and Fedora (Linux)
- ORA-08102 errors (Database)
- Linux_Logo - output color ANSI Linux distributions logo command-line tool (Linux)
- Redis application of Sina Weibo (Database)
- vnStatSVG: traffic monitoring software vnStat (Linux)
- Java concurrent programming combat (using synchronized synchronization method) (Programming)
- Help you to see Linux system architecture type 5 Common Commands (Linux)
- Automated Password Generator: Linux under a special password generator (Linux)
- C ++ CBitmap, HBitmap, Bitmap difference and contact (Programming)
- Ubuntu 14.04 next upgrade to GNOME 3.12 (Linux)
- RocketMQ Message Queuing simple deployment (Linux)
- ASP.NET 5 tutorial series (Server)
- To install PXE + Kickstart under CentOS 6.x operating system (Linux)
- Install the system cleaning software under Linux: BleachBit 1.4 (Linux)
- The OpenGL ES GLFW window structures (Programming)
- Get the Linux device PCI ID method (Linux)
- Development environment to build MEAN In Ubuntu 15.10 (Server)
- Linux System Getting Started Learning: DeVeDe installed on Linux to create a video DVD (Linux)
- Use read command to read user input (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.