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
    

45 comments:

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

    ReplyDelete
  2. 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
  3. This comment has been removed by the author.

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

    ReplyDelete
  5. Dr. Srinivas Kasha is the best orthopedic doctor in Hyderabad. He is the best orthopedic surgeon with over 15+ years of experience.

    ReplyDelete
  6. Westin College is the best Hotel Management College in Hyderabad & Vijayawada

    best hotel management college in hyderabad

    ReplyDelete
  7. Dr. Deepthi Kondagari is the Best endocrinologist in Hyderabad and Dr. Dheeraj Kondagari is Expertise in Rheumatology

    ReplyDelete
  8. Gatik Junior College is the best intermediate college in Hyderabad. Offering courses like MEC, CEC, & MPC, And Law coaching, CLAT coaching, CA foundation Training.

    ReplyDelete
  9. Dantam clinic is one of the best dental clinic in Hyderabad promises to deliver quality dental care treatment in Gachibowli, Somajiguda, Chintal in Hyderabad, India with a team of India’s best dentists

    ReplyDelete
  10. Laser Piles India is best hospital for Piles treatment in Hyderabad with best doctors for laser piles treatment in Hyderabad. Also, Book appointment with best hospital for fissures and fistula treatment in Banjara Hills, Hyderabad.

    ReplyDelete
  11. canon printer is in error state status shows that there might be an issue with printer itself. Ensure printer is turned on and associated with PC.

    ReplyDelete
  12. Really very happy to say that your post is very interesting. I never stop myself to say something about it. You did a great job. Keep it up.DevOps Training in Bangalore

    DevOps Training

    DevOps Online Training


    DevOps Training in Hyderabad

    DevOps Online Training in Chennai

    DevOps Training in Coimbatore

    ReplyDelete
  13. Really very happy to say that your post is very interesting. I never stop myself to say something about it. You did a great job. Keep it up.
    We have an excellent IT courses training institute in Hyderabad. We are offering a number of courses that are very trendy in the IT industry. For further information, please once go through our site.
    Data Science Training In Bangalore

    Data Science Training

    Data Science Online Training

    Data Science Training In Hyderabad

    Data Science Training In Chennai

    Data Science Training In Coimbatore

    ReplyDelete
  14. Thanks for sharing this information

    Online Training | Classroom | Virtual Classes
    Python Training in Hyderabad with 100% placement assistance
    1860 testers placed in 600 companies in last 8 years
    Real time expert trainers
    Indutry oriented training with corporate casestudies
    Free Aptitude classes & Mock interviews
    ENROLL FOR FREE DEMO!

    ReplyDelete
  15. Hello Friends, Are you Comics lover and you do not find best Comics online? Are you trubble to find how can download free latest movies? Don't worry Allaccessing is best platform for proxy where you get solution for social media, emails, entertainment and more visit here as you want according your need:

    Manga Stream App

    Animeultima

    AnimeUltima.tv

    MangaStream alternatives

    Kisscartoon's real website

    Kisscartoon for tv Shows

    Compuserve email login

    Tamilrockers

    Compuserve webmail login

    ReplyDelete
  16. Are the worst of all and the blood's run stale kitchen cabinets santa fe nm

    ReplyDelete
  17. Learning to program can be difficult, and students may require programming assistance. Many websites provide programming assignment help, and these websites provide useful tips and tactics to help students learn programming quickly. Students should begin with the fundamentals and work their way up while honing their skills. This will aid in the development of a strong core and the instillation of confidence in kids. Students can get assistance from programming assignment help websites if they are stuck with any online programming help. In exchange for their services, these programming help websites demand a fee.

    ReplyDelete
  18. Tableau training institute in Hyderabad can be a ticket to your fortunate tableau career. Dashboards, tableau desktop, Tableau online, charts ,and many other key features of tableau this is best for you have interest visit my website link http://tableautrainings.in/

    ReplyDelete
  19. Avast SecureLine VPN software is a robust virtual point network that provides you with complete anonymity which surfing the internet. Avast Vpn License

    ReplyDelete
  20. Download WriteMapper + Keygen Serial Crack. Tamanho: 80.7 MB. O número de downloads: 5729. Geralmente associada a sessões de brainstorming, .WriteMapper Crack


    ReplyDelete
  21. It is a beautiful knowledge gained from this post. I really enjoyed surfing your blog; it's much to learn from your great post. Really it is an amazing article. Thank you so much for sharing. bells university top-up degree admission form

    ReplyDelete