Instalacija VMware Workstation 8.0.3 na wheezy (sid)

Filed in Debian | Programi Leave a comment

Instalacija VMware Workstation 8.0.3 uglavno stastoji se iz pet koraka:

  1. Preuzimanje aplikacije (VMware Workstation 8.0.3 for Linux)
  2. Preuzimanje zakrpe za module (VMware Fix za kernel 3.2 i 3.3)
  3. Instaliranje aplikacije
  4. Dodavanje zakrpe u module
  5. Isprobavanje rada aplikacije

Continue Reading

,

Debian Project News – May 14th, 2012

Filed in Debian Leave a comment

------------------------------------------------------------------------
The Debian Project                                http://www.debian.org/
Debian Project News                    debian-publicity@lists.debian.org
May 14th, 2012                http://www.debian.org/News/weekly/2012/10/
------------------------------------------------------------------------

Welcome to this year's tenth issue of DPN, the newsletter for the
Debian community. Topics covered in this issue include:

  * Update for Debian 6.0: 6.0.5 released
  * Deadlines reminder for DebConf12
  * General Resolution about diversity statement
  * First alpha release of the installer for Debian Wheezy
  * "The Debian Administrator's Handbook" freed!
  * An ever growing mirrors network
  * Bits from the DPL
  * Other news
  * Upcoming events
  * New Debian Contributors
  * Release-Critical bugs statistics for the upcoming release
  * Important Debian Security Advisories
  * New and noteworthy packages
  * Work-needing packages
  * Want to continue reading DPN?

Continue Reading

, ,

Updated Debian 6.0: 6.0.5 released

Filed in Debian Leave a comment

The Debian project is pleased to announce the fifth update of its stable distribution Debian 6.0 (codename squeeze). This update mainly adds corrections for security problems to the stable release, along with a few adjustments for serious problems. Security advisories were already published separately and are referenced where available.

Please note that this update does not constitute a new version of Debian 6.0 but only updates some of the packages included. There is no need to throw away 6.0 CDs or DVDs but only to update via an up-to-date Debian mirror after an installation, to cause any out of date packages to be updated.

Those who frequently install updates from security.debian.org won’t have to update many packages and most updates from security.debian.org are included in this update.

New installation media and CD and DVD images containing updated packages will be available soon at the regular locations.

Izvor: http://www.debian.org/News/2012/20120512

, ,

Dodavanje novog diska bez restarta virtualke (vmware)

Filed in Debian | Poslužitelji Leave a comment

1. Prvo ponovo skenirajte SCSI Bus:

echo “- – -” > /sys/class/scsi_host/host#/scan
fdisk -l
tail -f /var/log/message

host# – zamjenite sa diskom kojeg želite skenirati, pregled svih dostupnih diskova možete pogledati sa:

ls /sys/class/scsi_host

2. Dodavanje diska:

echo “scsi add-single-device <H> <B> <T> <L>” > /proc/scsi/scsi

