SkyHorse.Org

Ubuntu wins Best Distribution Award

October 8th, 2005 SkyHorse

Ubuntu wins Best Distribution Award at the UK Linux & Open Source Awards on the 5th of October, along with a life-time award for Alan Cox, who was desperately needing one.

Ubuntu - Live CD screen shoot

What do Africa, the ISS and VeriSign have in common?

The man behind Ubuntu, who by the way is trying very hard not to get filthy rich(er) from the whole thing, is Mark Shuttleworth. The same Mark who founded Thawte Consulting (only to sell it to VeriSign for $575 million USD). The same Mark who went to the International Space Station for a short 8 days holiday trip. And yes, he also started Ubuntu two years ago.

For those of you out there who still think “free software” is the same as “free beer”, remember Ubuntu is only alive after SABDFL donated $10 Million USD to the Ubuntu Foundation. (SABDFL is short for self-appointed benevolent dictator for life, apparently what developers call its founder, Mark, in a sweet kind of way. Hey, for $10mil, who wouldn’t?)

DeliciousFacebookTwitterLinkedInShare/Bookmark
Tags: Ideas, Programming

Related posts:

  • Server-side redirection (a.k.a. tunneling) with PHP
  • Mandriva Linux 2006
  • Turning a camera phone with bluetooth into a mouse (HID for you and me)

Posted in Ideas, Programming | No Comments »

Mandriva Linux 2006

October 7th, 2005 SkyHorse

The only Linux distribution certified for Intel Centrino has just been released for “Club members” only.
Can this beat Ubuntu ? I guess the “rest” of us will have to wait till the 13th of October to find out if the Interactive Firewall or the Quick boot time is just hype.

Mandriva Linux

DeliciousFacebookTwitterLinkedInShare/Bookmark
Tags: Programming

Related posts:

  • Ubuntu wins Best Distribution Award
  • Microsoft fixes GAIM GNU/Linux MSN Client
  • jEdit – Programmers Text Editor

Posted in Programming | No Comments »

The new XDA Atom

October 6th, 2005 SkyHorse

cNet Asia is reporting on a new HTC PDA (HTC is the OEM manufacturer of famous PDAs sold under different names, such as XDA, MDA or Qtek. See XDA Developers for more info)

The smal form-factor of the current XDA Mini fails to achieve the same level of mobile connectivity as its big counterparts like the XDA IIi (which I currently have) or the XDA IIs (with a nifty qwerty sliding keyboard) due to the lack of WiFi network adapter.

This is where the new XDA Atom comes in: even smaller than the mini (The Atom measures 102 x 58 x 18.5 mm compared with the mini’s 108 x 58 x 18.1 mm) this baby has integrated WiFi, 262k-clolor QVGA screen (a lot better than most current PDA’s) and the coveted Windows Mobile 5.0 OS.
It also has O2 MediaPlus (I hope it’s easy to remove).

O2 XDA Atom
DeliciousFacebookTwitterLinkedInShare/Bookmark
Tags: Programming

Related posts:

  • Hi-Tech, Low-Work
  • jEdit – Programmers Text Editor
  • The Definite Guide of Obscure Tweaks to Install and Maintain cPanel / WHM (version 10)

Posted in Programming | No Comments »

Microsoft fixes GAIM GNU/Linux MSN Client

September 25th, 2005 SkyHorse

Well, pigs do fly.
What does a Microsoft employee have to do to get MSN Messenger working on their Linux desktops? Fix the bugs in GAIM Messenger of course! Thats what Bill Hilf, Microsoft’s Linux Lab Manager, did when he and his team had a ‘real’ need for MSN via HTTP under Linux. And, because they at Microsoft are so cool, even submitted the patch upstream.

Whats next? Microsoft at the LinuxWorld expo? Done already.

Could this mean we will soon see a “Microsoft Linux” in a laptop near you?

DeliciousFacebookTwitterLinkedInShare/Bookmark
Tags: Programming

Related posts:

  • Server-side redirection (a.k.a. tunneling) with PHP
  • Mandriva Linux 2006
  • Hi-Tech, Low-Work

Posted in Programming | 2 Comments »

DirectAdmin to cPanel : a partial BASH solution

September 21st, 2005 SkyHorse

I’m one of those who spent hours moving from DirectAdmin to cPanel, and in the meantime I’ve developed a couple of usefull tools to help me do it.

For the sanity of everyone ever trying to achieve this, forget googling because there is no tool available ATM. No one has ever started a script simply because the transition from DA to CP are so different that it is unthinkable.

There are scripts to move from cPanel to DirectAdmin though

I’ve started a BASH script that basically takes the files already available under the directories “backup” and “domains”, puts them nicely under one directory and tar-gzips it all. (the backup and domains directories come from untaring the User Backup created under DirectAdmin)

you then have to upload the resulting tar-gzip to the newly created cPanel account and untar-zip it. The file manager in cPanel does this with a click.

This script still has LOADS of problems, and if you’re unexperienced with the linux FS, permissions, etc… don’t come this way

What this does, however, is saving a lot of time if the accounts in question have many e-mails accounts (I did this because some of my clients had 100+ emails), and also takes care of the user files (public_html and everything else)

Resuming, this is what the script does:

- copy the quota file
- copy the IMAP folders and inbox folder of the main account
- copy the squirrelmail settings
for EACH e-mail account it does this:
- generate the entry and update the shadow and passwd file with its username and password (you keep everyone’s passwords!)
- copy the IMAP folders and inbox to the respective directory

to the domain files, it does this also:
- update references in every file (php, html, etc) by removing “domains/domain.net”
(ie /home/skyhorse/domains/skyhorse.org/public_html becomes /home/skyhorse/public_html)

This does not handle FTP settings, subdomain settings, dns settings, or anything else.
But hey, it saved me hundreds of hours of pain…

It is easily improved, so if you do, please send it back to me

BTW, the scripts assumes you’re using the SAME username in directadmin and in cpanel for each account, and the same domains as well.

It can also take a bit of hard disk space, since it literally duplicates the accounts files. If this is an issue, script around it to use the /tmp directory or even better, do some pipelining with tar

One last thing, although you see the CHMOD command being used, when untaring all files loose the damn permissions.
you NEED to change the permissions manually (inbox NEEDS to be group writable) or find a way to resolve the issue, which I couldn’t.

Here it is anyway, remember to replace the variables with your own settings:

# bash
# Copyleft (C) SkyHorse 2004
# for each account:
# put passwd as passwd + shadow
# quota (if != 0)
# into ~/etc/%domain%
GENDOMAIN=domain.com
GENUSERNAME=accuser
NEWACCPASS=accpass
MYFILESPATH=/home/skyhorse/temp_sites

mkdir result
mkdir result/mail
mkdir result/mail/$GENDOMAIN
mkdir result/etc
mkdir result/etc/$GENDOMAIN

cp $MYFILESPATH/$GENUSERNAME/backup/$GENDOMAIN/email/quota result/etc/quota
chmod 644 result/etc/quota

touch result/etc/shadow
chmod 640 result/etc/shadow

touch result/etc/passwd
chmod 644 result/etc/passwd

chmod 660 $MYFILESPATH/$GENUSERNAME/backup/email_data/imap/*
cp $MYFILESPATH/$GENUSERNAME/backup/email_data/imap/* result/mail
cp $MYFILESPATH/$GENUSERNAME/backup/email_data/pop/$GENUSERNAME result/mail/inbox
chmod 660 result/mail/inbox

mkdir result/.sqmaildata
cp $MYFILESPATH/$GENUSERNAME/backup/email_data/squirrelmail/* result/.sqmaildata

ENTRY=`cat $MYFILESPATH/$GENUSERNAME/backup/$GENDOMAIN/email/passwd`
for line in $ENTRY
do
login=`echo $line | sed s/[:].*//`
pass=`echo $line | sed s/.*[:]//`
mkdir result/mail/$GENDOMAIN/$login
mkdir result/mail/$login

