I have installed Debian 7.5 in VMplayer, this documents record problem and command needed for this kind of situation.
ISO download link. (I choose ‘debian-7.5.0-amd64-netinst.iso’, because this is small and only use one file. While it needs internet to download the other parts of file during the installation. )
1 Add user to sudoer list:
su visudo
In my system, a nano editor came out, and you just add a new line under root line, following the style.
[usrname] All=***** something like that.
save and quit
2 Install VMware tools:
There are things need to be installed in front:
sudo apt-get install gcc build-essential apt-cache search linux-headers-$(uname -r)
then you will know what package you should install
for me:
sudo apt-get install linux-headers-3.2.0-4-amd64
After this, you find install-VMware tool in your VMplayer, then a CD will show in your system. Copy the ‘VMwareTools-9.9.3-2759765.tar.gz’ and extract it.
Then run sudo ./vmware-install.pl
and followed the instruction.
3 increase swap memory
- Create the file. This command creates a 1 gigabyte file:
dd if=/dev/zero of=/swap bs=1M count=1000
- Format the swap file:
mkswap /swap
- Add the new swap file to /etc/fstab:
/swap swap swap defaults 0 0
- Run
swapon -a
to activate the new swap.
4 Record or Play audio:
One way is to install ALSA in linux, Advanced Linux Sound Architecture
$ sudo apt-get install alsa-base alsa-tools alsa-tools-gui alsa-utils alsa-oss alsamixergui libalsaplayer0
After you install this, you can use aplay
to play audio, and arecord
to record audios. For more detail usage, just add -h or –help after the command.
5 Install “common” library
sudo apt-get install libpq-dev python-dev libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev
sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev libssl-dev
$ sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi