Open zilong13 opened 3 years ago
On Mon, 2020-09-14 at 08:46 -0700, zilong13 wrote:
Hi
the problem is there're no chance to let me input the IP address I want, how can I change the IP Address during the installation?
Thanks.
Brian Currently, this option is not available, since the goal is to make the process is simple as possible, however, you can change the IP address after the installation is complete, but you will have to update the .env with the updated IP address.
I will add an option where one can choose between the static or dynamic IP address.
I will add an option where one can choose between the static or dynamic IP address.
Thank you, Can you guide me how to change network to static IP and where i can find the .env file? appreciated.
I will add an option where one can choose between the static or dynamic IP address.
Thank you, Can you guide me how to change network to static IP and where i can find the .env file? appreciated.
Sure, to change the IP you can use the CLI menu nmtui and update your network details or you can use the following commands
nmcli con modify "System eth0" ip4 192.168.122.200/24 ipv4.dns 192.168.122.1,192.168.122.2 ipv4.gateway 192.168.122.1 ipv4.method manual
ifdown eth0
ifup eth0
To update the .env file, do the following
snipe_home
this will change the directory to /var/www/html/snipe-itsudo vi .env
and update the IP address (APP_URL)clear_config
clear_cache
Let me know how it goesI will add an option where one can choose between the static or dynamic IP address.
Thank you, Can you guide me how to change network to static IP and where i can find the .env file? appreciated.
Sure, to change the IP you can use the CLI menu nmtui and update your network details or you can use the following commands
nmcli con modify "System eth0" ip4 192.168.122.200/24 ipv4.dns 192.168.122.1,192.168.122.2 ipv4.gateway 192.168.122.1 ipv4.method manual
ifdown eth0
ifup eth0
To update the .env file, do the following
snipe_home
this will change the directory to /var/www/html/snipe-it- Edit .env
sudo vi .env
and update the IP address (APP_URL)- After you have saved your changes, clear the cache by using the following aliases
clear_config
clear_cache
Let me know how it goes
Hi Sir, When I type "nmcli con modify "System eth0" ip4 192.168.122.200/24 ipv4.dns 192.168.122.1,192.168.122.2 ipv4.gateway 192.168.122.1 ipv4.method manual"
I got this message, Error: invalid
I got this message, Error: invalid .'ipv4'.
Issue fixed.
Issue fixed
Awesome
Hi
the problem is there're no chance to let me input the IP address I want, how can I change the IP Address during the installation? If DHCP available in the network, Snipe-IT will get an random IP, if it don't, http:// IP is blank, so, that's the point! Thanks.
Brian