echo $login:x:32120:622::/home/$GENUSERNAME/mail/$GENDOMAIN/$login:/usr/local/cpanel/bin/noshell >> result/etc/passwd
echo $login:$pass::::::: >> result/etc/shadow

chmod 750 result/mail/$GENDOMAIN/$login
cp $MYFILESPATH/$GENUSERNAME/backup/$GENDOMAIN/email/data/pop/$login result/mail/$GENDOMAIN/$login/inbox
chmod 660 result/mail/$GENDOMAIN/$login/inbox

cp $MYFILESPATH/$GENUSERNAME/backup/$GENDOMAIN/email/data/imap/$login/.mailboxlist result/mail/$GENDOMAIN/$login/
cp $MYFILESPATH/$GENUSERNAME/backup/$GENDOMAIN/email/data/imap/$login/mail/* result/mail/$GENDOMAIN/$login/

touch result/mail/$login/inbox
chmod 660 result/mail/$login/inbox
done

cp result/etc/* result/etc/$GENDOMAIN/

#domain files
cd domains/$GENDOMAIN
#update file references – this one liner deletes domains/domain.net in every file of the tree.
# efectively changes:
#/home/username/domains/domain.net/public_html into
#/home/username/public_html
find ./ -type f -exec sed -i ‘s/domains\/$GENDOMAIN\///’ {} \;

cp -R * ../../result
cd ../../result

tar –owner=$GENUSERNAME –group=$GENUSERNAME -czf ../$GENUSERNAME-$GENDOMAIN.tar.gz *
cd ..

#upload tar.gz
#I have ncftpput installed, but because most people don’t, I’ve commented it out
#ncftpput -u $GENUSERNAME -p $NEWACCPASS localhost / $GENUSERNAME-$GENDOMAIN.tar.gz

#database:

#mysql

#subdomains

#ftp

DeliciousFacebookTwitterLinkedInShare/Bookmark
Tags: cPanel, directadmin, Downloads, hosting, Programming, scripts, Web Design, WHM

Related posts:

  • The Definite Guide of Obscure Tweaks to Install and Maintain cPanel / WHM (version 10)
  • Server-side redirection (a.k.a. tunneling) with PHP
  • modsec.sh updated

Posted in Downloads, Programming, Web Design | No Comments »

« Previous Entries
Next Entries »
  • Tags

    advertising AI apple behavioural-targeting business Computing cPanel deep packet inspection Downloads DSP Games GNU/Linux google hacking hacking Hardware headphones hosting Ideas Instant Messaging iphone marketing online-advertising online media Personal Philosophy phorm poker Programming satire scripts Security sociology startups technology Travel ubuntu v-moda Visionarism web-2.0 web-marketing Web Design WHM wunderloop yahoo
  • Pages

    • About
    • Web Server Administration
      • Auto update modsecurity rules – modsec.sh
      • DirectAdmin to cPanel : a partial BASH solution
      • The Definite Guide of Obscure Tweaks to Install and Maintain cPanel / WHM (version 10)
        • Configuring E-mail (Exim) related areas
        • Fixing open DNS servers
        • Monitoring your server
        • Scripts and misc information
        • Security by Obscurity
        • Tweaking apache web server
  • Twitter Updates

    • Ads

    • RSS ExchangeWire.com

      • The PostView: The Last Hurrah For The Horizontal DR Ad Network 2 February, 2012
      • Brian Fitzpatrick, Europe MD, Adap.tv, Discusses The EMEA Offering, The Complexities Of The European Video Ad Market And The Rise Of RTB In The Video Channel 1 February, 2012
      • The Publisher Question: To RTB Or Not To RTB 31 January, 2012
    • RSS Lies, Damned Lies…

      • Building the Perfect Display Ad Performance Dashboard, Part II – metrics 20 December, 2011
      • Should Wikipedia accept advertising? 21 November, 2011
      • Building the Perfect Display Ad Performance Dashboard, Part I – creating a measurement framework 9 November, 2011
    • RSS iMedia Connection: Consumer Strategies

      • A consumer-driven mindset in a big media package
      • Learn to leverage the social-search connection
      • Your social media disaster kit
    • RSS Segmentacion por comportamiento

      • Post Videos from Your iPhone or iPad 3 February, 2012
      • New Themes: Currents and Debut 2 February, 2012
      • Import from Tumblr in 3 Easy Steps 2 February, 2012
    • RSS Sandlines

      • The Social Phone doesn’t come with an IVR menu 7 November, 2011
      • Are you ready for Big Data? 2 November, 2011
      • Sandlines @ Mediapro 29 October, 2011
    • RSS Adotas

      • Sponsormob Leads the Way Into RTB for Mobile 3 February, 2012
      • Video: Social Media Monitoring Comes to “The Future of Engagement” 3 February, 2012
      • Weird Study: Mobile Purchasing While in the Bathroom on the Rise 3 February, 2012
    • RSS NMA

      • Twitter's Enhanced Profiles are a precursor to major platform changes 3 February, 2012
      • Unilever sets up customer-insight panel to weather 'difficult' 2012 3 February, 2012
      • We Are Social appoints Skive’s Ollerton as marketing head 2 February, 2012
    • RSS Brand Republic

      • Hearst-Rodale harnesses Apple Newsstand to sample print launch 3 February, 2012
      • Out and About 3 February 3 February, 2012
      • Rugby's first interactive app launched for RBS Six Nations 3 February, 2012
    • RSS MarketingVox

      • Closing Bell: Komen reverse decision after social media onslaught | Google rejects EU request | Malware bouncer 3 February, 2012
      • More Retailers Like Staples Focus on Tablet Design 3 February, 2012
      • New Approachs to F-Commerce 3 February, 2012
    • RSS Behavioural Targeting news

      • Oryzon Nominates Bispecific LSD1/MAOB Inhibitor as Drug Candidate to Enter ... - San Francisco Chronicle (press release) 5 February, 2012
      • Why Context Is King in the Future of Digital Marketing - Mashable 3 February, 2012
      • Online behavioural targeting: Q&A - Telegraph.co.uk 1 February, 2012
      • Quidsi, Inc. Chooses SiteSpect to Optimize its Five Online Retail Sites with ... - MarketWatch (press release) 31 January, 2012
      • DS-IQ Integrates Intel® AIM Suite into Behavioral Targeting and Measurement ... - PR Newswire (press release) 31 January, 2012
    • Ads

    • Blogroll

      • 90kts
      • Acxiom Poker Nights
      • Amy’s blog
      • Bytter’s blog
      • Impare Arquitectura
      • Impare Design
      • morena flor no samba da saudade
      • Not Quite There Yet
      • Swedish Pirate Party
    • Cartoons

      • Geek & Poke
      • Order of the Stick
      • User Friendly
    • Gaming

      • Neverwinter Nights
    • online media

      • Knowledge for the Digital Economy
      • Mike on Ads
    • Personal

      • Banksy
      • Designarte
      • Made to measure shirts – Atelier de Camisa
      • My Amazon Wishlist
      • SkyServers.Org
    • Science

      • New Scientist
      • Rex Research
      • ScienceBox
      • Wired
    • Security

      • GPG4Win
      • GPGol
      • GPGShell
      • Mod Security
      • Offline Windows NT(2k,XP) Password Recovery
    • Web Design

      • PageStrength
      • SiteScore
      • UrlTrends
    • Akismet

      99,767 spam comments blocked by
      Akismet
    • Meta

      • Log in
      • Entries RSS
      • Comments RSS
      • WordPress.org

    © 2003 - 2011 Paulo Cunha | SkyHorse.Org is proudly powered by WordPress | Theme based on Bob