It would be really helpful if you could tell how you set the proxy

среда, 9 декабря 2015 г., 9:12:15 UTC-8 пользователь Patrick K написал:
>
> I figured out how the set the proxy in the os. It was quite simple one I 
> knew how to do it..
>
> On Monday, November 30, 2015 at 2:57:42 PM UTC-5, Patrick K wrote:
>>
>> Hi Kyle,
>>        I am not sure what you mean by the resulting unit. I feel like 
>> this is just insane. How come this is so difficult to implement a network 
>> proxy in CoreOS. Adding a proxy should not be this difficult...
>>
>> On Monday, November 23, 2015 at 5:14:15 PM UTC-5, [email protected] 
>> wrote:
>>>
>>> Hi Patrick,
>>>
>>> could you run `systemd-run env` and then `journalctl -u -l` on the 
>>> resulting unit?
>>>
>>> Thanks,
>>> Kyle 
>>>
>>> On Monday, November 23, 2015 at 10:59:06 AM UTC-8, Patrick K wrote:
>>>>
>>>> Hi Gabe,
>>>>      I tried the steps in your link and its not working. Nothing I try 
>>>> is working with CoreOS. It is the most frustrating OS when you have to use 
>>>> an Internet Proxy. I have tried every possible thing I could think of to 
>>>> get this proxy config to work. Nothing on the internet works either. The 
>>>> proxy setup listed on coresos.com doesn't even work for docker. The 
>>>> files that you would normally edit and setup in something like centeOS is 
>>>> the environment and profile files. You add the proxy to these 2 files and 
>>>> your done. Not hasles or headaches. At this point I need to get this 
>>>> system 
>>>> up and running it is taking way too much time to get completed. I have a 
>>>> project deadline that I am working against and delivery date is fast 
>>>> approaching... Is there any other possible thing you can think of that 
>>>> might get a proxy to work at CoreOS layer...?
>>>>
>>>> On Thursday, November 19, 2015 at 6:49:58 PM UTC-5, Gabe Monroy wrote:
>>>>>
>>>>> Hey Patrick,
>>>>>
>>>>> Here are some instructions on getting Deis running with a proxy server:
>>>>> http://docs.deis.io/en/latest/managing_deis/using-a-proxy-server/
>>>>>
>>>>> Note the user-data edits required to populate `/etc/environment_proxy` 
>>>>> before launching the servers.
>>>>>
>>>>> Feel free to swing by #deis on Freenode IRC if you have more questions.
>>>>>
>>>>> Gabe
>>>>>
>>>>> On Thursday, November 19, 2015 at 12:41:10 PM UTC-7, Brandon Philips 
>>>>> wrote:
>>>>>>
>>>>>> Hello Patrick-
>>>>>>
>>>>>> Where instructions are you using to deploy deis? It is specific to 
>>>>>> every application on how a proxy is used and set.
>>>>>>
>>>>>> Thank You,
>>>>>>
>>>>>> Brandon
>>>>>>
>>>>>> On Thu, Nov 19, 2015 at 8:33 AM Patrick K <[email protected]> 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Brandon,
>>>>>>>       I would like to deploy DEIS. I need internet access from 
>>>>>>> within CoreOS to set it up. This proxy problem is delaying the whole 
>>>>>>> process and eating up allot of time. Other linux platforms are pretty 
>>>>>>> straight forward to setup a network proxy. Do you know how I can setup 
>>>>>>> a 
>>>>>>> proxy that will work with everything on the server...? 
>>>>>>>
>>>>>>>
>>>>>>> On Thursday, November 19, 2015 at 12:57:44 AM UTC-5, Brandon Philips 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hello Patrick-
>>>>>>>>
>>>>>>>> What application are you trying to have use the proxy?
>>>>>>>>
>>>>>>>> Brandon
>>>>>>>>
>>>>>>>> On Wed, Nov 18, 2015 at 1:49 PM Patrick K <[email protected]> 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Anton thanks for the information. I need to have proxy 
>>>>>>>>> configured for everything that runs on the system. I tried adding a 
>>>>>>>>> variable in the system.conf file and it didnt appear to work. Here is 
>>>>>>>>> what 
>>>>>>>>> I entered into the file, does this look correct...?
>>>>>>>>>
>>>>>>>>> DefaultEnvironment="HTTP_PROXY=http://proxyserverip:8080";
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Wednesday, November 18, 2015 at 8:11:43 AM UTC-5, 
>>>>>>>>> [email protected] wrote:
>>>>>>>>>>
>>>>>>>>>> Dear Patrick,
>>>>>>>>>>
>>>>>>>>>> It depends on your app. For example here is a doc which shows hot 
>>>>>>>>>> to configure docker to use HTTP proxy: 
>>>>>>>>>> https://coreos.com/os/docs/latest/customizing-docker.html
>>>>>>>>>>
>>>>>>>>>> If you wish to configure all your apps to use proxy you can 
>>>>>>>>>> configure systemd "DefaultEnvironment" variable: 
>>>>>>>>>> http://www.freedesktop.org/software/systemd/man/systemd-system.conf.html#DefaultEnvironment=
>>>>>>>>>>
>>>>>>>>>> If you wish to configure env variable only for logged users, try 
>>>>>>>>>> to configure ~/.bashrc (run "cp --remove-destination $(readlink -f 
>>>>>>>>>> .bashrc) 
>>>>>>>>>> .bashrc" to replace symlink with a regular file).
>>>>>>>>>>
>>>>>>>>>> Feel free to ask any further questions.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Anton
>>>>>>>>>>
>>>>>>>>>> On Wednesday, November 18, 2015 at 11:53:39 AM UTC+1, Patrick K 
>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Can anyone tell me hpow to setup a network proxy on coreos. I 
>>>>>>>>>>> try to edit the /etc/profile file and it errors out stating its a 
>>>>>>>>>>> read only 
>>>>>>>>>>> file and it wont let me chmod it to write permissions and I cant 
>>>>>>>>>>> override 
>>>>>>>>>>> with the save option when I edit it with vim. Is this the right 
>>>>>>>>>>> file to 
>>>>>>>>>>> setup a network proxy...? I tried to do it with cloud-config file 
>>>>>>>>>>> during 
>>>>>>>>>>> installation and it didnt work as well..Any help with this would be 
>>>>>>>>>>> greatly 
>>>>>>>>>>> appreciated... Theres no documentation on the web...
>>>>>>>>>>>
>>>>>>>>>>

Reply via email to