LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2012, 07:33 PM   #1
craig6398
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Rep: Reputation: Disabled
Creating a repository on my website for submitted applications


Hi,

I'm in the processes of building a website, a part of which is for users to submit their own applications.

After using Ubuntu for a few weeks now I wouldn't like to restrict my site to only Windows users.

Site users will be uploading their own applications and I'd love for the app upload/download section to be as Linux friendly as possible. I don't know all the flavors involved and could do with some pointers on that.

I have Googled without much luck. I'd like to create my own repository for apps uploaded, is their a standard to follow? Any links?

Also PPA and RPM packages, I really want to make the site as accessible as possible so converting packages once uploaded would be ok.

I'm looking for some pointers, hints, best practices info etc for hosting Linux software as I don't have a clue yet :-)

Thanks Craig
 
Old 02-14-2012, 12:34 AM   #2
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Jessie
Posts: 715

Rep: Reputation: 72
Quote:
Originally Posted by craig6398 View Post
I'd love for the app upload/download section to be as Linux friendly as possible.
Linux users can view websites fine. Just make a website with the links for people to download the stuff, along with some description of each software item. Linux people usually don't like overly fancy shmancy stuff, so make it simple. Make it HTML4, possibly with CSS, but no Javascript. Screenshots are usually very welcome. Test the site with the Lynx browser to make sure it's uber-nerd-kosher. That should be all.
 
Old 02-14-2012, 03:34 AM   #3
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by craig6398 View Post
I have Googled without much luck. I'd like to create my own repository for apps uploaded, is their a standard to follow? Any links?
Yes there are standards to follow but many distros will work with a basic repository. If you want to follow the correct standards for Debian type systems (Ubuntu, Mint, etc) structure the repository like Debian structures theirs. If you want a repo for RedHat/Fedora type systems structure like they do. We could write a tutorial for you on the structure but there are tons already available on the net anyway. Googling "how to build a Debian Repository" or "how to build a RedHat Repository" should land you plenty of sites with up to date tutorials.

Quote:
Originally Posted by craig6398 View Post
Also PPA and RPM packages, I really want to make the site as accessible as possible so converting packages once uploaded would be ok.
PPA isn't a package type it is a Personal Package Archive (in short its a mini repository), usually but not always hosted on Launchpad for Ubuntu systems. RPM is just RedHat Package Management and if you follow my suggestion above you should be fine there.

I would NOT allow anyone to just upload packages to a repository as it is against the security ideals of the repository system. A repository should only be for trusted uploaders and packages. Understand if you are hosting and something goes wrong and can be traced back to your hosting you are liable, in some jurisdictions, for damages. The whole repository idea, and it is brilliant, has been successful because of careful control of the system. Unlike Windows, where you can download anything and everything from any source and this can cause malware to get in, Linux has careful controls over who can do what to repositories. If you want people to take your repository seriously you need to be very security minded.
 
1 members found this post helpful.
Old 02-15-2012, 04:39 PM   #4
craig6398
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you both for the replies this gives me a good place to start.

Cheers

Craig
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell for creating repository ramjgn Programming 3 03-25-2009 08:16 AM
Creating YUM Repository Charles_In_Charge Linux - Newbie 6 09-07-2006 07:02 PM
Creating a package repository Thakowbbery SUSE / openSUSE 0 10-13-2005 09:40 AM
Creating A Yum Repository SepitvaOra Linux - Newbie 1 04-04-2005 07:54 AM
java applications repository dukeinlondon Linux - Software 3 12-25-2004 12:14 PM


All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration