That Mr. Abbas would come was not a given. Already under fire from Palestinians who consider him too close to the Israelis, Mr. Abbas risked political damage at home by agreeing to attend. Hamas, the rival Palestinian group that controls Gaza, has excoriated Mr. Peres since his death this week, calling him a war criminal, not a peacemaker, and some in Mr. Abbas’s own Fatah party agree.

At a festival in Gaza to commemorate the anniversary of the latest wave of Palestinian attacks against Israelis, Amir Abo Al Amren, a Hamas official, said Mr. Peres was not the hero depicted in the West. “Peres is a murderer and not a man of peace,” he said. “He deceived the entire world but did not deceive the Palestinian people.”

The hostility helped explain why even leaders of Arab states with peace treaties with Israel seemed eager to stay away. While Egyptian and Jordanian leaders attended the funeral of Prime Minister Yitzhak Rabin, the other author of the Oslo Accords, after his assassination in 1995, neither country’s top leader has said he will attend Friday. But Egypt will send Foreign Minister Sameh Shoukry, who visited Jerusalem over the summer and met with Mr. Netanyahu, illustrating a recent improvement of ties with Cairo.

Among the others who plan to attend the funeral on Friday at Mount Herzl, the national cemetery, are President Obama, Secretary of State John Kerry, President François Hollande of France and other world leaders. In addition to Mr. Obama and Mr. Clinton, speakers will include Mr. Netanyahu; Israel’s president, Reuven Rivlin, and parliamentary speaker, Yuli Edelstein; the author Amos Oz; and Mr. Peres’s three children.

Altogether, the Israeli authorities said they expected 60 major guests from around the world who would require security, including 20 presidents, 15 foreign ministers and five heads of state.

The government began flooding Jerusalem with 8,000 security officers and made plans to shut down major roads, including the highway linking Jerusalem and Tel Aviv. Some schools and businesses decided to close on Friday given the expected disruption.

The 12-hour visitation on Thursday drew a cross section of Israelis, some who had known of Mr. Peres their whole lives and others born after some of his most notable accomplishments and actions.