Server sent passive reply with unroutable address. Using server address instead | Webuzo Blog

Server sent passive reply with unroutable address. Using server address instead | Webuzo Blog

This issue persists because the server is unable to connect in passive mode.2) Switch to Active mode in File Zilla and you are in.Goto File Zilla >> Edit >> Settings >> Connection >> FTP >> Passive mode >> “Fall back to active”

via Server sent passive reply with unroutable address. Using server address instead | Webuzo Blog.

The qmail newbie’s guide to relaying

The qmail newbie’s guide to relaying

The remote host now sends one or more RCPT TO commands, which specify the recipients of the message:

RCPT TO:

Just a minute! elsewhere.com is not one of the domains that your server hosts. What does your server do? It can agree to accept the message and attempt to deliver it:

250 ok

Or it can reject it:

553 sorry, that domain isn’t in my list of allowed rcpthosts (#5.7.1)

In the first case, your server is acting as a relay: it’s accepting and agreeing to try to deliver a message that’s not destined for a domain that your server hosts. In the second case, it’s refusing to act as a relay.

qmail’s rcpthosts file, which gets its name from the RCPT TO command, determines whether the recipient will be accepted: it will be accepted if and only if the domain of the address given in the RCPT TO command is listed in rcpthosts. (I’ll talk about exceptions to this rule later on.) If the rcpthosts file does not exist, then any recipient will be accepted.

An SMTP server is an “open relay” if it agrees to relay mail no matter who’s sending it–if another host connects to port 25 with some mail, an open relay will accept and try to deliver it no matter what its destination is and no matter who is sending it. A qmail server without a rcpthosts file will act as an open relay.

via The qmail newbie’s guide to relaying.

git – pull/push from multiple remote locations – Stack Overflow

git – pull/push from multiple remote locations – Stack Overflow

You can configure multiple remote repos with the git remote command:git remote add alt alt-machine:/path/to/repoIn order to fetch from all the configured remotes and update tracking branches, but not merge into HEAD, do:git remote updateIf it’s not currently connected to one of the remotes, it will time out or throw an error, and go on to the next. You’ll have to manually merge from the fetched repos, or cherry-pick, depending on how you want to organize collecting changes.To fetch the master branch from alt and pull it into your current head, do:git pull alt masterSo in fact git pull is almost shorthand for git pull origin HEAD (actually it looks in the config file to determine this, but you get the idea).For pushing updates, you have to do that to each repo manually. Push was, I think, designed with the central-repository workflow in mind.shareimprove this answer

via git – pull/push from multiple remote locations – Stack Overflow.

How to create a new user on Origin? | OpenShift Forums

How to create a new user on Origin? | OpenShift Forums

Nice find! I totally forgot about the registration step. So after setting up http://openshift.github.io/documentation/oo_deployment_guide_comprehensive.html#configure-an-authentication-plugin and running:

htpasswd -c /etc/openshift/htpasswd demo

 

oo-register-user -l admin -p admin –username demo –userpass demo

I was able to get in. I created other users the same way. By running:

htpasswd /etc/openshift/htpasswd nduong

 

oo-register-user -l admin -p admin –username nduong –userpass nduong

via How to create a new user on Origin? | OpenShift Forums.

node.js vs. meteor.js what’s the difference? – Stack Overflow

node.js vs. meteor.js what’s the difference? – Stack Overflow

A loose analogy is, “Meteor is to Node as Rails is to Ruby.” It’s a large, opinionated framework that uses Node on the server. Node itself is just a low-level framework providing functions for sending and receiving HTTP requests and performing other I/O.

Meteor is radically ambitious: By default, every page it serves is actually a Handlebars template that’s kept in sync with the server. Try the Leaderboard example: You create a template that simply says “List the names and scores,” and every time any client changes a name or score, the page updates with the new data—not just for that client, but for everyone viewing the page.

Another difference: While Node itself is stable and widely used in production, Meteor is in a “preview” state. There are serious bugs, and certain things that don’t fit with Meteor’s data-centric conceptual model (such as animations) are very hard to do.

If you love playing with new technologies, give Meteor a spin. If you want a more traditional, stable web framework built on Node, take a look at Express.

via node.js vs. meteor.js what’s the difference? – Stack Overflow.

openshift-installer and DNS configuration on digitalOcean

openshift-installer and DNS configuration on digitalOcean

1. install everything here

openshift-installer

Welcome to the OpenShift Easy Install Script. This script takes the hassle out of installing OpenShift by handling the preconfiguration and dependency installation for you. To run this script, all you need to do is enter the following into your shell prompt:

curl https://raw.githubusercontent.com/rjleaf/openshift-installer/master/install.sh > install.sh && chmod +x install.sh && sudo ./install.sh

Once you run that command, you will be asked for some information about your server (currently just your desired hostname). Then, we’ll take care of configuring your server. If you didn’t have SELinux enabled prior to running this script, then this script will make the necessary changes and reboot your machine.

If your system restarts, you will need to rerun the install script by typing the following:

sudo ./install.sh

From there, you should be able to smoothly sail through the normal OpenShift installation process. At the end of using this script, you should have a fully functional OpenShift broker or node.

Compatibility

This script has been tested to work with the following distros:

Fedora 19 x64

Red Hat Enterprise Linux 6.5

CentOS 6.5

[Note: I’ve tested this on a DigitalOcean droplet. DigitalOcean includes images with SELinux available, but not enabled. This script enables SELinux on your behalf. Some VPS providers may not include SELinux – unfortunately this script does not yet provide the capability to install and configure SELinux for you.]

Proposed Features

These are features that are currently under development and have not yet been implemented.

Support for Red Hat Enterprise Linux 7. Support will be added once issues with Puppet on RHEL7 are resolved.

Authors

We hope you benefit from the install script. If you have any questions, feel free to contact one of our authors:

Ryan Leaf – ryan [at] ryanleaf [dot] org

via rjleaf/openshift-installer.

 

2. pay attention to DNS configration.

hostname:

master.openshift.example.com

the other names are

apps.example.com

openshift.example.com

3. !!!! pay attention to add

cname

*.apps   point to example.com

in your digital DNS panel.