Change Koha IP address
HI all, Any good directions on how to change a Koha servers IP address ?? I currently have a virtual machine configured "just the way I want it". I would like to back / restore this VM, then just change the IP address...so I can setup a second Koha machine for a separate location. Thanks, -S
In my test Koha instances I always remove the network-manager and resolvconf packages, if present, and set up the network in /etc/network/interfaces and /etc/resolv.conf ~ To change the IP - I edit /etc/network/interfaces then restart networking with: /etc/init.d/networking restart reboot or shutdown -r now will make it take effect as well. If you have network-manager or resolvconf handling networking then there may be a better way -- I always purge these 2 packages and set networking statically in the interfaces file. Chad On Thu, Jun 4, 2015 at 8:00 AM, Scott Owen <sowen@edzone.net> wrote:
HI all,
Any good directions on how to change a Koha servers IP address ??
I currently have a virtual machine configured "just the way I want it". I would like to back / restore this VM, then just change the IP address...so I can setup a second Koha machine for a separate location.
Thanks,
-S _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Chad Roseburg Automation Dept. North Central Regional Library
Scott Owen schreef op do 04-06-2015 om 11:00 [-0400]:
Any good directions on how to change a Koha servers IP address ??
Koha doesn't care what your IP address is, this is really a Linux question. To give an answer, we'll need to know what distro, and how does it get its IP address? (DHCP or static) -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
I'm with Robin on this one -- this isn't really a Koha question, but I'll throw out the solution that I use for virtual machines on my home network; it would scale up to a larger network without too much fuss... I use dnsmasq as a DHCP/Caching DNS server. Dnsmasq uses a configuration file called 'dnsmasq.conf', which allows you to assign IP addresses dynamically and also set local domain names, so that I can log into http://kohadevbox:8080 rather than http://192.168.11.130:8080. One of the options available in dsnmasq.conf is to assign IP addresses and local domain names based on the hostname of the machine (that's a convenience you wouldn't get from a full DNS server) I also have all of my virtual machines set up with bridged networking, meaning that they will be talking to my router, and therefore get IP addresses assigned by the router. Like I said, not really a koha question, but it's certainly a handy way to work with a bunch of VMs running Koha. --Barton On Thu, Jun 4, 2015 at 7:42 PM, Robin Sheat <robin@catalyst.net.nz> wrote:
Scott Owen schreef op do 04-06-2015 om 11:00 [-0400]:
Any good directions on how to change a Koha servers IP address ??
Koha doesn't care what your IP address is, this is really a Linux question. To give an answer, we'll need to know what distro, and how does it get its IP address? (DHCP or static)
-- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
Hi Scott, IP address isn't Koha's matter, but Apache settings. Try to see the instructions on http://www.koha-community.cz (http://www.koha-community.cz), Návody (bellow on the page) , Podrobný ilustrovaný návod na instalaci Ubuntu 14.04, Koha 3.18 a zveřejnění OPAC na webu, v .pdf (http://www.koha-community.cz/InstalaceUbuntu14_4_a_Koha_3_18.pdf) page 53- 56 and in virtual environment Návod na instalaci Oracle Virtual Box na Windows 7, Instalace Ubuntu 12.04, instalalace Koha 3.12, zpřístupnění na web, instalace češtiny v .pdf (http://www.koha-community.cz/Instalace_OVB_Ubuntu_Koha.pdf) page 102 - 111. Mybe it helps. Sincerely Bohdan Smilauer Prague Czechia EU ---------- Původní zpráva ---------- Od: Scott Owen <sowen@edzone.net> Komu: koha <koha@lists.katipo.co.nz> Datum: 4. 6. 2015 17:03:08 Předmět: [Koha] Change Koha IP address "HI all, Any good directions on how to change a Koha servers IP address ?? I currently have a virtual machine configured "just the way I want it". I would like to back / restore this VM, then just change the IP address...so I can setup a second Koha machine for a separate location. Thanks, -S _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha"
participants (5)
-
Barton Chittenden -
Bohdan Šmilauer -
Chad Roseburg -
Robin Sheat -
Scott Owen