Category Archives for Linux

SSL u Vmware Serveru 2.0.2

SBS 2003 R2

Po instalaci nestartuje služba VMWare host agent. Na českých Windows je pravděpodobně špatně vygenerovaná cesta k SSL certifikátu – je potřeba v souboru C:Documents and SettingsAll UsersData aplikacíVMwareVMware Serverhostdconfig.xml upravit řádky:

<!– Remove the following node to disable SSL –>
<ssl>
<!– The server private key file –>
<privateKey>C:Program filesVMwareVMware Serversslrui.key</privateKey>

<!– The server side certificate file –>
<certificate>C:Program filesVMwareVMware Serversslrui.crt</certificate>

<!– The SSL version to use –>
<!– <sslVersion>all</sslVersion> –>
</ssl>

Ani po téhle úpravě mi ale služba VMWare host agent nestartovala – musel jsem VMWare server odinstalovat a znovu nainstalovat a použít jiné porty pro webovou administraci:

HTTP: 8888
HTTPS: 8999

Debian Squeeze

Podobný problém je i na Debianu, navíc je nutné instalovat patche pro moduly vmware.

100% mi fungoval postup ze stránky http://www.troublenow.org.

Při instalaci jsem musel upravit čísla portů:

Authd: 999 ( původně 902 )
HTTP: 8888
HTTPS: 8999

Úpravy pro NAT jsou v adresarich /etc/vmware/vmnet8/dhcpd a /etc/vmware/vmnet8/nat. Restartovat službu vmware-nat jde příkazem:

/usr/lib/vmware/net-services.sh restart 8 nat

/usr/lib/vmware/net-services.sh restart 8 nat/usr/lib/vmware/net-services.sh restart 8 nat

07. Červenec 2011 by Jan Vince
Categories: Linux, Windows | Tags: , | Komentáře nejsou povoleny

Ubuntu 9.10 na eee 1000h

eee-control

Medibuntu rep

# sudo wget http://www.medibuntu.org/sources.list.d/karmic.list –output-document=/etc/apt/sources.list.d/medibuntu.list
# sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Zdroj: http://www.ubuntumini.com/2009/07/medibuntu-for-ubuntu-910-karmic-koala.html

eclipse plugins

http://kehan.wordpress.com/2009/11/18/eclipse-galileo-in-ubuntu-karmic/

Zdroj: http://kehan.wordpress.com/2009/11/18/eclipse-galileo-in-ubuntu-karmic/

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get updatesudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

11. Listopad 2009 by Jan Vince
Categories: Linux | Komentáře nejsou povoleny

Automount NTFS oddílů v Ubuntu

sudo aptitude install ntfs-config
sudo ntfs-config

09. Březen 2009 by Jan Vince
Categories: Linux | Tags: | Komentáře nejsou povoleny

MediaWiki a SBS2003

Plugin: LDAP Authentication

Do souboru LocalSettings.php vložit nakonec:

require_once ‘extensions/LdapAuthentication.php’;

$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array(‘domena.local’);
$wgLDAPServerNames = array(‘domena.local’ => ’192.168.100.200′);
$wgLDAPSearchStrings = array(‘domena.local’ => ‘USER-NAME@domena.local’);
$wgLDAPEncryptionType = array(‘domena.local’ => ‘clear’);
$wgLDAPLowerCaseUsername = array( „domena.local“=>true );

$wgLDAPUseLocal = true;
//$wgLDAPDebug = 3;

Testováno s SBS2003 a Debianem 4.0 v doufám docela standardní konfiguraci :)

26. Únor 2009 by Jan Vince
Categories: Linux | Tags: | Komentáře nejsou povoleny

xplanet v Ubuntu 8.10

sudo apt-get install xplanet
sudo apt-get install xplanet-images
gconf-editor ( apps > nautilus > preferences > show_desktop FALSE )

nastavit spouštění xplanet v Systém > Volby > Sezení příkazem „xplanet“

Zdroj: http://ubuntuforums.org/showthread.php?t=49463

26. Únor 2009 by Jan Vince
Categories: Linux | Tags: | Komentáře nejsou povoleny

VMWare Player a problémy klávesnice v Ubuntu 8.10

echo 'xkeymap.nokeycodeMap = true' > ~/.vmware/config

