tutorial


18
Jan 12

Move messages from one Lotus Notes archive to another archive

Just recently I found out how difficult is to search through out my split archives.  I found this recourse but, really doesn’t give me the information that I need in order for me to be able to merge my archive *.nsf files.  So, instead here I am documenting how you can merger multiple Lotus Notes archive files.

  1. make sure that your folder structure is the same across archives.  If is not, then create the folders in the archive where you will be moving the data to.
  2. backup your archives just in case something goes wrong
  3. create an archive replica where you would like to move the files to
  4. go to your workspace
  5. right click on the replica that you would like to move data from
  6. go to Applications -> properties
  7. Click on “Archive Settings…”
  8. Create a new setting.
  9. Click “Selection Criteria…” . In this case we are going to move any file that hasn’t been modify in the last 1 day.
  10. Check “Enable this criteria”
  11. Update the section “What Should Happen to the Selected Documents?” and choose the archive db where you will be moving this data to.
  12. Once you are done click “OK”, then “OK” again.
  13. At this point you should be back to the workspace.  Double click/open on the archive db that you would like to move data from.
  14. Go to File -> Application -> Archive…
  15. Then hit “Yes”
  16. Let it run in the background until all your emails has been moved.  Hit F9 to refresh window if you are not sure if all your emails have been moved.
  17. before saying viola … double check that everything has been move and then viola!!! enjoy having only one archive.

Let me know whether this documentation didn’t help you or not :)

Source Move messages from one Lotus Notes archive to another.


25
Aug 09

Splitting in Linux and Combining in Windows

i don’t know if you do this on a daily, monthly, yearly, or never basis, but i do some times.  what is it that i do?!

whenever i want to email or upload gigs of information over the net usually takes for ever.  the file might be upload it incorrectly or the file won’t go through because is too big.  well, there are applications out there that you can use in order to be able to split files.  for example, if you are compressing an application using WinRar, it will automatically create *.rar-xxx which it will have your files separated depending on the size that you specified.  well, i believe there is a easier way to be able to perform this.

OK, now lets say that you are using Linux and you would like to split a 1GB file into 100MB files.  the way to do this is using the split command… and it will go like this:

split --bytes=100mb file1 file_

where you will replace file1 with the actual name of the file (e.g. MyFamilyDVD.iso) and file_ will be how the files will be renamed (e.g. MyFamilyDVD.iso_)

now, lets say that you upload these files to a server and your friend download them.  your friend will need the following command in order to be able to combine the files:

cat file_* > file1

where file_* are all the files that were created (e.g. MyFamilyDVD.iso_*) and file1 is the actual name of the file to be created (e.g. MyFamilyDVD.iso).

so, lets say that your buddy doesn’t have Linux and they have Windows instead.  here is the command that they will need in order to combine all of those files.

copy /B file_1+file_2+file_3 file1

where file_1+file_2+file_3 (e.g. MyFamilyDVD.iso_*)will be all the files created and file1 will be the actual name of the file to be created. the bad thing in windows is that you won’t be able to use the asterisk and you will need to type file per file.

any ways i hope this helps!!!


30
Nov 08

iTunes in Virtualbox and your iPod

so after installing ubuntu in my desktop i started to install windows xp on a virtual machine.  yes, i am running away from BLUE SCREENS and VIRUSES, why wouldn’t you?! well anyways… i needed my iTunes to run propertly and be able to sync with my iPod. i got it work worh with my library and THANK God that i make backups :) .  well i thought that after enableling my usb drive and pluging my ipod and telling my itunes that my ipod is connected it was going to work propertly, but guess what!!! it didn’t.

so there was a extra special step that i had to take and it was pretty easy.  i shutted down my virtual machine and open up virtualbox program.  went to the windows xp settings, and then to usb.  in the usb i connected my ipod and waited until my ubuntu system recognized my ipod and then added the ipod to the filters.  this will allow my ipod to be recognized by windows before my ubuntu system.  pretty clever ah!

and that would be it… now my ipod works like if there was a sole windows os installed.  hope this helps to anybody.


27
Nov 08

Enable USB with Virtualbox

this small tutorial will illustrate how to have your usb working with virtualbox.  virtualbox has the usb support disable by default.  if you want to have your usb to work properly with virtualbox you would have to perform the following steps.

this tutorial applies for ubuntu 8.10.  but it might work with other distros.

steps:

  1. type “sudo gedit /etc/init.d/mountdevsubfs.sh
  2. go to the following block
    #
    # Magic to make /proc/bus/usb work
    #
    #mkdir -p /dev/bus/usb/.usbfs
    #domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
    #ln -s .usbfs/devices /dev/bus/usb/devices
    #mount --rbind /dev/bus/usb /proc/bus/usb

    change it to
    #
    # Magic to make /proc/bus/usb work
    #
    mkdir -p /dev/bus/usb/.usbfs
    domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
    ln -s .usbfs/devices /dev/bus/usb/devices
    mount --rbind /dev/bus/usb /proc/bus/usb

  3. now go type “sudo gedit /etc/fstab”
  4. copy and paste the following code to your fstab
    none /proc/bus/usb usbfs devgid=1000,devmode=664 0 0

you are almost done.  now reboot your computer and you should be good to go.


20
Oct 08

Installing Tor in Ubuntu Hardy

before i show you how to install tor in ubuntu hardy, i am going to explain a little bit what exactly tor is.

Tor is a software project that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security. Tor protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, and it prevents the sites you visit from learning your physical location. Tor works with many of your existing applications, including web browsers, instant messaging clients, remote login, and other applications based on the TCP protocol.

Retrieved from torproject.org

So if you want more information go and visit torproject.org and you will be able to answer all your questions.  so now lets go and install tor in ubuntu.

Steps:

  1. Open your “Terminal” and type “sudo apt-get install tor”
  2. after tor is installed now you will need to install privoxy.  for that you will need to go to this page and download you system architecture version (http://sourceforge.net/project/showfiles.php?group_id=11118&package_id=35042&release_id=627607).  in my case is privoxy_3.0.10-1_i386.deb.after having both programs install now is all about configuration of just one of them ;) .
  3. now, on your “Terminal” make a copy of the configuration file from privoxy folder. in my case would be “sudo cp /etc/privoxy/config /etc/privoxy/config-backup”
  4. make a new file with “sudo nano /etc/privoxy/config”
  5. paste the following information:

    # Generally, this file goes in /etc/privoxy/config
    #
    # Tor listens as a SOCKS4a proxy here:
    forward-socks4a / 127.0.0.1:9050 .
    confdir /etc/privoxy
    logdir /var/log/privoxy
    actionsfile standard # Internal purpose, recommended
    actionsfile default # Main actions file
    actionsfile user # User customizations
    filterfile default.filter

    # Don’t log interesting things, only startup messages, warnings and errors
    #logfile logfile
    #jarfile jarfile
    #debug 0 # show each GET/POST/CONNECT request
    debug 4096 # Startup banner and warnings
    debug 8192 # Errors – *we highly recommended enabling this*

    user-manual /usr/share/doc/privoxy/user-manual
    listen-address 127.0.0.1:8118
    toggle 1
    enable-remote-toggle 0
    enable-edit-actions 0
    enable-remote-http-toggle 0
    buffer-limit 4096

    Retrieve from https://wiki.torproject.org/noreply/TheOnionRouter/PrivoxyConfig

  6. exit out from the program (nano NOT terminal) and save it.
  7. go to this site to install the tor plug in for firefox.  Tor Plug in.
  8. after firefox is restarted click on the “Tor Disabled” button in the bottom to enable it, and to check that it works properly go to check tor installation.

if it works, congrats.  if it doesn’t sorry.  go back and check this tutorial or go to tor website to get support.


9
Oct 08

Blackberry and Exchange without Blackberry Enterprise Server

since february i’ve been a blackberry user.  i really like my black berry pearl 8130, but the only thing that i don’t like at all is the memory.  it is alright, i could live resetting my blackberry so my phone log will not be deleted.  well anyways, sinse i got the blackberry i’ve all my email being send to my blackberry.  now, i am working at this new company and i just configure microsoft exhange.  so guess what?! i would need a blackberry enterprise in order for me to sync my blackberry with an exchange server.  i don’t think that my company would like to pay $2,000 for a blackberry server that will sync my blackberry and theirs.

i started to do some research and i found this web How to set up a Blackberry with Exchange (without using Blackberry Enterprise server) and i tested it but it didn’t work. but, i found a way that you can configure your blackberry and exchange for free and be able to send and receive emails to your blackberry.  it is really easy to do and all you need is to do some research about your phone provider.

Steps:

  1. go to google.com and search for “blackberry webmail sprint”
    just change sprint for your phone provider ex. verizon, alltell, etc.
  2. now you will have bunch of search queries. click on the one that is related to your phone provider in my case is http://bis.na.blackberry.com/html?brand=sprint
  3. login with your user name and password
    if you don’t have. create one.
  4. after you login, click on “Set Up Account”
  5. put your email address and password that you want to setup
  6. then, click next
    wait patiently… until is done TRYING to setup your account
  7. now, click on “I will provide the settings to add this email account.” THEN click “Next”
  8. select either, “This is my personal email account.” OR “This is my work email account.”
    in my case is work email
  9. now this is the part that is tricky. the way i did it was selecting “Outlook® Web Access”.  the reason why i chose that is because my URL of the company is not going to change. so select that one and then click “Next”
  10. now input, the exchange URL, user name, password, email address and mailbox name.  in Exchange, the user name and mailbox name are going to be the same. but, of course this depends on how your Exchange server is setup. in order words, ask your server administrator ;) .
  11. then, click “Next”, and congrats you are done ;) .

after setting up your blackberry you should receive an emails saying that your blackberry has been compleate configure and you should be receiving emails like in 20 min.  if this didn’t happen, go back and READ CAREFULLY.


6
Oct 08

Fix NTFS Hard Drive

so the other day my friend lend me his external hard drive so i could import some big files that he had on it.  apparently he didn’t click on safe remove drive under windows and he disconnected the hard drive just like that.  i say this because when ever i was trying to open the hard drive windows was saying that the drive still being used by another application.  i couldn’t started in windows for nothing.

so i decided to move do the same thing in linux (ubuntu).  apparently i was receiving the same error.  after 30 minutes of trying i was getting tired and i was about to return his drive back and make him eject safely his hard drive.  well… before doing that i thought… mmmnnn i wonde if there any free app that i could use in linux in order to fix this problem.  guess what? YES, there is.

this app is called ntfs fix, and what it does is, fixes your ntfs drive.  i installed in ubuntu using the following command:
$ sudo apt-get install ntfsfix

then after installing this app all i had to do was running the following commands:
$ sudo ntfsfix /dev/sdc1
$ sudo ntfs /dev/sdc1

where sdc1 is the external hard drive.  then i mounted the drive and it load like a baby.  well, i hope that this helps ;)


6
Oct 08

How to Reset your Blackberry Pearl

the other day i was having problems with my blackberry pearl 8130 so i decided to wipe every off and start from scratch.  first thing that i did was download all the apps that i had installed.  i really do not remember names well enough so i wrote them all down on a piece of paper.  then i backed up my contacts and calendar appointments using “Desktop Manager” and then NEW BB boy.  then if you are sure ;) follow the following steps:

  1. Backup your bb using “Desktop Manager”
    Disconnect the device from your computer and do the following..
  2. Goto “Options”
  3. then “Security Options”
  4. then “General Settings”
  5. then hit menu key
  6. then “Wipe Handheld”
  7. now you will be prompt to type the word “blackberry”
  8. confirm, and you are done

now all you have to do is to wait until the blackberry restart it self and now you will have a blackberry like the first time you got it. good luck.


30
Jul 08

Setting up an OpenVPN

This tutorial will illustrate how to install OpenVPN on a Linux box using Fedora 9 as a server and using Windows XP as your client PC. This is totally free and you will be able to connect to your Virtual Private Network (VPN) all around the world with no problem.

Steps:

  1. Open up “Terminal
  2. Become a super user type “su
  3. Now your password
  4. Type “yum install openvpn
  5. Copy the RSA keys to the openvpn folder
    cp -R /usr/share/openvpn/easy-rsa/ /etc/openvpn
    cd /etc/openvpn/easy-rsa/2.0/
  6. Make a directory for your keys
    mkdir /etc/openvpn/keys
  7. Edit “vars” by typing
    nano vars
  8. Set the parameters for KEY_COUNTRY, KEY_PROVINCE, KEY_CITY, KEY_ORG and KEY_MAIL as desired
  9. add this new line “export KEY_DIR="/etc/openvpn/keys"
  10. Initialize PKI
    . ./vars
  11. Clean
    ./clean-all
  12. Build CA
    ./build-ca
  13. Build server key
    ./build-key-server server

    Answer “y“, then “y

  14. Generate certificates for your clients
    ./build-key client1

    Answer “y“, then “y

    NOTE: If you want to add future users.
    do a “source ./vars” THEN build your key

  15. Generate Diffie Hellman parameters
    ./build-dh
  16. Copy server configuration files and edit
    cp /usr/share/doc/openvpn-2.1/sample-config-files/server.conf /etc/openvpn/
    cd /etc/openvpn
    nano server.conf
  17. Go to these lines and edit them
    cert keys/server.crt
    key keys/server.key
    dh keys/dh1024.pem
    client-to-client

    if you want to have your VPN being route to your LAN then take out ; from push “route 192.168.1.0 255.255.255.0″ and change to the current settings of your LAN

  18. You are almost done. ;) Now start your OpenVPN server
    service openvpn start
    chkconfig openvpn on
  19. To setup the client. Go to your windows machine and you will go to this site http://openvpn.se/download.html and download their GUI and install it, once you are done come back and finish this :D
  20. Download the ca.crt, client1.crt and client1.key to the windows machine from your linux box.  insert these files in “C:\Program Files\OpenVPN\config“.
  21. Copy the sample file from “C:\Program Files\OpenVPN\sample-config\client.ovpn” and paste it on “C:\Program Files\OpenVPN\config
  22. Now edit your client.ovpn and configure it.  Open “Notepad“.
  23. Edit “remote my-server-1 1194” where my-server-1 is going to be the ip address of your server
  24. Edit
    ca ca.crt
    cert client.crt
    key client.key

    where these now are going to be
    ca ca.crt
    cert client1.crt
    key client1.key

  25. Take out ; for the ns-cert-type server
  26. And that’s it.  you should be able to connect to your server and to others computers in that LAN.  Congrats.  If you wan to test your connection “ping 10.8.0.” which it is your VPN server.

If you are having any trouble with the connection please make sure that your firewall is allowing port 1194.  If you are behind a NAT also make sure that you are allowing that port.

NOTE: This tutorial worked for me but it might not work for you. So it is not grantee.  Do it at your own risk.


13
Jul 08

Upgrading Fedora 8 to Fedora 9

Last night I just got finish upgrading my Fedora box from Fedora 8 to Fedora 9. It took me about 1 hour the whole process of downloading the packages and installing them. I did it though the terminal because I don’t have a DVD ROM on that machine and I though that was the best way. I mean I could just format the whole drive but I would need to setup my configurations again and I didn’t wanted to do that. So this tutorial will illustrate how to upgrade your Fedora box from 8 to 9 using the terminal.

Steps:

  1. Go to the “Terminal
  2. Type “su” to become a super user
  3. Now do a “yum update” to install all the packages needed
  4. Now do a “yum clean all” to clean all packages no needed
  5. Now do steps 3 and 4 again. Just to make sure that we have the latest packages
  6. Run the following command on your box “rpm -Uhv http://mirror.liberty.edu/pub/fedora/linux/releases/9/Fedora/i386/os/Packages/fedora-release-9-2.noarch.rpm http://mirror.liberty.edu/pub/fedora/linux/releases/9/Fedora/i386/os/Packages/fedora-release-notes-9.0.0-1.noarch.rpm
  7. Next do a “yum clean all
  8. Now do “yum -y update“. This will actually install all the packages needed in order to have your box upgraded from Fedora 8 to Fedora 9.

I had some problems with with my XAMPP when it was going to load.

root@localhost]# /opt/lampp/lampp start
cat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/sh: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
Starting XAMPP for Linux ...
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
/bin/bash: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
XAMPP for Linux started.

I resolved this error by doing this…

  1. Go to your XAMPP root folder
  2. Type “cp lampp bk-lampp
  3. Type “cat lampp.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > lampp
  4. Type “./lampp start
  5. Then if you get the following error
    ./lampp: line 94: syntax error near unexpected token `fi'
    ./lampp: line 94: `fi'
  6. Type “gedit lampp
  7. Before line 93 insert “echo "XAMPP is working"
  8. Now run “./lampp start

That should take care of that problem and everything should work perfectly.