For an egg farm, you need one male and as many female as you can afford, make wooden ramp and have them follow you into them and punch into position. Put them on passive. The eggs will roll down for an easy pick up.
With tamed dilos try to use a ranged weapon to help ensure that the spit attack won't accidently bounce off of you,a pack of 3-5 dilos can also take out most coastline enemies including the trike if need be
Taming a huge pack of these guys is a very good way to be able to take on bigger dinosaurs and is almost essential in singleplayer. An army of these guys can be a good replacement for people. Pair them with some other tames like the scorpion or a swarm of dimos (another overlooked but great tame) and you can dominate the whole island
Along with immediately gathering resources for tools, clothes, and a temporary base, a new player should try to tame as many Dilos as possible. That's what I do anyway, I just tame every Dilo I see. Now I have a huge pack of Dilos that are an expendable way of fighting bigger dinos, but capable in a group. They are so easy to tame that it doesn't matter if some die. I level them up to about 400% speed (they start at 300%, at least on my server) and the. the rest goes into health and melee damage.
so when ever I start on a new server I always tame a small team of these guys just for some protection. I recommend you do this when you are between level 3-15
These guys are great because their poison can slow down enemies wile you run for your life, not mentioned they are pretty easy to tame because you can knock them out with your fists. When you are using them I suggest you have their attack range on high ( if it is not they will not use poison as much)and follow distance on low. When you are a low level you can even store perishable items, like narco berries, in them to have them last longer.