Zdroj: http://www.nalinmakar.com

xkeymap.keycode.108 = 0×138 # Alt_R
xkeymap.keycode.106 = 0×135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0×148 # Up
xkeymap.keycode.116 = 0×150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0×152 # Insert
xkeymap.keycode.119 = 0×153 # Delete
xkeymap.keycode.110 = 0×147 # Home
xkeymap.keycode.115 = 0x14f # End
xkeymap.keycode.112 = 0×149 # Prior
xkeymap.keycode.117 = 0×151 # Next
xkeymap.keycode.78 = 0×46 # Scroll_Lock
xkeymap.keycode.127 = 0×100 # Pause
xkeymap.keycode.133 = 0x15b # Meta_L
xkeymap.keycode.134 = 0x15c # Meta_R
xkeymap.keycode.135 = 0x15d # Menu

Zdroj: http://communities.vmware.com/message/1101765#1101765

25. Únor 2009 by Jan Vince
Categories: Linux | Komentáře nejsou povoleny

Debian Lenny sources.list

deb http://ftp.cz.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.cz.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

19. Září 2008 by Jan Vince
Categories: Linux | Komentáře nejsou povoleny

lsof

Který proces sedí na portu ?

lsof -i :21
netstat -npa

 

22. Srpen 2008 by Jan Vince
Categories: Linux | Tags: | Komentáře nejsou povoleny

Stellarium na Ubuntu 8.04

# LC_NUMERIC=C stellarium

17. Srpen 2008 by Jan Vince
Categories: Linux | Komentáře nejsou povoleny

tsclient 1.50 a česká klávesnice

Edit: rozložení ke stažení z http://sourceforge.net

Po instalaci Ubuntu 8.04 mi nefungovala klávesnice při připojení k WinServerům.

Upravit soubor s definicí a při připojení použít klávesnici cs.

sudo vim /usr/share/rdesktop/keymaps/cs

include common
map 0×405

semicolon 0×29
dead_abovering 29 shift

plus 0×02
1 0×02 shift
dead_tilde altgr

ecaron 0×03
2 0×03 shift
dead_caron 0×03 altgr

scaron 0×04
3 0×04 shift
dead_circumflex 0×04 altgr

ccaron 0×05
4 0×05 shift
dead_breve 0×05 altgr

rcaron 0×06
5 0×06 shift
dead_abovering 0×06 altgr

zcaron 0×07
6 0×07 shift
dead_ogonek 0×07 altgr

yacute 0×08
7 0×08 shift
dead_grave 0×08 altgr

aacute 0×09
8 0×09 shift
dead_abovedot 0×08 altgr

iacute 0x0a
9 0x0a shift
dead_acute 0×08 altgr

eacute 0x0b
0 0x0b shift
dead_doubleacute 0x0b altgr

equal 0x0c
percent 0x0c shift
dead_macron 0x0c altgr

dead_acute 0x0d
dead_caron 0x0d shift
dead_cedilla 0x0d altgr

backslash 0×10 altgr

bar 0×11 altgr

EuroSign 0×12 altgr

z 0×15 addupper

uacute 0x1a
slash 0x1a shift
division 0x1a altgr

parenright 0x1b
parenleft 0x1b shift
multiply 0x1b altgr

dead_diaeresis 0x2b
apostrophe 0x2b shift
currency 0x2b altgr

dstroke 0x1f altgr

Dstroke 0×20 altgr

bracketleft 0×21 altgr

bracketright 0×22 altgr

lstroke 0×25 shift

Lstroke 0×26 altgr

uring 0×27
quotedbl 0×27 shift
dollar 0×27 altgr

section 0×28
exclam 0×28 shift
ssharp 0×28 altgr

y 0x2c addupper

numbersign 0x2d altgr

ampersand 0x2e altgr

at 0x2f altgr

braceleft 0×30 altgr

braceright 0×31 altgr

comma 0×33
question 0×33 shift
less 0×33 altgr

period 0×34
colon 0×34 shift
greater 0×34 altgr

minus 0×35
underscore 0×35 shift
asterisk 0×35 altgr

Zdroj: http://forum.ubuntu.cz/index.php?topic=9478.10;wap2

05. Srpen 2008 by Jan Vince
Categories: Linux | Komentáře nejsou povoleny

← Older posts