Posted: May 21, 2010 at 12:06 am
This are the files you have to use for managing an NFS server on Solaris:
/etc/dfs/fstypes
/etc/rmtab
/etc/nfs/nfslog.conf
/etc/default/nfslogd
/etc/default/nfs
The /etc/dfs/dfstab file: (share local directories)
share -F nfs -o rw,root=host2 -d "Share name" /path/to/share
/etc/dfs/sharetab (what I have shared)
Continue Reading

Loading ...
Posted: May 20, 2010 at 11:40 pm | Tags: solaris, Unix
Here are some basic Solaris commands:
Add swap space:
/etc/vfstab
/dev/dsk/c0d0s1 – – swap – no -
Continue Reading

Loading ...
Posted: May 20, 2010 at 11:31 pm | Tags: solaris, Unix, virtualization, zones
This is a tutorial about migrating a zone in Solaris. First, you have to create the manifest. On the host system, use the folowing command and direct the output to a file:
zoneadm -z myzone detach -n > /export/home/myzone-manifest.txt
cd /export/home
tar cf myzone-manifest.tar myzone-manifest.txt
sftp host2 Continue Reading

Loading ...
Posted: October 1, 2009 at 6:57 pm | Tags: bind, dns, Linux
This tutorial is about setting up DNS on Ubuntu and is the result of lot of documentation, many tutorials and many attempts. Hope you’ll find it usefull.
For installing DNS service on a machine, first thing to do in installing BIND (Berkley Internet Name Daemon):
sudo apt-get install bind9
The next thing to do is to configure bind. Usualy, for this you have to edit named.conf, but in Ubuntu the configuration file for bine is named.conf.local:
sudo /etc/bind/named.conf.local
Now you have to add the zones: Continue Reading

Loading ...
Posted: September 29, 2009 at 10:38 pm | Tags: Linux, shell script
This is a simple shell script. This is what it can do:
[1] Display curent time and date
[2] Display files from current folder
[3] Display the calendar
[4] Start an text editor
[5] Harddisk information
[6] Verify resourcesit.com with ping
This is the complete script. Feel free to use or modify as you like to: Continue Reading

Loading ...
Posted: September 29, 2009 at 7:40 pm | Tags: interface, ip address, nameserver, network
After an update, the Network Manager crashed. In this situation, the easyest way to set up a static IP address is to edit the configuration files myself. First, I have to remove the Network Manager.
sudo apt-get remove –purge network-manager
The first file to modify is /etc/network/interfaces:
sudo gedit /etc/network/interfaces
Continue Reading

Loading ...
Posted: September 20, 2009 at 11:04 am | Tags: webmin, webmin install ubuntu
This tutorial is about installing Webmin in Ubuntu.
First, get the webmin package from sourceforge.net .For installing on Ubuntu we need the debian package:
wget http://garr.dl.sourceforge.net/sourceforge/webadmin/webmin_1.441_all.deb
Continue Reading

Loading ...
Posted: July 25, 2009 at 3:42 pm | Tags: autocomplete, Komodo, php editor
I’ve been searching for a PHP editor that works on Linux and provides the functions that were used on Rapid PHP (the editor I used on Ms.). I tried Eclipse, Bluefish, Kate, NetBeans and still a couple, but neither is the editor I need.
I used gedit for a long time, the only problem is it doesn’t have autocomplete. Now I found Komodo: has autocomplete, is not using many Continue Reading

Loading ...
Posted: July 21, 2009 at 7:44 pm | Tags: install lxsplit, join files, lxsplit, split files
Below I describe how to split a larger file into several small files. This is useful when the file you want to copy on a stick is bigger than the stick’s capacity.
The file used is this example is a 75 MB .mkv.
I will use lxsplit for splitting and joining the .mkv file. So, I need to install lxsplit:
wget http://sourceforge.net/projects/lxsplit/files/lxsplit/lxsplit-0.2.4.tar.gz/download
Decompression: Continue Reading

Loading ...
Posted: July 14, 2009 at 10:32 pm | Tags: .exe in linux, wine, wine install
For installing Wine:
apt-get install wine
After install, in Applications menu, Wine option will be avaible, as illustrated in the picture below:

Continue Reading

Loading ...