I am trying to solve the following exercise:
Show that an open subset of a compact Hausdorff space is locally compact. Use this to conclude that any locally compact Hausdorff space has a local base consisting of compact sets.
Here, a topological space is locally compact if each point possesses a compact neighbourhood, and a local base is a collection such that for any given neighbourhood of a point there is a neighbourhood in the local base that is contained in the given neighbourhood.
It is clear to me why an open subset of a compact Hausdorff space is locally compact. However, I do not see how to use this to conclude that any locally compact Hausdorff space has a local base consisting of compact sets.
I am aware of another solution of the second part of the above stated exercise (using the complete regularity of the space), but I would also like a proof that follows the method outlined in the exercise.
Any help or comment is highly appreciated.