|
|
MindTouch OpenGarden > Deki Wiki > インストールとアップグレード > 1.8 Hayes Official Install and Upgrade Guide > Network Configuration
Network ConfigurationFrom $1Assigning a Static IPThis is a tutorial on how to assign a static IP for Deki Wiki VMware Certified Virtual Appliance or source running off of Debian. 2. Once Deki Wiki boots you will see the boot screen in the VM player with the chance to Login. Click your mouse on the VM player screen and login using the credentials:
password: password *When you type in password it will not show the characters as you type, so make sure you type it out correctly, this is a security measure. 3. Once you are logged in you want to type out the following command: nano /etc/network/interfaces
4. After you type in the above command hit Enter and you will be presented with the following screen:
5. Type out your network settings so that it matches the following format: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.90 gateway 192.168.1.1 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 *Note: address is the Static IP address that you want to assign the Deki Wiki 6. The following screen shows my network configuration as it needs to be edited for my Deki Wiki to have a static IP.
Tips:
7. Once you have verified that your settings are accurate then exit out of the editor by hitting CTRL X on your keyboard 8. You will be prompted to save the file to do so type Y
9. Hit Enter at the screen below and your changes will be applied to the file:
10.After you have saved restart your Deki Wiki by clicking the VMplayer button at the top of the screen ->Troubleshoot->Reset 11. On restart the screen should display the IP address that you set for your static IP, if it only shows http:// then go back through the tutorial as there was probably an error somewhere. If you would like help configuring settings like this you can purchase a MindTouch Support Plan and we will help you configure your Deki WIki.
Configuring NATIf you want to run Deki Wiki via NAT, you will need to make a quick change. When you connect to Deki Wiki, PHP inherits the
hostname and uses it to contact the API. This works wonderfully when
the hostname is resolvable by both the browser and the VM. However,
that's generally not the case in NAT scenarios. To configure Deki Wiki to work in NAT do the following: Code: $wgDreamServer = "http://localhost";
タグ:
|
Where I seem to go wrong is in the interfaces file there seems to be two IP's that I am unable to match up with anything in my windows ipconfig. The "network" and the "broadcast" IP's don't seem to have anything that is obvious to me to match up from my windows IP config setting.
Interface File Settings:
address 10.56.15.171
gateway 255.255.255.0
netmask 255.255.255.0
network ?
broadcast ?
Windows ipconfig /all settings:
Ethernet adapter Team #0 - Adapter Fault Tolerance Mode:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Advanced Network Servil Adapter
Physical Address. . . . . . . . . : 00-11-25-AB-ED-C2
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.56.15.171
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.56.15.1
DNS Servers . . . . . . . . . . . : 10.0.12.120, 10.6.32.111
Primary WINS Server . . . . . . . : 10.6.7.1
Secondary WINS Server . . . . . . : 10.0.0.25
Any help would be appreciated.
Luke Morrison
2007年 8月 24日, 14:03に編集
The IP address isn't the one it gives you in the IPconfig as that is the IP address that is assigned to the computer you are on. I'd recommend checking with whoever manages the network where you are demoing to get the Static Range for their IPs.
Network and broadcast is the range that the IP falls in
ie.
Network: 10.56.15.0
Broadcast: 10.56.15.255
This is important information because VmWare + Linux + Wireless NICs don't play nicely. I had to use VmWare NAT/port mapping (available through C:\Program Files\VMware\VMware Player\vmnetcfg.exe) and you info finished off my puzzle. 2007年 8月 31日, 05:44に編集
I found that I had to use eth1 (eth0 didn't work). I also had to add a "ServerName = mywiki.domain.com" line in /etc/apache2/apache2.conf (as apache wouldn't start)