Sunday, January 31, 2010

[Debian] Samba Share windows-linux

Samba Share windoeslim&linux

Berikut cara untuk instaal dana setingan samba kamu agar bisa shared file denan pengunan windows.

1. sudo apt-get install samba

2. sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_default

3. vim /etc/samba/smb.conf
#####Global Settings#####
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORK_ADPIT
netbios name = yourservername.

######Share Definitions#######
;[homes]
;comment = Home Directories
;browseable = no

[myshare]
comment=myshare
path = /myshare
read only = no
quest ok = yes
available = yes
valid users = admin
browsable = yes
public = yes
writabel= yes

####### Authentication #######
#security = user (ubah jadi) security = share

4. sudo mkdir /myshare
5. sudo chmod 0777 /myshare
6. sudo /etc/init.d/samba restart
7. sudo chown ade:ade /myshare
8. sudo smbpasswd -a ade
9. ifconfig > catat IP kita.
*untuk akses fodlernya contoh
ade@linux:~$cd /myshare

Windows :
start > computer > properti > cek pada bagain komputer name, namanya apa harus sama dengan workgroup samba yang tadi kita buat.
start > run > \\192.168.0.xx\ atau bisa dicek di network.

selesai.

carauntuk.com

[Joomla] Send Mail error

Jika terima error saat kirim email via joomla  "PHPMAILER_RECIPIENTS_FAILED"  coba ubah setigan email di joomlanya:

Dengan cara

Cari file pada path :

joomla/components/com_contact/controller.php, Baris 162,

Setelah  Code:
$mail->setSender( array( $email, $name ) );

ubah jadi  :
$mail->setSender( array( $MailFrom, $name ) );
$mail->addReplyTo( array( $email, $name ) );

Sekarang coba kirim email kembali.

carauntuk.com

Wednesday, January 27, 2010

Squrrelmail – kirim email dengan html tidak bisa

Squrrelmail - kirim email dengan html tidak bisa.
Terkadang saat kita ingin mengirimkan sebuah email dengan .html entah kenapa saat si penerima membacanya bukan tampilan yang indah melainkan hasilnya berupa text, penyebabnya adalah memang pada default webmail untuk menampilkan pesan dengan gambar tidak di set "YES" oleh sebab itu kita coba untuk enabelnya.

Caranya:

login ke webmail anda misal :http://namadomainanda.com/webapps/webmail/src/login.php

Lalu klik Options - Display Preferences

dan coba anda cari "Display Attached Images with Message" lalu set menjadi YES

kata temen ini juga harus diset YES "Show HTML Version by Default"

dan submit. Silakan dicoba.

carauntuk.com

Google Crisis Response For Haiti

Support Disaster Relief in Haiti


On January 12, a 7.0 magnitude earthquake struck Haiti. Join recovery efforts mobilizing around the world to assist earthquake victims. Your donation will help disaster victims rebuild their lives and their communities. Google will also donate $1 million to help organizations provide relief.

Resource

Monday, January 25, 2010

Seconds when an earthquake happens Haiti

The US Geological Survey (USGS) said on its website that a magnitude 7.0 quake struck about 10 miles from the nation’s capital Port-au-Prince.

An Associated Press cameraman reported the collapse of a hospital, but there were no immediate casualty or damage reports.

The US Pacific Tsunami Warning Center, according to its website, put a tsunami warning out for Haiti, the Dominican Republic, Cuba, and the Bahamas. The warning was not in effect for Puerto Rico or the Virgin Islands.

“Everybody is just totally, totally freaked out and shaken,” Henry Bahn, a visiting official with the US Department of Agriculture, told the Associated Press. “The sky is just grey with dust. … I just hear a tremendous amount of noise and shouting and screaming in the distance.”

The quake was followed within the hour by two powerful aftershocks of magnitude 5.9 and magnitude 5.5.

USGS analyst Dale Grant told the AP that today’s temblor is "the largest quake recorded in this area.” The last was a 6.7 magnitude quake in 1984.

The earthquake had a depth of five miles, and the USGS said damage and casualties could be substantial. Losses could wreak havoc on Haiti, which is the Western Hemisphere’s poorest country, with 70 percent of the population living on less than $2 a day.

"We are closely monitoring the situation and we stand ready to assist the people of Haiti," President Obama said in a statement.

Former President Clinton, named special United Nations envoy to the Caribbean nation, has been trying to woo investors and tourists back back to the nation, which shares Hispaniola Island with the Dominican Republic.

Raymond Joseph, Haiti's ambassador to the US, called the earthquake a “major disaster” on CNN and said the country will seek US assistance.

Worldwide, at least 1,783 were killed in earthquakes in 2009. The deadliest occurred in southern Sumatra, Indonesia, with 1,117 killed when the 7.5 magnitude quake hit on Sept. 30, according to the USGS and the UN Office for Coordination of Humanitarian Affairs.

