This description is based on Opera 9.23, but others should be much the same.
1. Start Opera Browser.
2. Select Tools > Preferences.
3. Click on 'Advanced' tab, choose 'Network' then click the 'Proxy servers' button.
4. Configure as shown in the image below.