Loading...
 

Linux Intranet Install 


This is an installation guide.

notes on how and why to set up tiki as an intranet... how to mirror local sites with remotes

lots of things to sort out... number one getting your localhost default to something else...

cd /etc/
vim hosts
inside you'll see something like
127.0.0.1 localhost.localdomain localhost

The localhost part is what you'll see in your browser's link bar
you want to change that to something else...
the question, I'm trying to answer is how....

All of this came about because I thought I could mirror my site locally and enjoy the benefits of a local dedicated server and be able to feed my changes to the remote intermittently during the day. Wrong. More to it than that. Begin Networking 101.



In the /etc/hosts file on a new RedHat Enterprise Linux 4 machine I recently installed, they've included the following slightly-more-helpful comment:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost


You can add other lines, or even add other names for the machine on that same line, but don't remove it. It really does break things. wink

The easiest place to start is 'man hosts' and 'man hostname' on your system, to find out the specifics of how your machine does things.

Also, note that the hosts file, while an easy way to build local aliases for some IP addresses, is just that: a local list of aliases. If you want other machines to be able to find tiki.yoursite.org then it will need to be entered into the DNS system (or equivalent) for others to be able to look it up by name. Either that, or you have to update the hosts file on every machine that you want to know that name...Not fun. (That's why they invented the DNS system...it's much easier to update things and have the changes propagate.)

And you'd probably want to put in the actual IP address of the network interface, not the 127.0.0.1 loopback address. As noted in the comments (below), that loopback address means "my network loopback interface, on this machine." And it's on every machine that has a network interface. It will answer a ping so long as you have a functioning network interface, regardless of whether you have a working net connection. Try this:

Networking 101 experiment: Pinging your local loopback address


idea Ping your local machine's loopback address:

ping 127.0.0.1

You should see answers, if your network interface is functioning. Now try pinging the alias "localhost":

ping localhost

You should see the same thing. (If it says something about not knowing 'localhost', then you'd better go edit that /etc/hosts file!)

Now unplug the ethernet cord from the back of your machine, and repeat those two steps. They should still work! The localhost/loopback/127.0.0.1 address is local to every machine, and it should work even if you don't have a working net-link, to let you know that your networking interface hardware and networking software are functioning.


Hope this helps a bit... smile

-Patrick Salsbury


Page last modified on Friday 16 March, 2007 16:11:21 GMT-0000

doc.tiki.org

Bootstrap AdminGuide UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Trackers
Transitions
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki
Show PHP error messages