Tuesday, August 12, 2014

Configuring a fresh Ubuntu for Group-Office development

Unfortunately my Asus Zenbook Prime's SSD drive failed so I had to install a fresh system for Group-Office development (twice...). I thought it would be useful to post my steps right after a fresh Ubuntu 14.04 installation:
  1. Install java for netbeans
     $ sudo add-apt-repository ppa:webupd8team/java
     $ sudo apt-get update
     $ sudo apt-get install oracle-java7-installer
    
  2. Install Netbeans from site.
     $ sh ~/Downloads/netbeans-8.0-linux.sh
    
  3. Install Group-Office
     $ sudo echo -e "\n## Group-Office repository\ndeb \
    http://repos.groupoffice.eu/ fivezero main" | sudo tee -a /etc/apt/sources.list
    $ gpg --keyserver hkp://keyserver.ubuntu.com:11371 --recv-keys 01F1AE44 $ gpg --export --armor 01F1AE44 | sudo apt-key add - $ sudo apt-get update $ sudo apt-get install groupoffice-com
  4. Install subversion
     $ sudo apt-get install subversion
    
  5. Own the /var/www directory
     $ sudo chown -R mschering:mschering /var/www
    
  6. Checkout groupoffice repository
     $ svn co svn+ssh://mscheering@svn.code.sf.net/p/group-office/code/branches/groupoffice-6.0
    
  7. Launch Netbeans and open the Group-Office project and start coding.
  8. Install Firebug add-on in Firefox
  9. Install Dark look and feel plugin for Netbeans. I prefer a dark screen when staring at it for 8 hours a day ;)
  10. Install phpmyadmin
    $ sudo apt-get install phpmyadmin
    
    DANGER Set auto root login in /etc/phpmyadmin/config.php
        $cfg['Servers'][$i]['auth_type']    = 'config';
        $cfg['Servers'][$i]['user']         = 'root';  
        $cfg['Servers'][$i]['password']         = '';
    
    Enable:
        $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
    
  11. Disable local sending in SSH to get rid of warnings that locale is not found on remote server. Cange /etc/ssh/ssh_config:
    #    SendEnv LANG LC_*
    
  12. Install shutter for taking screenshots
    $ sudo apt-get install shutter
    

Some extra stuff for fun

  1. Install Variety for automatic wallpapers
     $ sudo add-apt-repository ppa:peterlevi/ppa
     $ sudo apt-get update
     $ sudo apt-get install variety
    
  2. Install Weather indicator
     $ sudo add-apt-repository ppa:atareao/atareao
     $ sudo apt-get update
     $ sudo apt-get install my-weather-indicator
    
  3. Mount WebDAV
     $ sudo apt-get install davfs2
    
    To enable webdav for non root users:
     $ sudo dpkg-reconfigure davfs2
    
     $ sudo vi /etc/fstab
    
    Add the line:
     https://intermesh.group-office.com/webdav/ /home/mschering/Group-Office davfs rw,user,noauto 0 0
    
    Add your user to the davfs2 group
     $ sudo adduser mschering davfs2
    
    Refresh your group membership without logging out:
     $ exec su -l mschering
    
    Create secrets file because it fails without:
     $ touch .davfs2/secrets
     $ chmod 600 .davfs2/secrets
    
    Create local dir:
     $ mkdir ~/Group-Office
     $ mount ~/Group-Office
    
  4. Install Skype I downloaded and installed Skype from their website which works fine except for the indicator icon. I had to install this package:
     $ sudo apt-get install sni-qt:i386
    

29 comments:

  1. I think I like WordPress over Ubuntu just because the ease of the that the WordPress platform has.

    ReplyDelete
  2. MovieBox For iPhone 7s/6s plus is the app for all the Apple phone users. Movie Box App allows you to watch any video or movie without any disturbance. Whether you are a fan of suspense, thriller or comedy, this app offers you movies and videos of cartoon HD For Windows 10 All this can be enjoyed free of cost.Cartoon HD For Blackberry is not just a movies application, but it's also an excellent service for the people who love to enjoy their time with the

    ReplyDelete
  3. Ubuntu 14.04 LTS has been released on April 17th 2014, thus this Long Term Support (LTS) version is brand new. So why am I already telling you not to use it?

    Well, there are a couple of reasons, so read on!

    TL,DR: Or what distribution should I use?

    Update (2016-04-20): Finally found the time to add updates from comments. Updates from 2015-10-05 were written at that time but are only published now.

    Update (2015-10-05): Current personal recommendations:

    Want support? Get RHEL 7. Can’t afford? Get CentOS 7;
    Server, cloud instance: RHEL / CentOS 7 or Debian 8;
    Desktop: RHEL / CentOS 7, Fedora, Arch Linux, or Debian 8;
    Want to run the latest and greatest in a Cloud? Try CoreOS or Project Atomic;
    Have a specific project requiring a lot of control? Try Gentoo, NixOS.

    ReplyDelete
  4. VERY INFORMATIVE BLOG. KEEP SHARING SUCH A GOOD ARTICLES.
    Best Software company in New jersey, USA

    ReplyDelete
  5. | Austere Technologies
    REALLY VERY EXCELLENT INFORMATION. I AM VERY GLAD TO SEE YOUR BLOG FOR THIS INFORMATION. THANKS FOR SHARING. KEEP UPDATING

    ReplyDelete
  6. Very good informative article. Thanks for sharing such nice article, keep on up dating such good articles.

    Best Cloud Solutions | Austere Technologies

    ReplyDelete
  7. Great article, really very helpful content you made. Thank you, keep sharing.
    Quality Managment Services | Austere Technologies

    ReplyDelete
  8. Mobility
    Very good informative article. Thanks for sharing such nice article, keep on up dating such good articles.

    ReplyDelete
  9. Very good informative article. Thanks for sharing such nice article, keep on up dating such good articles.

    Internet Of Things(‭IOT) Services | Austere Technologies

    ReplyDelete
  10. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article.

    MULESOFT TRAINING

    ReplyDelete
  11. This comment has been removed by a blog administrator.

    ReplyDelete
  12. Ubuntu is a free and open source operating system and Linux distribution based on Debian. Ubuntu is offered in three official editions...

    ReplyDelete
  13. Excellent information you made in this blog, very helpful information. Thanks for sharing.
    Best Commerce College| Avinash college of commerce

    ReplyDelete
  14. Great article, really very helpful content you made. Thank you, keep sharing.

    Best Software Testing Services | Austere Technology

    ReplyDelete
  15. • Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating mulesoft Online Training Hyderabad

    ReplyDelete
  16. It's A Great Pleasure reading your Article, learned a lot of new things, we have to keep on updating it Learn Tibco Online Thanks for posting.

    ReplyDelete
  17. Great article, really very helpful content you made. Thank you, keep sharing.

    Best junior college in Hyderabad | Avinash College of commerce

    ReplyDelete
  18. Hi Thanks for the nice information its very useful to read your blog. We provide Software Development Services

    ReplyDelete
  19. Really great blog, it's very helpful and has great knowledgeable information.

    Best Blockchain services | Massil Technologies

    ReplyDelete