You don't need to show a history of being a land lord to purchase a multi-family owner occupied home. The appraiser will add a rent schedule to your appraisal to show the underwriter what the current market rents are for each of the units (including any that you may occupy). This would apply for both conventional and government loan programs. Keep in mind that lenders can add their own overlays (additional qualifying criteria) to be more strict than this base guideline.
The extra rent from the other units will be counted towards your income (but not to directly offset your mortgage payment) and the extra units will increase your maximum loan amount. Keep in mind that not all of your rent will count for qualifying, depending if it's conventional or government financing, you're looking at 75-85% of the projected rents on the property to be used for qualifying purposes. Also note that if it's a 3-4 unit government loan, 85% of your projected rental income (use all of the units in the building for this calculation) must cover the full mortgage payment including taxes and insurance to show the property is self sufficient if you were to run into a hardship and had to vacate the residence. For instance in Utica, NY, the loan limit for a three unit residential home in Oneida county would be 645,300 for a conventional loan and 419,425 for government financing (FHA/VA).
In addition to the above, you'll also need anywhere between three and six months mortgage payments in reserves after all your cash to close to show you can pay your mortgage payment even if you had a temporary financial hardship.
On a side note, the appraisal for a mulit-family property will be more than a single family so don't be shocked if the cost is more than you anticipated. The rent schedule does take the appraiser additional time to create and add to the report.