Call : 381-18-529-373

Archive for the ‘Linux,Solaris and OSX’ Category

Great Apple OS programming tutorial

If you’ve ever wanted to create an app for the iPhone or iPad but didn’t know where to start, this new, basic guide from Apple might help. It’s a step-by-step overview and introduction of the tools you need and how to submit an app to the App Store.
You can find tutorial here .

Read more

Xerox 610 printer prestao da radi u Snow Leopardu 10.6

>Skini drajvere sa sajta i instaliraj ih. Nakon toga :
1) Navigate to Applications > Utilities and open a Terminal window.
2) Type the following command: sudo chown root:admin /usr/libexec/cups/filter/rastertophaser6100
3) You will be prompted to enter your password.

Read more

Setting network in Solaris 10

In order to have the system configure our NIC at boot, the first step is to get an IP address and subnet mask. In our case, we are going to put this second NIC into a different IP range than the original NIC. Our first NIC is in the 192.168.1.x network, so we will put the new NIC into the 192.168.2.x network. Both of these networks have a subnet mask of Note: Always make sure the assigned IP is not already taken up by another machine; to do so, use ping from a machine already configured in that network.

Next we add a line to the /etc/hosts file for our new card: host2

Now, we create a file in /etc that is named hostname. For example, our first NIC’s file is /etc/hostname.hme0. Our new device, hme1, will need the file /etc/hostname.hme1. In this file, we will put the name associated with the IP (as found in the /etc/hosts file). It should be the first name in the /etc/hosts file. In our scenario, /etc/hostname.hme1 should contain:

Then we edit the /etc/netmasks file for our new network:

Reboot the system, and your network card has been configured for the new network with the proper subnet mask. You can check it by running an ifconfig -a again:

lo0: flags=1000849 mtu 8232 index 1
inet netmask ff000000
hme0: flags=1000843 mtu 1500 index 2
inet netmask ffffff00 broadcast
hme1: flags=1000843 mtu 1500 index 3
inet netmask ffffff00 broadcast

Read more

Protected: Migracija Moodla sa Ronina na Sun1

This content is password protected. To view it please enter your password below:

Read more

Adding new DNS records on Linux

File is /etc/resolv.conf  , or on some distros /etc/resolve.conf

Add DNS records with:

Read more

Protected: Web server

This content is password protected. To view it please enter your password below:

Read more

Novi Solaris Web Bundle (novi CoolStack)

Uputstvo za instalaciju se moze naci na na OVOJ strani

Read more

Tutorial za preinstalaciju SUN-a

  1. Pustiš mašinu da se butuje
  2. Uloguješ se
  3. Kucaš reboot cdrom i uđeš u instalaciju Solaris-a
  4. Nemoj da biraš PC Console . Izaberi NASI Terminal .
  5. c3t0d0 je boot disk .
  6. Podesio sam da je c3t0d0 = / ,c3t1d0 = /opt, a NFS c1t18d0 = /home
  7. I to je to. Sada idu uputstva ya programe
Read more

>Dodavanje ssh usera na Solaris

>Kreiraj novu grupu ssh korisnika
groupadd -g 888 ElfakAdmin

Napravi direktorijum za njega
cd /export/home

mkdir vuckovic

Dodaj usera
useradd -d /export/home/vuckovic -m -s /bin/bash -c “Dusan Vuckovic” -g ElfakAdmin vuckovic
Promeni mu password
passwd vuckovic

Preuzmi vlasnistvo nad direktorijumom
chown -R vuckovic:ElfakAdmin /export/home/vuckovic

Edituj SSH fajl u etc
joe /etc/ssh.

Dodaj novog usera u allow listu
AllowUsers vuckovic

Restartuj sshd
ps -elf | grep sshd
Zapisi PID
kill -9

Sad ce on sam da se restartuje

Read more

>POSTFIX na Sun2

>Provera Kjua


Flush kjua
/opt/csw/sbin/postqueue -f

Konfiguracija maila

Komanda za pregled prostora na disku
df -h

Read more