we are concerned with the global existence of entropy solutions for the compressible euler equations describing the gas flow in a nozzle with general cross-sectional area, for both isentropic and isothermal fluids. new viscosities are delicately designed to obtain the uniform bound of approximate solutions. the vanishing viscosity method and compensated compactness framework are used to prove the convergence of approximate solutions. moreover, the entropy solutions for both cases are uniformly bounded independent of time. no smallness condition is assumed on initial data. the techniques developed here can be applied to compressible euler equations with general source terms. this is joint work with prof. wentao cao and prof. feimin huang.