Primjer(dodati /dev/sdc , host # 0, bus # 0, target # 2, and LUN # 0):

 echo “scsi add-single-device 0 0 2 0″>/proc/scsi/scsi
fdisk -l
cat /proc/scsi/scsi

3. Potrebno formatirati dodjeljen disk, u našem primjeru  formatirat ćemo swap fs (sa fdiskom napravi se particija tipa swap).

fdisk /dev/sdc
mkswap -f /dev/sdc1

4. Deaktiviranje aktivnog swap-a:

swapoff -a

5. Urediti /etc/fstab :

/dev/sdc1        swap    swap    defaults    0    0

6. Aktivirati swap:

swapon -a

 

, ,

Debian Project News – April 2nd, 2012

Filed in Debian Leave a comment

————————————————————————
The Debian Project                                http://www.debian.org/
Debian Project News                    debian-publicity@lists.debian.org
April 2nd, 2012               http://www.debian.org/News/weekly/2012/07/
————————————————————————

Welcome to this year’s seventh issue of DPN, the newsletter for the Debian
community. Topics covered in this issue include:

* Bits from Debian Med team
* Debian joins the OSI
* Report from DSA Team sprint
* “Fascinating”: a Debian based tricorder
* So long, and thanks for all the news
* Interviews
* Other news
* New Debian Contributors
* Release-Critical bugs statistics for the upcoming release
* Important Debian Security Advisories
* New and noteworthy packages
* Work-needing packages
* Want to continue reading DPN?

Continue Reading

Iceweasel & Java Applets

Filed in Programi Leave a comment

Ako vaš Iceweasel ne želi pokreniti java applet, vjerovatno nemate instaliran paket icetea6-plugin.

Instalacija jave:

apt-get install default-jre

Instalacija plugin-a:

apt-get install icedtea6-plugin

 

Prijava domenskih korisnika (Active Directory) na Debian-a

Filed in Poslužitelji Leave a comment

1. Uvod

U ovom kratkom primjeru demonstrirat ćemo kako pridružiti Debian na Windows Active Directory domain.

Koje pakete koristim:
Debian squeeze
samba 3.5.6
winbind 3.5.6
krb5-config 2.2
krb5-user 1.8.3

192.168.0.100 – Windows AD Server
192.168.0.200 – Debian server
MOJA.DOMENA – moja domena

2. Instalacija upravljačkih programa:

1
 aptitude install libkrb53 krb5-config krb5-user samba winbind ntpdate ntp

3. Poslje instalacije zaustavite servise:

1
2
3
/etc/init.d/samba stop
/etc/init.d/winbind stop
/etc/init.d/ntp stop

4. Podešavanje Kerberos-a:

Active Directory koristi Kerberos protokol za svoje upite. Potreno je ažurirati datoteku /etc/krb5.conf.

Prva stvar koju trebate podesiti je  Kerberos realm od vaše domene.

Primjer postavki:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[libdefaults]
    default_realm = MOJA.DOMENA

# The following krb5.conf variables are only for MIT Kerberos.
    krb4_config = /etc/krb.conf
    krb4_realms = /etc/krb.realms
    kdc_timesync = 1
    ccache_type = 4
    forwardable = true
    proxiable = true

# The following encryption type specification will be used by MIT Kerberos
# if uncommented.  In general, the defaults in the MIT Kerberos code are
# correct and overriding these specifications only serves to disable new
# encryption types as they are added, creating interoperability problems.
#
# Thie only time when you might need to uncomment these lines and change
# the enctypes is if you have local software that will break on ticket
# caches containing ticket encryption types it doesn't know about (such as
# old versions of Sun Java).

#   default_tgs_enctypes = des3-hmac-sha1
#   default_tkt_enctypes = des3-hmac-sha1
#   permitted_enctypes = des3-hmac-sha1

# The following libdefaults parameters are only for Heimdal Kerberos.
    v4_instance_resolve = false
    v4_name_convert = {
        host = {
            rcmd = host
            ftp = ftp
        }
        plain = {
            something = something-else
        }
    }
    fcc-mit-ticketflags = true
    dns_lookup_realm = false
    dns_lookup_kdc = false

[realms]
    MOJA.DOMENA = {
        kdc = 192.168.0.100
        admin_server = 192.168.0.100
    }

[domain_realm]
    .moja.domena = MOJA.DOMENA
    moja.domena  = MOJA.DOMENA

[login]
    krb4_convert = true
    krb4_get_tickets = false

5. Podesiti NTP

Kerberos protokol ovisi o protokolu NTP. Ako vrijeme na Debian serveru nije sinhronizirano sa “primary domain controller”, prijava neće biti dostupna. Vrijeme možete ručno sinhronizirati primjerom:

1
ntpdate 192.168.11.100

Dodajte u /etc/ntp.conf vaš NTP server:

1
2
# Moja domena
server 192.168.0.100

Zatim pokrenite NTP sa:

1
/etc/init.d/ntp start

6. Podesite vaš DNS

Dodajte ActiveDirectory IP adresu u /etc/resolv.conf

1
nameserver 192.168.0.100

7. Podesite Winbind

Uredite postavke pod grupom [global] u datoteci /etc/samba/smb.conf.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Global parameters
[global]
workgroup = MOJA
realm = MOJA.DOMENA
load printers = no
preferred master = no
local master = no
server string = debian server
password server = 192.168.0.100
encrypt passwords = true
security = domain
netbios name = debian
client signing = Yes
dns proxy = No
wins server = 192.168.0.100
wins proxy = no
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind uid = 10000-20000
winbind gid = 10000-20000
template homedir = /home/%D/%U
template shell = /bin/bash
invalid users = root
winbind separator = /
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

8. Podesi Nsswitch:

Postavke se nalaze u datoteci /etc/nsswitch.conf:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat winbind
group:          compat winbind
shadow:         compat

hosts:          files dns wins
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

Promjene možete aktivirati sa:

1
ldconfig

9. Dodjelite računalo domeni:

1
net ads join -U Administrator

10. Uredite PAM postavke:

1
2
3
4
nano /etc/pam.d/common-account
# treba imati sljedeće linije:
account sufficient pam_winbind.so
account required pam_unix.so
1
2
3
4
nano /etc/pam.d/common-auth
# treba imati sljedeće linije:
auth    sufficient      pam_unix.so
auth    required        pam_winbind.so  use_first_pass
1
2
3
nano /etc/pam.d/common-password
# treba imati sličnu liniju - parametri
password   required   pam_unix.so nullok obscure min=4 max=50 md5
1
2
3
nano /etc/pam.d/common-session
# treba imati sljedeću liniju:
session     required    pam_mkhomedir.so umask=0022 skel=/etc/skel

11. Restartajte servise sljedećim redosljedom;

1
2
3
4
5
/etc/init.d/samba stop
/etc/init.d/winbind stop
/etc/init.d/samba start
/etc/init.d/winbind start
/etc/init.d/ssh restart

12. Provjera
Provjerite dali imate pristup korisnicima wbinfo -u i grupama wbinfo -g sa vašeg AD-a

Korisne informacije o vašem statusu:

1
net ads status

Sad se možete probati prijaviti na AD sa ssh korisnik@192.168.0.200

Ako želite napustit domenu, koristite:

1
net ads leave -U Administrator

, , ,

Subversion 1.7.x

Filed in Poslužitelji Leave a comment

Na web adresi “Subversion 1.7 Debian” možete pogledati kako brzo i jednostavno instalirati subversion.

,

Bootsplash

Filed in Debian | Programi Leave a comment

Ukoliko želite imati grafičke animacije prilikom podizanja vašeg operativnog sutava svakako probajte program plymouth. Jednostavan za instalaciju, podešavanje itd.. više o svemu pogledajte na web adresi http://wiki.debian.org/plymouth

,

Wireshark treba root?

Filed in Programi Leave a comment

Poslje uspješne instalacije wiresharka, ne možete pristupti  mrežnim uređajima  kao obićni korisnik. Naravno ovo se može vrlo jednostavno popraviti. Ideja je napraviti grupu korisnika koja može pristupati programu, a izvedba bi izgledala ovako (ukratko):

su
apt-get install libcap2-bin
groupadd wireshark
usermod -a -G wireshark korisnicko_ime
chgrup wireshark /usr/bin/dumpcap
setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap

 

 

TOP