Ubuntu has a rare problem when installing Oracle 11g XE in Configure. I can only say that I have solved this Configure problem, however, I suggest you confirm the input method when you press the Enter key. This is what I feel afterwards. Www.2cto.com, I believe you have already searched the internet. It seems that you still cannot find the answer to this question. I personally think this should be a sudden small event, it is estimated that your Oracle configuration is affected in some small places, and everyone is in a hurry, so I will tell you my solution. 1. sudo/etc/init. d/oracle-xe configure, and then I see "sudo:/etc/init. d/oracle-xe: command not found ". If the result is changed to sudo sh/etc/init. d/oracle-xe configure. Www.2cto.com 2. When it prompts me to enter the Port number, whatever I do, it always says "Invalid Http Port :****". Open the oracle-xe file and find echo "Invalid http port: $ LINE". Specify your port directly below (for example, HTTP_PORT = 8080; Remember to add the break statement ), if you are interested, you will know how to create an experiment. Similarly, you will find that this error occurs when you want to specify the listening port later. You can also specify your port (for example, LISTENER_PORT = 1521; Remember to add the break statement) below ), it should be successful here.