Troy and Nightlord make some good points especially on buying one might be cheaper.
Now comes the sermon which you can take or leave,
One thing is to avoid an expensive ruin, you must have the proper tools and that means either a) making them if you are an experienced machinist with the tooling to do so, or b) buying them from Brownells, Ebay, or Midwayusa. For all assembly work, you need an action wrench for the action--Wally Cooper on Ebay, Midwayusa, and Brownells all sell a Mauser large ring action wrench which works for both the m1917 and m98 as these are both Mauser actions really.
The second is that you need a dedicated barrel vise--Brownells, Midway, or Wally Cooper all make these. Midway's is the cheapest but uses wood blocks. Brownells has several with the Cadillac being one that uses a jack to put pressure on the barrel to hold it in place, the last is Wally Cooper's which has aluminum insets for the barrel vise that are machined specifically for the specific model--I'm sure if you shoot him an email that he can also make the additional inserts that will work with the other barrel so you do not have to buy a second barrel vise. Ar type barrel vises or competition benchrest type barrel vises will not do the job, using a regular vise is a bubba job and likely to damage the barrel, and using a pipe wrench is very ill advised.
Here is a pictorial step by step of someone rebarrelling a 1917 action.
https://www.migunowners.org/forum/showthread.php?281650-Lets-Re-barrel-a-1917-Enfield I don't really like his receiver/action wrench but it is serviceable if nothing goes wrong.
The steps are similar for a m98 but with a bit different specs--the Mauser 98 barrel is torqued against a C-Ring (if a military action--civilian FN mausers postwar are a bit different if I remember correctly). The shoulder of a military barrel supposedly is insufficient to keep the barrel from unscrewing to use that as the primary torque surface--you may also have problems reaming the barrel to get proper headspace if new or the headspace will be too long if you put an old barrel that has insufficient shoulder space to torque down on the C-Ring within the receiver. Ideally, both surfaces will bear but that might require lathe work.
Thus, by the time you add receiver wrenches, barrel vises, headspace gages, with the sum total of the parts, you can see where Nightlord is coming from. Things can go wrong such as twisting the receiver or the receiver cracking and so on. This is more common if you use improvised tooling. Be prepared to avoid a money pit and make a display rifle if nothing else if it cannot be made to shoot accurately and safely.
I restored a bunch as a somewhat warped hobby because I have had significant health issues that severely restricted mobility for a number of years and because I like for something to tinker with so I amortized the costs of the tools over a fair number of firearms. I was also familiar with basic mechanical work and woodworking from a number of years working on cars, carpentry, furniture, etc. I also research online and through books both general gunsmithing and specifics on the rifles that I work on. I also take sometimes two-three years to restore one because I do not overpay for parts more than I have to and am willing to do stockwork, etc. I never try to restore them to pristine either because I use them as shooters and to learn about different rifle actions. Last but not least, I reserve difficult problems for my long suffering local gunsmith who puts up with my odd hobby and does the stuff beyond my capacity (either tooling, or touch) cheerfully. Know your limitations and ask for help.
BTW do not go cheap on safety as the cost of a headspace gage is cheaper than a copayment to a surgeon or Urgent Care. Masking tape, shims, etc. are not a good substitute for a headspace gage--those are field expedients--do it right the first time. This goes double for anything that is containing very hot gasses at high pressure--if the receiver is deeply pitted, it is a wall hanger, if it is twisted, it is pretty much going to shotgun bullets in a pattern, if it has lug setback or require new heat treatment because Bubba welded on it, it should not be fixed by anyone other than a master craftsman in the field. Ditto for bolts and barrels. Make sure that the safeties are fully functional, passive and active.