This ime is not a problem you can discipline away. This little lad has had his world turned upside down, he is at an age where he hasn't got the capacity to talk to you about it, and all he can do is cry and lash out.
Yes, he was lovely in the first few weeks and that was very sweet. Now he is realising that his little brother is never going to go away and that this is impacting his life every single day. Of course he is upset.
Your job is to make him see that there is still enough Mummy there for him. This really, really isn't the time to lose your patience and shout at him: he will see this as another horrible change that started with the coming of little brother. Nor should he be punished for being upset.
Instead you need to make time to reassure him. Make him feel he is still the most important thing in the world to you (and you don't need to mention, just yet, that little brother is too
). Often a small baby can wait, but a toddler can't. Let him come first if you can. When you are feeding baby brother, try to make it big brother's special time: read him a story, talk to him.
As for the hitting, again afraid that's your job to sort. Just never leave them alone together, take him with you wherever you go, manoeuvre so there is a pleasant reason why you are between him and baby brother.
My dd was quite a bit older- 3.5- when her brother was born, but we had very similar issues. I did the above and also put a hook (safer than a lock) on ds' door, above her reach, so I could shut him in safely (he didn't know and didn't care) when I needed to go to the loo.
Another thing that helped was devising a game that was primarily about amusing dd, but where baby ds had a small part: the bed became a car and baby brother was the driver (lying flat on his back and waving hands in the air) who took us off to all these wonderful places that dd chose. We bonded during those car drives, the three of us.
And go out, as often as you can. Fresh air and exercise make toddlers less crabby.
This will pass. My dc grew up firm friends. It was worth every scrap of patience I could muster in those early weeks.