ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Successfull VmWare 5.0 installation instructions for Sisyphus
@ 2005-05-10  1:19 Ilia K.
  2005-05-10  9:11 ` [sisyphus] " Michael Shigorin
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Ilia K. @ 2005-05-10  1:19 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list
  Cc: Evgeniy Strebkov, Loginov W.W., Andrey Rahmatullin

[-- Attachment #1: Type: text/plain, Size: 3247 bytes --]

Доброго времени суток всем!
Сегодня покопавшись в рассылке поставил на Сизиф VmWare 5.0
посредством спеков Андрея Рахматулина aka wRAR. Так как процесс не до
конца автоматизирован, решил записать на будущее все свои действия, а
потом подумал, чего бы и не поделиться с народом.
Способ wRAR'а заслуживает не меньше внимания, чем ручная правка
скриптов vmware, поэтому думаю что было бы неплохо видеть эту
информацию где-нибудь рядом с
http://faq.altlinux.ru/index.php?action=single&nf=1&qid=548
и
http://wiki.sisyphus.ru/admin/VmWare
Так что просьба к товарищам с соотв. правами добавить хотя бы ссылку
на это письмо в архиве рассылки (а ещё лучше - выложить весь файл) .
Файл оформлен в виде "bash скрипта для чтения". Для удобства аудитории
он также "приаттачен".

Просьба к тов. wRAR'у: нельзя ли выкладывать файл vmware.readme в
родной для большенства русских линуксоидов кодировке (koi8), а то
открываешь его и сразу вспоминается всё то хорошее, что пережил во
времена использования мастдая :)

# Installing VmWare 5.0 on ALTLinux Sisyphus
# using WRAR's specs (ftp://ftp.altlinux.ru/pub/people/wrar/vmware/5.0/)

# if you want to run this file as a script, be sure you are allowed to
# run sudo, when needed. If you are installing manually step by step, 
# just ignore the following variable, but run all command beginning 
# with it as root
AS_ROOT=sudo

# Once per VmWare build version:
# ------------------------------

# get official vmware release in tar.gz format
wget http://download3.vmware.com/software/wkst/VMware-workstation-5.0.0-13124.tar.gz

# get WRAR's src.rpm
wget ftp://ftp.altlinux.ru/pub/people/wrar/vmware/5.0/vmware-5.0.0-alt0.4.1.nosrc.rpm

# build vmware rpm for ALTLinux
ln -s VMware-workstation-5.0.0-13124.tar.gz ~/RPM/SOURCES/
rpm -bb vmware-5.0.0-alt0.4.1.nosrc.rpm

# (AS ROOT) install built rpms
$AS_ROOT rpm -ihv \
     ~/RPM/RPMS/i586/kernel-source-vmware-5.0.0-5.0.0-alt0.4.1.i586.rpm 
$AS_ROOT rpm -ihv ~/RPM/RPMS/i586/vmware-5.0.0-alt0.4.1.i586.rpm



# Once per running kernel version:
# --------------------------------

# set proper environment: $kversion, $krelease, $kflavour, $kreleasebuild
`uname -r | sed 's/\(2\.6\.[0-9]*\)-\(.*-.*\)-\(alt\)\(.*\)$/export
kversion=\1\nkrelease=\3\4\nkflavour=\2\nkreleasebuild=\4/'`
export MYSPEC="kernel-modules-vmware-`uname -r`.spec"`

# (AS ROOT) install all needed headers
$AS_ROOT apt-get install kernel-headers-modules-$kflavour

# get WRAR's spec
wget ftp://ftp.altlinux.ru/pub/people/wrar/vmware/5.0/kernel-modules-vmware.spec

#set proper @kreleasebuild@ @kversion@ @krelease@ @kflavour@ in above spec
sed "s/@kversion@/$kversion/ s/@krelease@/$krelease/
s/@kflavour@/$kflavour/ s/@kreleasebuild@/$kreleasebuild/" <
kernel-modules-vmware.spec > "$MYSPEC"

# compile vmware modules
rm ~/RPM/RPMS/you_arch/kernel-modules-vmware-5.0.0-*.rpm
rpm -bb "$MYSPEC"

# (AS ROOT) install vmware modules
$AS_ROOT rpm -ihv ~/RPM/RPMS/you_arch/kernel-modules-vmware-5.0.0-*.rpm

# (AS ROOT) standard vmware configure script, no need to compile the modules
$AS_ROOT vmware-config.pl

# (AS ROOT) do it every time, vmware thinks it's "not configured", but 
# you've already done all the above for your currently running kernel
$AS_ROOT rm -f /etc/vmware/not_configured

[-- Attachment #2: VmWare-ALTLinux-Install --]
[-- Type: text/plain, Size: 2242 bytes --]

# Installing VmWare 5.0 on ALTLinux Sisyphus
# using WRAR's specs (ftp://ftp.altlinux.ru/pub/people/wrar/vmware/5.0/)

# if you want to run this file as a script, be sure you are allowed to
# run sudo, when needed. If you are installing manually step by step, 
# just ignore the following variable, but run all command beginning 
# with it as root
AS_ROOT=sudo

# Once per VmWare build version:
# ------------------------------

# get official vmware release in tar.gz format
wget http://download3.vmware.com/software/wkst/VMware-workstation-5.0.0-13124.tar.gz

# get WRAR's src.rpm
wget ftp://ftp.altlinux.ru/pub/people/wrar/vmware/5.0/vmware-5.0.0-alt0.4.1.nosrc.rpm

# build vmware rpm for ALTLinux
ln -s VMware-workstation-5.0.0-13124.tar.gz ~/RPM/SOURCES/
rpm -bb vmware-5.0.0-alt0.4.1.nosrc.rpm

# (AS ROOT) install built rpms
$AS_ROOT rpm -ihv ~/RPM/RPMS/i586/kernel-source-vmware-5.0.0-5.0.0-alt0.4.1.i586.rpm 
$AS_ROOT rpm -ihv ~/RPM/RPMS/i586/vmware-5.0.0-alt0.4.1.i586.rpm



# Once per running kernel version:
# --------------------------------

# set proper environment: $kversion, $krelease, $kflavour, $kreleasebuild
`uname -r | sed 's/\(2\.6\.[0-9]*\)-\(.*-.*\)-\(alt\)\(.*\)$/export kversion=\1\nkrelease=\3\4\nkflavour=\2\nkreleasebuild=\4/'`
export MYSPEC="kernel-modules-vmware-`uname -r`.spec"

# (AS ROOT) install all needed headers
$AS_ROOT apt-get install kernel-headers-modules-$kflavour

# get WRAR's spec
wget ftp://ftp.altlinux.ru/pub/people/wrar/vmware/5.0/kernel-modules-vmware.spec

#set proper @kreleasebuild@ @kversion@ @krelease@ @kflavour@ in above spec
sed "s/@kversion@/$kversion/ s/@krelease@/$krelease/ s/@kflavour@/$kflavour/ s/@kreleasebuild@/$kreleasebuild/" < kernel-modules-vmware.spec > "$MYSPEC"

# compile vmware modules
rm ~/RPM/RPMS/you_arch/kernel-modules-vmware-5.0.0-*.rpm
rpm -bb "$MYSPEC"

# (AS ROOT) install vmware modules
$AS_ROOT rpm -ihv ~/RPM/RPMS/you_arch/kernel-modules-vmware-5.0.0-*.rpm

# (AS ROOT) standard vmware configure script, no need to compile the modules
$AS_ROOT vmware-config.pl

# (AS ROOT) do it every time, vmware thinks it's "not configured", but 
# you've already done all the above for your currently running kernel
$AS_ROOT rm -f /etc/vmware/not_configured



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2005-05-13 11:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-10  1:19 [sisyphus] Successfull VmWare 5.0 installation instructions for Sisyphus Ilia K.
2005-05-10  9:11 ` [sisyphus] " Michael Shigorin
2005-05-10 10:03   ` Andrey Rahmatullin
2005-05-10 10:03 ` Andrey Rahmatullin
2005-05-10 10:15   ` Led
2005-05-10 10:30     ` Andrey Rahmatullin
2005-05-10 10:58       ` Led
2005-05-10 14:13       ` ABATAPA
2005-05-10 13:07   ` Michael Shigorin
2005-05-10 13:59     ` Andrey Rahmatullin
2005-05-10 14:22       ` Michael Shigorin
2005-05-11  8:30   ` Boldin Pavel
2005-05-10 14:49 ` Michael Shigorin
2005-05-10 19:45   ` Ilia K.
2005-05-11  9:58     ` Michael Shigorin
2005-05-11 12:18       ` Ilia K.
2005-05-11 16:53         ` Денис Смирнов
2005-05-13  1:10 ` Ilia K.
2005-05-13 11:40   ` Michael Shigorin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git