SEO Tips - SEO Blog - Internet Marketing - Search Engine Optimization

» Linux and Unix

  • Ubuntu – Updating Dynamic IP Address Automatica...
    By on December 19th, 2008 | No Comments Comments
    Ubuntu – Updating Dynamic IP Address Automatically
    If you have a server running at home, using Ubuntu – file server, webserver, ssh server or the kind – using a service such as zoneedit.com or dyndns.org to provide you with DNS services so that you can access your server using a URL, then you might have to update your DNS record at the service periodically whenever the IP address of your computer changes. Experts recommend that you use ddclient, which updates the IP address whenever it changes. You can install it from the ubuntu repositories by doing a $sudo apt-get install ddclient and configure it as neccessary. If you cant find ...
  • Ubuntu – Setting a “smarthost” in Postfix
    By on December 19th, 2008 | No Comments Comments
    Ubuntu – Setting a “smarthost” in Postfix
    Since Postfix is the default Mailer used in Ubuntu, and since you may need to set a smarthost to possibly send outgoing mail through the SMTP server on a webserver, or your ISP, heres how to do that: Edit /etc/postfix/main.cf, and add or edit this line: relayhost = your.server.com Followed by restarting the postfix service: $sudo /etc/init.d/postfix restart This might be handy particularly for those who use a combination of Mutt + procmail + fetchmail to read their mail – old style. Tweet Incoming search terms for the article:postfix internet with smarthost (45)ubuntu postfix smarthost c...
  • Ubuntu – Adding a startup script to be run at b...
    By on December 19th, 2008 | No Comments Comments
    Ubuntu – Adding a startup script to be run at bootup
    So you have a script of your own that you want to run at bootup, each time you boot up. This will tell you how to do that. Write a script. put it in the /etc/init.d/ directory. Lets say you called it FOO. You then run % update-rc.d FOO defaults You also have to make the file you created, FOO, executable, using $chmod +x FOO You can check out % man update-rc.d for more information. It is a Debian utility to install scripts. The option defaults puts a link to start FOO in run levels 2, 3, 4 and 5. (and puts a link to stop FOO into 0, 1 and 6.) Also, to know which runlevel you are in, use the run...