ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Ilia K." <mail4ilia@gmail.com>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Cc: Evgeniy Strebkov <gdkl@yandex.ru>,
	"Loginov W.W." <altmaster@list.ru>,
	Andrey Rahmatullin <wrar@altlinux.ru>
Subject: [sisyphus] Successfull VmWare 5.0 installation instructions for Sisyphus
Date: Tue, 10 May 2005 04:19:39 +0300
Message-ID: <1b93384905050918197dc2a0e@mail.gmail.com> (raw)

[-- 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



             reply	other threads:[~2005-05-10  1:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10  1:19 Ilia K. [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1b93384905050918197dc2a0e@mail.gmail.com \
    --to=mail4ilia@gmail.com \
    --cc=altmaster@list.ru \
    --cc=gdkl@yandex.ru \
    --cc=sisyphus@altlinux.ru \
    --cc=wrar@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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