Use flywheels to store electricity for night-time and calm days.Use the electricity to extract hydrogen from water. This will provide the fuel for vehicles.
Encourage everyone to have a solar panel on their roof, and a windmill in their garden.
Use the world's deserts as solar energy farms.
The more solar panels there are, the more surface area there is, to reflect sunlight away from the Earth and help cool the planet, thereby reducing the global warming. Of course, if there's too much reflection, there's a risk of triggering an ice age, so we might have to balance it with carbon emissions.
Why's no-one talking about the Gaia Hypothesis any more? A very good scientific test, is to see whether the increasing carbon dioxide in the atmosphere triggers a reaction in the Biosphere to counteract its effects.
We should be looking at this global-warming crisis, not as a disaster, but as a learning opportunity - a crash course in planetary management. If we come through this, we will be masters of climate control - an essential skill if we intend to terraform other worlds.