Talk:Virtual MusicBrainz Server: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
No edit summary
Line 15: Line 15:
===keyboard question===
===keyboard question===
For those of us with a non-US-keyboard, you should explain how to enter the ~ sign (in front of your import-file)
For those of us with a non-US-keyboard, you should explain how to enter the ~ sign (in front of your import-file)

And for those who wants to use the usual layout, login with root and Enter the following commands

dpkg-reconfigure locales

Scroll down with cursor key and mark the needed locales with space bar ('de_DE ISO-8859-1' for German), press TAB to go to OK and press ENTER


dpkg-reconfigure console-data

Select keymap from full list
press TAB to go to OK and press ENTER

Scroll down with cursor key to the needed keyboard layout for example
pc / quertz / German / Standard / latin1
press TAB to go to OK and press ENTER


dpkg-reconfigure console-common

The previously choosen keymap from 'dpkg-reconfigure console-data' will be selected automatically, you can't change it here.

dpkg-reconfigure console-tools

Logout and login again, you should see now your usual keys.


===vi (Editor) question===
===vi (Editor) question===

Revision as of 12:52, 26 December 2010

Comments

There are a few things missing from the VM image that would make it a whole lot easier to use. For example, emacs and java (needed to run the /admin/jsdeploy/run.sh script). Also, trying to get VMWare Tools installed was a bit of a pain because there were some dependencies missing, like linux-headers-2.6.18-4-686 and gcc 4.1.2 (the version used to build the kernel). Finally, it would be nice if the /etc/apt/sources.list file were set to include the standard debian locations so that apt-get were more useful. Something like:

deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
     
# Uncomment if you want the apt-get source function to work
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

lynx question

Could someone please explain howto mark files in lynx? That's not that easy for most of us (windows-)users.

keyboard question

For those of us with a non-US-keyboard, you should explain how to enter the ~ sign (in front of your import-file)

And for those who wants to use the usual layout, login with root and Enter the following commands

dpkg-reconfigure locales 

Scroll down with cursor key and mark the needed locales with space bar ('de_DE ISO-8859-1' for German), press TAB to go to OK and press ENTER


dpkg-reconfigure console-data
Select keymap from full list

press TAB to go to OK and press ENTER

Scroll down with cursor key to the needed keyboard layout for example

pc / quertz / German / Standard / latin1

press TAB to go to OK and press ENTER


dpkg-reconfigure console-common 

The previously choosen keymap from 'dpkg-reconfigure console-data' will be selected automatically, you can't change it here.

dpkg-reconfigure console-tools

Logout and login again, you should see now your usual keys.

vi (Editor) question

For all the windows-users out there: If you have to change some lines (like changing the replication mode), you can use the built-in editor vi.

Without any knowledge of vi, you can't really use it, but this are the most important things:

To enter Vi type:

vi FILENAME

Vi has two modes: Normal (command) mode and edit mode.

Switch to normal mode:     <ESC>
Switch to edit mode:       i or a

Getting out of Vi (change to normal mode <ESC>):

Exit Vi:                       :q
Exit Vi (ignore changes):      :q!
Save:                          :w
Save and Exit:                 :wq

Apply the 3 *.sql-commandfiles

I had to do it this way (every other syntax I used, wasn't successfull):

cd svn
cd mb_server 

(you can start with m and b and press TAB)

cd admin

then execute the 3 lines with this syntax:

./psql READWRITE < ./sql/DropFKConstraints.sql
./psql RAWDATA < ./sql/vertical/rawdata/DropFKConstraints.sql
./psql READWRITE < ./sql/DropTriggers.sql