With technology, you could live on Mars in a house arrest sort of way. But whatever we do, we can not change the gravity of Mars as Mars mass is only 10.7% that of Earth's. Adults may be able to mitigate the health effects with exercise and medications but children would be misdeveloped and would have chronic health problems throughout their shortened opportunityless lives. It would be faar better to colonize O'Neill Cylinders, Bernal Sphere's and Stanford Torus's where more Earth like environments and full 1-g gravity by rotation can be achieved. Material can be from asteroids, comets and moons, there would be no planetary gravity well to launch against and no dangerous re-entry to endure.
If you must live on Mars, you would live underground by digging trenches, inflating or inkjet printing structures ( the structures could also be sandbagged structures ) and covering with at least 4.5 meters of packed Martian regolith for dirt. Plants would either be grown with artificial lights or light would be concentrated by mirrors and aimed through light pipes into the habitat. Note the light would have to be collected from a far greater area then the habitat to concentrate it to Earth levels hence a substantial distance would exist between trenches meaning rooms would be spread out with long halls or a PRT. The habitat would be as closed cycle as possible but additional resources such as Martian ground water, chemicals and CO2 could be brought in from Mars. Excess Oxygen would be compressed for release when oxygen levels are low therefore giving the habitat the buffering effects of a larger volume. With algae bioreactors, an excess of oxygen can be quickly stored by bringing in more CO2 from Mars atmosphere, the algae can be processed into synthetic foods to supplement the fruits, vegetables and grains grown. Meat would have to be from aquaponics ( fish such as Tilipia ), chickens and goats. Dairy would be from goats. Rodents would be the small scale alternative to goats. We may be able to effectively synthesize milk or produce milk from genetically engineered bacteria. We may be able to inkjet print suitable replacements for steak. Internet connections would be through caching servers and hosting servers for companies wishing to market on Mars would be a source of offworld revenue. Bitcoin would have to be redesigned for the extreme latencies perhaps to having multiple block chains. Vehicles could be powered by Thulium RTG's recharged in nuclear reactors, an alternative vehicle fuel source would be Silane which burns in CO2, the silane would be synthesized from sand and water, fortunately there's both on Mars. Cobalt 60 could be used to preserve foods by irradiation thereby avoiding the high energy use of traditional heat canning. Plastic and mylar retort bags can be made from the CO2, water and minerals of Mars, regular glass and metal canning jars could also be made from materials on Mars. Food preservation is always a key component to colony survival.