Resource

Sunday, January 24, 2010

Haiti earthquake: police and looters

One rioter, a man in his 30s, was killed outright by bullets to the head as the crowd grabbed produce in the Marche Hyppolite.

Another looter quickly snatched the rucksack off the dead man's back as clashes continued and police reinforcements descended on the area armed with pump-action shotguns and assault rifles.

It came as predictions of the death toll from the Haitian earthquake rose to 200,000 as mounting desperation at lack of aid threatens to tilt the country into anarchy.

With up to three million survivors still cut off from outside rescue efforts, the United Nations said the disaster was the worst it had ever dealt with.

Aid officials fear a lapse into all-out lawlessness in coming days unless US troops can get through with vital food, medicine and water deliveries, which are being hampered by the sheer scale of devastation. There were continued incidents of looting, and isolated reports of rescue workers being stoned by angry crowds.

The UN's warning came as the full picture of the horror in the flattened capital of Port au Prince emerged. Haitian ministers claimed the body count could rise far beyond the 50,000 estimate made by the Red Cross officials on Friday, saying that 50,000 bodies had already been buried. Trucks piled high with corpses delivered them to mass graves outside the stricken city, with thousands more still lying uncollected on the streets or buried under heavy rubble.

"We have already collected around 50,000 dead bodies," said interior minister Paul Antoine Bien-Aime. "We anticipate there will be between 100,000 and 200,000 dead in total, although we will never know the exact number."

If that casualty count is confirmed, it would make Tuesday's 7.0 magnitude earthquake one of the ten deadliest on record. The death toll would also rival that of the 2004 Indian Ocean tsunami, which claimed roughly 250,000 lives. However, officials with knowledge of both incidents said the Haitian disaster - which hit a country already barely functional - posed an infinitely tougher relief challenge.

"This is a historic disaster," said UN spokesman Elisabeth Byrs, whose own organisation has lost 36 local staff in the earthquake. "We have never been confronted with such a disaster in the UN memory. It is like no other."

The UN undersecretary general for peacekeeping, Alain Le Roy, added: "There have been some incidents where people were looting or fighting for food. They are desperate, they have been three days without food or any assistance.

"We have to make sure that the situation doesn't unravel, but for that we need very much to ensure that the assistance is coming as quickly as possible."

US Secretary of State Hillary Clinton was due to land in Port au Prince on Saturday to meet with President Rene Preval, who himself has been rendered homeless by the tremor. The Haitian government has handed over control of its airport to the US military, which has landed 1,000 troops into the country already and will bring another 9,000 in coming days to supervise aid deliveries and ensure stability. Some US soldiers had to keep large crowds at bay outside the airport, where some aid supplies have now got stuck because of the difficulties of transporting them into the disaster zone. Doctors at some of the few functioning field clinics complained that they had already run out of medicines.

Resource

Haiti Now

One of the poorest and least developed countries in the world, Haiti in recent years has struggled with problems ranging from near-constant political upheaval, health crises, severe environmental degradation and an annual barrage of hurricanes.

On Jan. 12, 2010, a massive earthquake struck Haiti, reducing much of its capital to rubble. It was the worst earthquake in the region in more than 200 years, with an untold number-- estimates range from 50,000 to 200,000-- feared dead. The devastation created serious obstacles to those attempting to deliver promised foreign aid.

Huge swaths of the capital, Port-au-Prince, lay in ruins, and thousands of people were trapped in the rubble of government buildings, foreign aid offices and shantytowns. Schools, hospitals and a prison collapsed.

United States Secretary of State Hillary Rodham Clinton told NBC's "Today" program that 3 million people - about a third of Haiti's population - had been affected by the quake, and that "there will be tens of thousands of casualties - we don't have any exact numbers."

Haiti occupies an area roughly the size of Maryland on the Caribbean island of Hispaniola, which it shares with the Dominican Republic. Nearly all of the 8.7 million residents are of African descent and speak Creole and French. The capital is Port-au-Prince.

The country is, by a significant margin, the poorest in the Western Hemisphere, with four out of five people living in poverty and more than half in abject poverty. Deforestation and over-farming have left much of Haiti eroded and barren, undermining subsistence farming efforts, driving up food prices and leaving the country even more vulnerable to natural disasters. Its long history of political instability and corruption has added to the turmoil.

During the 18th century the western portion of Hispaniola, called Saint-Domingue, was one of the richest colonies in the French empire, known for its lucrative sugarcane and coffee plantations. (The rest of the island was controlled by Spain.) In 1791 the African slave population revolted, eventually winning independence from Napoleon Bonaparte's France and becoming the second country in the Americas to free itself from colonial rule and the world's first black republic. The country was renamed Haiti.

resource

Recommend Visit