hi all,
i want to add this enviroment variable to all users -
https://knowledge.autodesk.com/support/ ... erver.html
so my question is how do i add it to all users not just for one users home directory as more than one person logs in using different logins/profiles
i have edited the file "/etc/profile" and added this line to the end but doesnt work
"export ADSKFLEX_LICENSE_FILE=@192.168.1.233"
what am i doing wrong, how do i also call it a filename as it says ie .flexlmrc
cheers,
rob
adding permanent enviroment variable for all users
Re: adding permanent enviroment variable for all users
Do not do this... read the edit underneath: You should create your own files under /etc/profile.d modelled on the existing ones that do the thing most similar to what you need.
Edit: I just read the link and if you look at it again, you will see that it tells you exactly what to do. And it does not involve editing any /etc/profile* file at all. They tell you to create a file in the user's home directory called .flexlmrc and to put that entry inside it. I do not think it is a standard environment variable, this is something peculiar to FlexLM and you need to do exactly what it says.
Edit: I just read the link and if you look at it again, you will see that it tells you exactly what to do. And it does not involve editing any /etc/profile* file at all. They tell you to create a file in the user's home directory called .flexlmrc and to put that entry inside it. I do not think it is a standard environment variable, this is something peculiar to FlexLM and you need to do exactly what it says.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: adding permanent enviroment variable for all users
Also check the port number that is used on the license server. See https://knowledge.autodesk.com/support/ ... lient.html. When a non-default port number is used, add it before the @ in the value of ADSKFLEX_LICENSE_FILE.
Make sure the firewall on the license server allows traffic to the above port. Some clients that use flex licenses (not sure about AutoDesk as I don't have that) require to be able to ping the flexlm license server, so you should allow ICMP access in the firewall of the license server as well.
Make sure the firewall on the license server allows traffic to the above port. Some clients that use flex licenses (not sure about AutoDesk as I don't have that) require to be able to ping the flexlm license server, so you should allow ICMP access in the firewall of the license server as well.
Re: adding permanent enviroment variable for all users
You also need to open the firewall ports on the client.
You can use nmap to check if they are reachable.
You can use nmap to check if they are reachable.