Установить vmware в opensuse
Оригинал: "How To Install VMware Server On OpenSUSE 10.3"
Автор: Крис Моуэрс (Chris Mowers)
Дата публикации: 25 / 03 / 2008
Перевод: Н.Ромоданов
Дата перевода: сентябрь 2009 г.
1. Щелкните мышкой по Computer > More Applications > YaST (Компьютер > Добавить приложения > YaST)
2. Для доступа в YaST введите пароль пользователя root
3. Прокрутите скроллинг вниз до тех пор, пока Вы не увидите пункт Software Management и сделайте по нему один щелчок мышкой
4. Проверьте, установлены ли следующие программы. Если нет, то установите их
4. make (вероятнее всего установлен, но – еще раз проверьте)
5. Как только указанные программы будут установлены, перейдите в командную строку. Правой кнопкой мышки щелкните по рабочему столу и выберите пункт “open terminal” (открыть терминал)
6. Как только Вы войдете в терминал, вам следует зарегистрироваться как суперпользователь или root. Вы можете сделать это с помощью команды su
7. Далее Вы должны запустить следующую команду. Она проверит наличие необходимых программ, а также укажет, как модули ядра установлены. Номера ядра должны быть одни те же, в противном случае у вас впоследствии возникнут проблемы.
8. Когда команда будет выполнена, Вы должны увидеть что-то наподобие следующего:
9. Обратите внимание, что оба ядра одинаковы. Если номера различны, то вам следует в режиме онлайн выполнить обновления, получить последние версии и убедиться, что их номера совпадают. Только помните, что эти номера изменятся. На момент написания статьи указанные номера были последними, у вас номера могут отличаться от моих.
10. Все в порядке – давайте двигаться дальше. Далее мы должны перейти в директорий /usr/scr/linux. Мы можем сделать это с помощью следующей команды:
11. Затем мы должны набрать следующие команды. Не беспокойтесь, мы уже сделали в командной строке почти все, что нужно.
Обратите внимание, что когда все будет сделано, Вы снова вернетесь к строке
12. Да. Момент, который все мы ждали – установка сервера server. Но мы сделали еще не все. Как только сервер будет установлен, вам нужно будет его сконфигурировать.
13. Далее вам нужно перейти туда, куда вы загрузили файл, щелкнуть правой кнопкой мышки и выбрать установку программы.
14. Как только окна закроются, мы будем готовы сделать конфигурацию. Знаю, знаю – но мы уже почти все сделали. Только две минуты или чуть больше.
15. Откройте новое терминальное окно (или перейдите в то, что уже открыто) и введите следующую команду
16. Затем мы должны запустить pl скрипт, который нам любезно предоставила vmware. Он позволит нам сконфигурировать сервер
17. Мы начнем с чтения пользовательского соглашения EULA. Чтобы просмотреть все соглашение нажимайте на клавишу пробела или на enter. После того, как Вы все прочитаете, нажмите Q, а затем наберите yes. Все, что сейчас я сделал – согласился со всеми настройками, используемыми по умолчанию. Это позволит нам получить очень хорошую настройку vmware. Мое единственное предложение – создать в вашем директории /home/username/ папку, называемую vms. Когда вам будет задан вопрос о том, где сохранить вашу виртуальную машину, укажите это место.
18. У вас будет запрошен лицензионный ключ, так что убедитесь в том, что он у вас имеется. Введите его и нажмите клавишу enter.
Вы все сделали. Это было довольно просто. Теперь, когда сервер vmware установлен, мы можем установить столько виртуальных машин, сколько сможет обработать ваш компьютер. Для примера – на одном из моих компьютеров с процессором a intel celeron 2.40 ГГц и 1 Гбайт оперативной памяти работало 5 виртуальных машин: два сервера Windows 2003, один экземпляр opensuse 10.3 и два сервера ubuntu 7.10, причем все это работало одновременно. Неплохо с учетом аппаратных средств. В любом случае получите удовольствие и насладитесь вашей только что установленной Vmware.
For kernel versions greater than or equal to 2.6.32 patching of the kernel modules used by VMware is required to enable them to compile. This article explains how to install a pre-built rpm containing the current patches along with the necessary scripts to simplify the installation and building of these kernel modules.
Tested on openSUSE
Recommended articles
Related articles
Patching VMware
Install the Packages Required for Building Kernel Modules
Install the following packages. The Software Management tool in YaST makes this easy to do.
Make sure that your Kernel is up to date. Your kernel version must match the version of the kernel-syms and kernel-source packages.
Warning: If you update your kernel you must be sure to update kernel-source and kernel-syms as well to be sure that they all have the same version. If you update your kernel via YOU (YaST Online Update) you can be 99% sure that if you update the kernel all installed kernel-packages (kernel-
Installing VMware Workstation (openSUSE)
On openSUSE 11.3 there was an issue where the workstation install hung, so this can be overcome by unpacking the rpm to install.
Open a terminal session and as your user cd to the download location of the rpm (a work directory under your home directory is a good idea) and run the following commands;
rpm2cpio VMware-Workstation-6.5.4-246459.x86_64.rpm | cpio -idmv
./var/cache/vmware/VMware-Workstation-6.5.4-246459.x86_64.bundle
774099 blocks
mv ./var/cache/vmware/VMware-Workstation-6.5.4-246459.x86_64.bundle .
chmod u+x *.bundle
Now you need to open a second terminal session and become root user and run the following commands;
In the previous terminal (where you unpacked the rpm also become root user and install the bundle by running the following commands;
Now proceed as required until the installer finishes, then in the terminal session running the killall command, press ctrl+c to quit the looping command and exit/close the terminal.
Prepare the Host System for Building Kernel Modules
To make kernel source files usable so that the kernel modules can be compiled, follow these steps.
1. Open a Terminal window
2. Use su to become root
3. Change to /usr/src/linux directory, and run the following command:
4. Run the following command:
Responding to the Configuration Script Prompts
- If you need it, Cool Solutions has an article detailing how to respond to each of the prompts.
Contents
"In Freedom there is No Concept! Freedom is absolute Emptiness, but it is valid only if it feels like a Heart beating harmoniously."
The GNU+Linux Foundation
"When the Last Tree has been cut down, the Last Fish caught, the Last River poisoned, only then will we realize that One Cannot Eat Money."
"No usable Computer exists today with completely Open Software and Hardware (as much as some companies want to Market themselves as such)."
Follow Us
The GNU/Linux Free Software Phylosophy
"Dreams shows the Interior naked Truth. Transcendent Sense-Information-Awareness shining freely from the Eternal Source of Reality: the Priceless, Timeless, and Boundless Soul!"
Steve Jobs’ Last Words
"Being a Winner in a Free Computing OS Mission means to adopt a Commercial like Strategy. Transcending Duality in Oneness and so dispensing both Free and Non Free Software. Cause evangelizing Freedom in a Non Free World is like keeping a Trojan Horse. Hallelujah!"
Coronavirus Best Natural Remedies for Protection/Cure
"Taking care if somebody is liking, following, or buying is just a serious hidrance on the priceless Way of Creative Freedom."
"Using the Money just for buying Stuff and Not Supporting the Free Gift Philosophy is a sign of a Selfish and Narrow Mind."
What can Save the World from Self-destruction? The Humble Conversion to the Spiritual Way.
Because Earth & Nature has been Ravaged by the blind wild mass race to prove that you are Someone Better because you got $ome fla$hy Power$.
Thanks to Google
Dear Linux User, should be nice if you can Realize how without Google Ads most of these Contents likely would Never be Written!
So Thanks to Google and the Google Ads Advertisers for their Support.
Moreover, I can find out easily the needed insight to make my Guides again using the Best Search Engine: Google.
Credits
Everlasting Glory to God, Jesus Christ, The Holy Spirit, Ganesha, Shiva, Vishnu, Krisna, Laozi, Buddha, Bodhidharma, Ma Gcig, Hakuin, Ikkyu, Nagarjuna, Tilopa, Naropa, Milarepa, Suhrawardi, St Dismas, St Francesco, St Teresa, St John, St Filippo, Eckehart. All The Holy Divinities, Avatars, Saints, Mystics, and True Spiritual Masters. Because they are in the Eternal Light of Truth & Delight Enlightening a World of Darkness, Nescience, Blindness, Uneasiness and Falsehood!
Divine vs Devilish Nature
"The Divine Saint Dynamics is Everlasting Oneness, All the Virtues & Excellence. Purity, Spirituality, Innocence, Imperturbableness, Trusting, Guiltless, Altruist, Sharing and Emptiness.
Instead the Devilish Human one is Ephemeral Differentiation, All Lacks & Troubles. Inpurity, Spiritless, Perverse, Furious, Doubting, Inculpative, Egoist, Greedy and Monetary."
Donate to Extreme Poor People
QuickChic Theme • Powered by WordPress
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
Installing VMware Workstation (SLE 11 SP1)
For VMware-workstation install via the rpm command, so open a terminal session and run the following commands;
Prerequsites
The following development applications are required;
- make, gcc, patch, kernel-source, kernel-syms, linux-glibc-devel or linux-kernel-headers.
- Either VMware-server 2.0.2, VMware-Workstation 6.5.4 or 6.5.5 and less than 7.1
1. Launching Terminal
Open a Shell Terminal emulator window
(Press “Enter” to Execute Commands)
Подготовка системы для сборки модулей
1. Откройте терминал
2. Используйте su чтобы получить права root
3. Перейдите в каталог /usr/src/linux и выполните следующую команду
4. Выполните команду
For openSUSE 11.3 and 11.4
After a kernel update there is a new -obj directory added, so the softlinks to autoconf.h and utsrelease.h need updating. So before running any vmware reconfiguration after a kernel update you need to run the following commands;
Запуск VMware
Существует два способа запуска VMware Workstation. Заметка: Vmware не требует привелегий root. Идеальный вариант запуск VMware от обычного пользователя. Однако, возможно вам потребуется назначить соответствующие права для доступа к некоторым каталогам.
For openSUSE 12.3
With the 3.7.* kernels, the location of .version.h has changed from VMWare's default path. This may not affect all versions of VMWare, however, this applies to Version 9.0.1 and above.
The location in SUSE changes from /usr/src/linux/linux-$(uname -r)/include/linux/version.h to /usr/src/linux-3.7.x-x.xx-obj/x86_64/desktop/include/generated/uapi/linux/version.h . However, VMWare will look for it in /lib/modules/3.7.x-x.xx-desktop/build/include/linux/version.h. A clean method can be implemented by creating a symbolic link to version.h (but this is not required unless you habitually change your kernel, in which case it would be best to memorize the paths). A dirty method of fixing this is to copy the version.h to the path where VMWare is looking for it.
This is done by: mkdir /lib/modules/3.7.x-x.xx-desktop/build/include/linux/ cp /usr/src/linux-3.7.x-x.xx-obj/x86_64/desktop/include/generated/uapi/linux/version.h /lib/modules/3.7.x-x.xx-desktop/build/include/linux/
Установка VMware Workstation на свежих сборках SuSE Linux (или после просто обновления ядра на стабильных версиях) может быть немного сложна. Эта статья призвана помочь вам в несколько этапов выполнить восстановление или установку с нуля VMware Workstation.
Настройка Bridge Networking прервалась; VMware просит вас запустить vmware-config.pl
Setting up VMware Workstation on the build versions of SUSE Linux (or even after a simple kernel update on the stable version) can be a bit taxing. This page should help you resolve some of the steps to recovering your VMware installation, or getting your first install to work.
Install vmware-fix
You can then use your preferred method to install the rpm. On openSUSE 11.3 there is a post install script that runs to create softlinks to autoconf.h and utsrelease.h. If you uninstall the rpm it will delete them.
Once the vmware-fix rpm has installed, open a terminal session and become root user and run the following commands as per your install below;
Установка пакетов необходимых для сборки
Установите следующие пакеты , используя модуль Software Management в YaST.
Убедитесь что ваше ядро обновлено. Версия ядра должна совпадать с версиями пакетов kernel-syms и kernel-source.
Внимание:Если вы обновили ядро вы должны быть уверены что обновлены и kernel-source и kernel-syms , чтобы убедиться что они одних версий.Если обновление происходит через YOU (YaST Online Update) тогда вы можете на 99% быть уверенным ,что обновляя ядро , все установленные пакеты ядра (kernel-
Читайте также: