Tampilkan postingan dengan label 10. Tampilkan semua postingan
Tampilkan postingan dengan label 10. Tampilkan semua postingan

HOWTO Send Mail to GMail by Postfix on Ubuntu Server 10 10

Rabu, 19 Maret 2014

You cannot send any mail to GMail from you mail server, unless you set GMail server as your SMTP server.



Step 0 :



Install the Ubuntu Server 10.10 and select Mail Server when install.



Step 1 :



sudo nano /etc/postfix/transport



Append the following line.



*     smtp:[smtp.gmail.com]:587



Step 2 :



sudo nano /etc/postfix/sasl/sasl_passwd



Append the following line.



[smtp.gmail.com]:587     samiux@gmail.com:password



Step 3 :



sudo nano /etc/postfix/main.cf



Add or make the change of the following lines.



relayhost = [smtp.gmail.com]:587

smtp_sasl_auth_enable = yes

smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd

smtp_sasl_security_options = noanonymous

smtp_tls_CAfile = /etc/postfix/cacert.pem

smtp_use_tls = yes

mynetworks = 192.168.0.0/24 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128




Step 4 :



cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem | sudo tee -a /etc/postfix/cacert.pem



Step 5 :



sudo postmap /etc/postfix/transport

sudo postmap /etc/postfix/sasl/sasl_passwd




Step 6 :



sudo /etc/init.d/postfix restart



Thats all! See you.
Read More..

Comparison of Free Vs Paid Internet Security Top 10 Free and Paid Products

Jumat, 14 Maret 2014

First it is useful to point out who is choosing free software vs. paid programs. When new computers are sold, they are typically pre-loaded with at least one full featured security suite - available as a free trial for a month or two. This recommended paid product is optional and is made available for those who are new to computers, and may not be aware that alternatives exist, or where to go to find them - knowing that most who default into this category will opt to follow recommendations and stay with, and pay for the program.
On the other hand, if youve been around the block a few times, you have by now enough savvy to know that anyone will try to sell you anything. Youre likely aware of other options and programs available to achieve the same results - whether self taught, by word of mouth, or doing your own web research. Regardless, you still end up wondering how exactly can free internet security compare or compete with the paid versions?
Contents: Whats the difference?
Paid internet security suites are designed for optimal performance and dependability. They include all the components that make up a comprehensive package for maximum computer protection - and feature live, accessible customer service. These components are a combination of - anti-virus, anti-spyware, ad ware, anti-malware, a firewall, anti-phishing detection, and recently, some form of live, real-time protection - detecting any malware activity - which may already be in progress - by continuous scanning for anything out of the ordinary. Protection like this is found in the full-featured, all-in-one, or premium security suites.
Free versions are individual components used in combination with other free components to custom build a comprehensive security defense. The idea is that combining individual free programs - achieves the same level of protection found in the paid versions. For example, I may start with a free anti-virus, then add a free anti spyware, adware, and malware program, then consider a firewall, and some sort of real-time protection to expose suspicious activity unidentified by all the others. These components together essentially resemble what you will find in an all-in-one security suite. Though I may not have access to customer support, how often really will I need to contact them? Maybe only if their service is unavailable for some reason, which usually means its on their end anyway - and will soon be resolved.
Performance: Is one more effective than another?
The answer is - not by much. Ive reviewed various results published by reliable sources. The trend seems to favor the paid products, but only by about 1% to 10% average, regarding performance and dependability. Ive put together a list consisting of the most highly rated free and paid internet security software offers. According to most resources available, these 2 groups reflect the most commonly agreed upon results. They are not in any particular order - as they seem to vary slightly from year to year. The fact that they are or have been consistently highly rated, and remain in the top 10, supports their reputation. Keep in mind that most free versions of internet security, also offer paid upgrades as well - usually named something like Pro, or Premium. You can search and compare them on your own if interested in knowing more about specific features or details for each.
Free Internet Security:
1. Avast.com - Antivirus
2. Avira.com or Antivir
3. AVG.com Antivirus
4. ZoneAlarm Firewall - Checkpoint.com (formerly Zonelabs)
5. Adaware - Lavasoft.com
6. Microsoft Security Essentials - microsoft.com/security_essentials
7. Comodo.com
8. Threatfire.com - (compliments most other components with real-time protection)
9. PandaSecurity.com - Panda Cloud
10. SUPERAntiSpyware.com - Super Antivirus
Paid Internet Security Suites:
1. Symantec.com - Norton Antivirus
2. McAfee.com
3. Avast.com - Premium
4. Kaspersky.com - Kaspersky Lab Internet Security
5. Gdatasoftware.com - G-Data.
6. Bitdefender.com
7. PCTools.com - Internet Security
8. F-Secure.com
9. Webroot.com - Webroot Internet Security Essentials
10.Trendmicro.com - Trend Micro
There are very good reasons supporting both decisions:
The consensus seems to validate that free versions are as reliable as the paid ones. People who tend to know more about internet security and are more computer/internet savvy in general will recommend the free products hands down. But their preferences are based on knowledge that many of us neither have, nor are even interested in - which is a solid argument for: go ahead and pay - they know more than I do. So it really comes down to what kind of operator are you? Do you have work to do and dont mind paying for reliable protection and piece of mind? Or are you more inclined to decide for yourself which components to include in your customized defense? There will always be choices - free alternatives to just about anything you can install on your computer.


Article Source: http://EzineArticles.com/5884961
Read More..

HOWTO nVidia CUDA 4 0 RC on Ubuntu 10 10 Server

Rabu, 12 Maret 2014

If you have nVidia display card that have several CUDAs on it, you will interested in this tutorial. This time, I would like to show you how to install CUDA 4.0 RC on Ubuntu 10.10 Server.



You will experience a faster server after the installation of CUDA 4.0.



This HOWTO does not require to install X.



Step 1 :



Add the CUDA 4.0 PPA.

sudo add-apt-repository ppa:aaron-haviland/cuda-4.0



Step 2 :



sudo apt-get update

sudo apt-get upgrade




64-bit :

sudo apt-get install nvidia-cuda-gdb nvidia-cuda-toolkit nvidia-compute-profiler libnpp4 nvidia-cuda-doc nvidia-current-modaliases libcudart4 libcublas4 libcufft4 libcusparse4 libcurand4 nvidia-current nvidia-opencl-dev nvidia-current-dev nvidia-cuda-dev nvidia-kernel-common opencl-headers



32-bit :

sudo apt-get install nvidia-cuda-gdb nvidia-cuda-toolkit nvidia-compute-profiler lib32npp4 nvidia-cuda-doc nvidia-current-modaliases lib32cudart4 lib32cublas4 lib32cufft4 lib32cusparse4 lib32curand4 nvidia-current nvidia-opencl-dev nvidia-current-dev nvidia-cuda-dev nvidia-kernel-common opencl-headers



Step 3 :



sudo nano /etc/init.d/nvidia_cuda



Append the following lines.



============= Copy from here ================

#!/bin/bash



PATH=/sbin:/bin:/usr/bin:$PATH



/sbin/modprobe nvidia



if [ "$?" -eq 0 ]; then



   # Count the number of NVIDIA controllers found.

   N3D=`/usr/bin/lspci | grep -i NVIDIA | grep "3D controller" | wc -l`

   NVGA=`/usr/bin/lspci | grep -i NVIDIA | grep "VGA compatible controller" | wc -l`



   N=`expr $N3D + $NVGA - 1`

   for i in `seq 0 $N`; do

      /bin/mknod -m 666 /dev/nvidia$i c 195 $i;

   done



   /bin/mknod -m 666 /dev/nvidiactl c 195 255



else

   exit 1

fi




=========== Copy to here =================



Step 4 :



sudo chmod +x /etc/init.d/nvidia_cuda

sudo update-rc.d nvidia_cuda defaults



Step 5 :



Reboot your system.



Remarks



I do not have nVidia display cards server in hand at the moment, I am not sure the captioned startup script working properly or not.



Thats all! See you.
Read More..

HOWTO Ubuntu 9 10 on Gigabyte TouchNote T1028X

Minggu, 02 Maret 2014

Hardware configuration



Intel Atom N280 1.6GHz CPU

2GB DDR2 677HMz RAM

250GB 2.5" Hard Drive (Changed to Intel X25-M 80GB SSD)

10.1" Touch screen

PC Express card slot

3 x USB 2.0

All-in-one card reader

Carrying bag



This tablet netbook is in good desgin and quality. It is purchased on 2009-DEC-11 at $4,700-HK with USB mouse and screen protector as gifts. However, the screen protector is a little bit larger than the screen. I also added a Hauwei EM770 3.75G HSDPA modem and changed the hard drive to Intel X25-M 80GB SSD. The total cost is increased to $7,260-HK. Although the price is more or less reached the mid-range notebook level, it is worth to buy. By the way, it is a little bit heavy when holding it with one hand using touch screen feature.



Make sure to update your BIOS to "FC" version as it will activate the Wifi by default. The machine comes with "FB" version of BIOS.



The machine almost works perfectly on Ubuntu 9.10 including HSDPA modem but except touch screen feature. We need to do something to make it work.



Installation of Ubuntu 9.10



Make sure to press F6 on the startup menu and choose "expert mode" and followed by "Esc". Otherwise, your mouse will not work after the boot up.



Append the following line at the end of the command displayed on the screen.



elevator=noop i8042.noloop=1



Install Ubuntu 9.10 as usual. After the first boot up your mouse cannot work. Just follow the steps below to make it work again.



Press Ctrl+Alt+F2. At the command prompt, enter your username and password.



sudo nano /boot/grub/grub.cfg



Locate "linux" tag and append the following at the end of the line.



elevator=noop i8042.noloop=1



Save and reboot your system.



** Note : you need to add the line on every kernel updated.



Configure touch screen



sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade




sudo apt-get install xserver-xorg-input-evtouch gnome-randr-applet



sudo nano /etc/hal/fdi/policy/evtouch.fdi



Append the following lines.





<?xml version="1.0" encoding="UTF-8" ?>

<deviceinfo version="0.2">

<device>

<match key="info.product" contains="eGalax Inc. USB TouchController">

<merge key="input.x11_driver" type="string">evtouch</merge>

<merge key="input.x11_options.ReportingMode" type="string">Raw</merge>

<merge key="input.x11_options.Emulate3Buttons" type="string">false</merge>

<merge key="input.x11_options.Emulate3Timeout" type="string">1</merge>

<merge key="input.x11_options.SendCoreEvents" type="string">On</merge>

<merge key="input.x11_options.MinX" type="string">0</merge>

<merge key="input.x11_options.MinY" type="string">2</merge>

<merge key="input.x11_options.MaxX" type="string">4096</merge>

<merge key="input.x11_options.MaxY" type="string">4096</merge>

</match>

</device>

</deviceinfo>





Reboot your system.



After booting up, go to "System" - "Administration" - "Calibrate Screen" and follow the instruction on screen to calibrate the screen.



Screen Rotation



You can rotate your screen on demand by Gnome Randr Applet. However, it cannot rotate your screen automatically.



Make Firefox work better



Install "Grab and Drag" add-on.



"Grab and Drag" add-on demo on Youtube.



Thats all. See you!
Read More..

Sharp Aquos SH 10 d is present in Japan

Kamis, 06 Februari 2014

Smart phones Sharp Aquos SH-10 d began to circulate and Japan could already booked through the operator NTT DoCoMo starts today.

Sharp Aquos SH-10 d will be available in stores and retailers began August 30, according to technology blog Engadget.


4.5 inch phone sail was available in three colours and reportedly also will soon be circulating in the United States.


Sharp Aquos SH-10 d have a dual core processor 1, 5 GHz, 12.1 megapixel camera on the back, and in front of 0, 32Mp.

GSM and HSPA based + WCDMA radio, 1 GB RAM, and comes with micro SD card slot.

Phone price that revolves around the 300 dollars.

A number of blogs that have a mobile phone rate design and shape rigid.


Read More..

Ubuntu 10 04 Ambiance or Radiance

Rabu, 05 Februari 2014

Released yesterday, Ubuntu 10.04 comes with a stylish new look. Brown is no more!

The default theme called Ambiance is a stylish black theme whilst another optional theme available to choose is the new Radiance theme.

Ambiance, Ubuntus new stylish black theme!



Radiance, Ubuntus new stylish white theme!



Click on the pictures for a bigger view.

If you only hated Ubuntu because of its brownish look, what excuse do you have now?
Read More..

HashSet in Java – 10 Examples Programs Tutorial

Senin, 03 Februari 2014

HashSet in Java is a collection which implements Set interface and backed by an HashMap. Since HashSet uses HashMap internally it provides constant time performance for operations like add, remove, contains and size give HashMap has distributed elements properly among the buckets. Java HashSet does not guarantee any insertion orders of the set but it allows null elements. HashSet can be used in place of ArrayList to store the object if you require no duplicate and don't care about insertion order. Iterator of HashSet is fail-fast and throws ConcurrentModificationException if HashSet instance is modified concurrently during iteration by using any method other than remove() method of iterator class.If you want to keep insertion order by using HashSet than consider using LinkedHashSet. It is also a very important part of any Java collection interview, In short correct understanding of HashSet is must for any Java developer.
Read more »
Read More..

Top 10 Servlet Interview Question Answers J2EE

Minggu, 02 Februari 2014

This time its servlet interview questions, I was thinking what to pick for my interview series and than I thought about J2EE and Servlet is my favorite on that space. Servlet is an important part of any J2EE development and serves as Controller on many web MVC frameworks and that’s why it’s quite popular on J2EE interviews. These Servlet questions are based on my experience as well as collected by friends and colleague and they are not only good for interview practice but also shows a new direction of learning for any one who is not very familiar with servlet technology.

Servlet interview question and answerAs said earlier this interview question article is part of my earlier series java interview questions , UNIX command interview questions and Java threading interview questions.

You can find answers of all these questions on google but I have also listed my answers fo r quick reference.
Read more »
Read More..