JERUSALEM  The families of the eight students who were killed by a gunman at a prominent Jewish seminary in Jerusalem on Thursday night buried their dead on Friday as the Israeli authorities tightened security around the city.

The Israeli police named the gunman, who was killed at the scene, as Ala Abu Dhaim, a driver, according to local reports. His family in Arab East Jerusalem said he had once worked as a driver for the seminary, Reuters reported, but the director of the seminary said on Israeli radio that he did not know him and the seminary did not employ Arab drivers.

In a scene of havoc and confusion on Thursday night while the students prayed, the gunman killed two people at the entrance to the Mercaz Harav yeshiva and then entered the first-floor library, spraying the religious students with gunfire from a Kalashnikov rifle, according to the Israeli police.

The dead were aged 15 and 26. At least nine others were injured, three seriously.

The families of the victims bought the eight bodies to the seminary on Friday morning before setting off, at around noon, to bury them at locations inside and outside Jerusalem.

In Gush Etzion, a settlement inside the West Bank, one of the victims of the shooting, Avraham David Moses, 16, whose parents had both moved to Israel from the United States, was buried in a quiet, restrained ceremony attended by several hundred people.

Shaded by trees, the mourners carried the small body up to the grave on a stretcher covered in a black and white prayer shawl. The victim’s young siblings gathered around the grave and helped throw soil onto the body.

“He was a really good kid,” said his stepmother, Leha Moses, who grew up in New Jersey and who said she had lived in Israel for 12 years. “He was just an incredible blessing,” she said.

Members of the family said the boy’s mother, Rivka Moriah, was originally from New England and his father, Naftali Moses, was from Long Island, and both had moved to Israel several years ago. Both had subsequently remarried.

The attack on Thursday was the deadliest on Israeli civilians in nearly two years and the first attack inside Jerusalem in four. It occurred at the start of the Hebrew month in which the Purim holiday occurs, and many of the witnesses at first thought the gunfire was firecrackers in celebration at the 84-year-old institute, an ideological base for the settler movement.

Only one gunman appeared to be involved.

The attack came at a time of increased Israeli-Palestinian tension, after a spate of violence in Gaza that has seen longer-range rockets reach the Israeli city of Ashkelon, a medium-size Israeli military operation in Gaza, and the deaths of nearly 130 Palestinians since Feb. 27. Four Israelis have died, including a soldier on Thursday.

In Gaza, the radical Islamic movement Hamas did not take responsibility for the yeshiva attack but praised it. In a text message, Hamas said: “We bless the operation. It will not be the last.”

The killings, which drew criticism from President Bush and the United Nations, are bound to put more pressure on Prime Minister Ehud Olmert to respond somehow, somewhere with force. The Gaza violence has led to unrest in the occupied West Bank as well and further complicates the political situation for the Palestinian president, Mahmoud Abbas of Fatah.

Mr. Abbas originally suspended contacts and peace talks with Israel indefinitely; after a plea from Secretary of State Condoleezza Rice, he agreed on Wednesday to return to negotiations, but refused to say when.

Mr. Abbas condemned Thursday’s shootings.

Mark Regev, spokesman for Mr. Olmert, said that “tonight’s massacre in Jerusalem is a defining moment.” He said that “the same warped and extremist ideology behind tonight’s massacre is also behind the daily rocket barrages in the south.”

Mr. Regev admitted that responsibility for the killings was still unclear. He said: “Before we can speak of response we have to ascertain exactly who was behind it. We will act to protect our people.”

Chief Inspector Micky Rosenfeld, an Israeli police spokesman, said at the scene that there had been no warning of the attack, giving weight to an unconfirmed report that the killer was from East Jerusalem and needed no special permit to enter the predominantly Jewish western part of the city.

Daniel Seaman, head of the Israeli government press office, said: “Jerusalem is a town where Jews and Arabs live together. The terrorist took advantage of the fact that he could move freely in west Jerusalem.”

The mayor of Jerusalem, Uri Lupolianski, said: “This is a sad evening for Jerusalem. We had about gotten used to quiet and calm.”

The scene outside the yeshiva was furious and passionate, with at least 50 ambulances and as many police cars, and angry students and local residents lined up behind police tapes, chanting, “Death to Arabs,” “Olmert  you are to blame” and “Who gave them weapons?”

Image Men waited outside the gates of the Mercaz Harav yeshiva on Thursday after a man entered the library and killed eight students. Credit... Yannis Behrakis/Reuters

Rabbi David Shalem, 43, the director of the Institute of Talmud Studies at the yeshiva, where he has spent the last 22 years, tried to wipe his tears away. “Tomorrow instead of religious lectures there will be funerals,” he said, then shouted: “Let the government go to hell! Write that down. Let the government go to hell!”

Asked what the government should do, Rabbi Nachum Levy, 60, said, “I would like to see Olmert go with a strong hand.” Where? “Everywhere, in Gaza and the north and inside,” he said, “and not dismantle settlements.”

The yeshiva is a symbol of the national religious strain of Judaism that provides the backbone of the settler movement. After the 1967 war, the national religious movement was the ideological father of the idea of redemption through reclaiming the land. The yeshiva was founded in 1924 by Rabbi Abraham Isaac Kook, and it is considered an elite institution, with 400 students. Thursday night the library contained some 80 students, witnesses said.

“We are shocked that base killers came to do murder in one of the holiest places in Jerusalem,” said Haim Katz, 46, the yeshiva secretary, as the bodies of the dead were lined up in a row.

Yitzhak Dadon, a part-time student, told Israeli radio that the gunman “came out of the library spraying” gunfire. “The terrorist came to the entrance, and I shot him twice in the head,” Mr. Dadon said.

Mr. Rosenfeld of the police said, however, that the gunman was killed by an army officer who was passing by and two undercover policemen who were in the area. The gunman had a pistol and a Kalashnikov rifle and managed to change clips at least once, Mr. Rosenfeld said.

Avi Katz, 23, was one of the first volunteers to enter the building as part of a medical help organization that gathers body parts for burial.

He was shaken by the sight. “I’ve seen terrorist acts before, but never like this,” he said, breathing shallowly. “We came to the library and saw two bodies at the entrance on the floor, and it was very bad. There were bodies and Jewish books all over the floor.” He and a colleague tried to save one student’s life until ambulance workers came, he said. “It’s not just the symbolism of the yeshiva,” he said. “They were shot one by one.”

At the United Nations, Secretary General Ban Ki-moon condemned the attack “in the strongest terms” and said he was alarmed at “the potential for continued acts of violence and terrorism to undermine the political process.” But the Security Council, in an emergency closed-door session, was unable to settle on a similar statement.

“We were not able to come to an agreement because the Libyan delegation, with the support of one or two others, did not want to condemn this act by itself,” Zalmay Khalilzad, the American ambassador, told reporters.

Libya, a new member of the Council this year, wanted to include language condemning the recent Israeli incursions into Gaza, diplomats said.

In a statement, President Bush condemned the attacks, adding: “I have just spoken with Prime Minister Olmert to extend my deepest condolences to the victims, their families, and to the people of Israel. I told him the United States stands firmly with Israel in the face of this terrible attack.”

Earlier on Thursday, Palestinian gunmen from Islamic Jihad blew up an Israeli Army jeep patrolling the Gaza border, then attacked a rescue crew, killing one soldier and wounding three, according to the Israeli military and Palestinian witnesses.

The jeep was moving just inside Israel near the old Kissufim crossing in central Gaza when a roadside bomb exploded and set it on fire. Several other army vehicles and a helicopter came under fire when they arrived to rescue the wounded.

After the attack, Israeli troops moved a few hundred yards into Gaza, exchanging fire with gunmen near Deir al Balah, and an Israeli airstrike on a rocket-launching team killed one Palestinian militant and wounded another in northern Gaza.

Defense Minister Ehud Barak of Israel announced that he would indefinitely postpone a trip to the United States because of the uncertain situation in Gaza, and also spoke with President Hosni Mubarak of Egypt.

Israeli officials said that the explosive device was large and sophisticated. They suggested that it was built by militants who had received weapons training in Iran, the main sponsor of Islamic Jihad, a small, radical group that rejects both participation in politics and talks with Israel.

Hamas, which rules Gaza, said it also took part in the attack, which Islamic Jihad said was revenge for an Israeli attack the day before that killed one of its commanders.

Also on Thursday, Palestinians fired at least seven Qassam missiles toward Israel; two hit houses in Sderot, wounding one Israeli civilian. One hit the house of Elisheva Turjeman, doing significant damage but causing no injuries. The rocket collapsed the roof, covering the living room with red powder from the crushed roof tiles, and started a fire. Mrs. Turjeman yelled at reporters, “Soon there will be no more homes standing in Sderot!”

In Egypt, talks continued on how to reach a cease-fire between Palestinians and Israelis in Gaza. A delegation from Hamas and Islamic Jihad met with Egypt’s intelligence chief, Omar Suleiman, in the Egyptian city of El Arish. Egypt is trying to get Hamas to stop the rocket firing in return for a halt to Israeli attacks on Gaza.