LinuxQuestions.org
Visit Jeremy's Blog.
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 11-24-2010, 02:55 PM   #1
addic
Member
 
Registered: Nov 2010
Posts: 33

Rep: Reputation: 0
ISO Compiler for windows or linux


I'm looking to create a server (probably LAMP) i need all my programs to install at one time. SOME of my programs are not in the repos and all of them aren't .deb. Some of them are .rpm. I also can't guarentee internet connection, at least not during install, so no apt-get.

on a note about the internet i'll probably be getting clear internet. I also plan to connect to the server from my phone and other computers. I know the server needs a static ip but what other configuration does it (should it) need.
 
Old 11-24-2010, 04:05 PM   #2
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 431

Rep: Reputation: 33
Quote:
I'm looking to create a server (probably LAMP) i need all my programs to install at one time.
What programs, do you mean like Apache, MySQL, PHP, etc... I don't know what you mean by you need to install them at one time.

Quote:
SOME of my programs are not in the repos and all of them aren't .deb. Some of them are .rpm. I also can't guarentee internet connection, at least not during install, so no apt-get.
What distro are you using? Note that distros like Redhat or Debian can me a real pain when installing things with no internet connection since they break up packages into a bunch of smaller packages. I guess what I would tell you is to download all of your dependencies and other software ahead of time, and install them with your package manager, if it is available (eg, .deb).

Quote:
on a note about the internet i'll probably be getting clear internet.
Not sure what you mean.

Quote:
I also plan to connect to the server from my phone and other computers. I know the server needs a static ip but what other configuration does it (should it) need.
You will need to forward whatever ports you need from your router, for example, forward port 80 (http) to your server. How are you planning on connecting to your computer from your phone (ftp?, http?, ssh?). If ssh for example, you will also want to install OpenSSH or another SSH server software on your server.
 
Old 11-24-2010, 05:01 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
I'm also a little confused by this

Quote:
Originally Posted by addic View Post
ISO Compiler for windows or linux
the title doesn't seem to relate to the content; what are these ISOs (or, do you mean a C compiler compliant with an ISO standard) and why would you want it for windows or linux? And why wouldn't you know which? Please tell me that you were thinking about something else and the title is just wrong for this thread.

Quote:
Originally Posted by addic View Post
I'm looking to create a server (probably LAMP)
So you need a server, but aren't sure what it should do (or are you, and are unsure whether a lamp stack will give you that, whatever it is?).

Quote:
SOME of my programs are not in the repos
All of them must be in some repo or another, mustn't they? Or do you mean, for some specific distro (which) you can only find some of the programs in repos? If so, which are missing?

Quote:
and all of them aren't .deb.
So, you are using a debian-derived distro?

Quote:
Some of them are .rpm.
You could possibly convert them, but it would almost certainly be a bad idea. They probably are available as debs, somewhere, but how appropriate that is is unknown without more information. And this might all be unnecessary, if you will explain what you are doing.

Quote:
I also can't guarentee internet connection, at least not during install, so no apt-get.
So you couldn't install while your internet connection is good? Doesn't speak well for the possibilities of your LAMP server being accessed by anyone on the internet, if that's what you want.

Quote:
I also plan to connect to the server from my phone and other computers.
Nice plan, but you are going to have to be clearer about this if you want comments on security, or even the practicality of what you are trying to do.

Quote:
I know the server needs a static ip but what other configuration does it (should it) need.
At this point, this is a bit like saying that you plan a system of transport, can you have a list of the nuts and bolts required. Maybe when we are a bit better informed...
 
Old 11-25-2010, 12:25 AM   #4
Ehtetur
Member
 
Registered: Mar 2008
Location: Atlanta, GA
Distribution: Red Hat Enterprise Linux
Posts: 52

Rep: Reputation: 16
lewisforlife got you on the right track with installing Apache, MySQL, PHP...
Besides that, you'll want SSH to connect [securely] from a phone or PC... Poof! LAMP server.

Anything besides that depends on what services you want.

I can't think of any daemons that do not already have Debian-specific installation packages. Since you can't mix RPM and DEB packages during server installation, wait until installation is done and then have at the RPMs with alien.
 
Old 11-25-2010, 02:00 AM   #5
addic
Member
 
Registered: Nov 2010
Posts: 33

Original Poster
Rep: Reputation: 0
Ok so I guess I'll go in order:

1. ISO compiler - a program where I can asemble say the server kernel, the gui etc.
2. When I say I need to install everything I am refering to additional programs not included with ubunter server on its own (such kde gui).
3. Using ubuntu so its a debian distro...but I had some programs pre downloaded such as the icecast server software I want them in there. However thanks because I forgot about that little fact (packs being broken into smaller packs) but that. Rings up another issue because they need to be installed in a certain order right?
4. Clear is a wireless 4g internet service provider. The question is/was will it work with or against linux. Has anyone tried it before.
5 I forgot to mention for the most part I'll be using remote desktop via the rpc protocol usually pre-built into win/mac and I guess linux too so I need to config for that to work...as far as the phone I need to see what software is out for that though I did consider ssh for the phone.

@salasi

6. Refer to "1" with the addition of I want to do the compiling in either...meaning if I happen to be on a win comp when I start downloading stuff I want to be able to compile at that same computer if I choose to. (Ps. Thank you for trying to insult my intelligence) if this makes it any clearer a custom disk or custom image
7. I am not sure specifally about lamp this is true...but I don't want to start with a completely blank slate. At least with this I can build the site and add all the little stuff like a radio server or mail server to go with it, if I explained that correctly. Good observation though I hadn't REALLY asked my self that...somethi to think about.
8. Some of my pre-downloads like icecast and "dark"...somethin wasn't in the repo and those might not be upto date since I downloaded them.
9. Refer to "3"
10. Cool no converting (honestly I wouldn't have tried it anyway, conversions never go well on the win side)
11. Where I live now doesn't have internet at all (its an old persons house...er was anyway) and I may not have it for at least a few months so I can't count on being at someone's how's spending at least 3 hours finding dl-ing anf compiling ya'know. By the time the server is ready for testing though I'll have the webs.
12/13 other than 80 and 21 I plan to connect to my server. From my phone I'm not sure but, other laptops it'll be remote desktop and its associated protocol...you may ask why not vnc...cuz if it doesn't happen to be mine them I'm not dl-ing it. With the previous info in mind what setting are usually used to give access over port 80, 21, and these protocols etc etc..not to worried about security yet but if you have tips on that then awesome...

If you can tell me there is a way to install a program on to the server but, the download file is on the computer I am using rdc to connect to it. Computer w/ program using rdc ===> server

Sorry for not being clearer hope this helped...alot
 
Old 11-25-2010, 06:42 AM   #6
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Rep: Reputation: 27
Have a look at remastersys. It'll let you create an installable version of your current Ubuntu setup. You could do a fresh install of Ubuntu and then setup your server on it, once its all setup you could use remastersys to generate an installable iso image which you can use for deployment.

http://www.remastersys.com
 
Old 11-25-2010, 07:17 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Just a site note: If I understand you right, you want to build a server that is accessable from the internet. Be aware that you need a good knowledge of maintaining and configuring servers to do that, without being compromised and possibly sued for things that others do on your server, because of misconfiguration or lack of knowledge. No offense meant, just be sure what you do before going to the internet with your server.
 
Old 11-25-2010, 07:18 AM   #8
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by addic View Post
1. ISO compiler - a program where I can asemble say the server kernel, the gui etc.
Disk burning programs generally have an option to 'write as an ISO' (actual terminology varies between programs), it seems that is what you want.

Quote:
2. When I say I need to install everything I am refering to additional programs not included with ubunter server on its own (such kde gui).
Easy enough with a network connection, more difficult without. it may be easier to start with an ordinary '...with kde...' desktop disk (that'll be kubuntu, rather than ubuntu, in the odd ubuntu terminology) and to install the server kernel.

Note that GUIs, generally, are considered as bad things to have on an internet facing box
  • they are big programs and inevitably have bugs, some of which have security implications
  • adding 'unnecessary' big programs may well increase the probability of a dos/ddos attack taking effect
that said, it may be possible to manage the problem down to an acceptable level of risk, in some circumstances.

Quote:
3. Using ubuntu so its a debian distro...but I had some programs pre downloaded such as the icecast server software I want them in there. However thanks because I forgot about that little fact (packs being broken into smaller packs) but that. Rings up another issue because they need to be installed in a certain order right?
If you can use the in-built facilities for downloading and installing stuff (synaptic, apt-get and others), that will do the work for you to sort out dependencies. If you can't, you'll have to sort it out for yourself, which could be harder work.

Quote:
4. Clear is a wireless 4g internet service provider. The question is/was will it work with or against linux. Has anyone tried it before.
Sorry, never heard of them, but they don't seem to have much presecence internationally.

5 I forgot to mention for the most part I'll be using remote desktop via the rpc protocol usually pre-built into win/mac and I guess linux too so I need to config for that to work...as far as the phone I need to see what software is out for that though I did consider ssh for the phone.

@salasi

Quote:
6. Refer to "1" with the addition of I want to do the compiling in either...meaning if I happen to be on a win comp when I start downloading stuff I want to be able to compile at that same computer if I choose to. (Ps. Thank you for trying to insult my intelligence) if this makes it any clearer a custom disk or custom image
Your original post was so ambiguous as to be nearly impossible to understand. Sorry if my frustration showed.

Quote:
7. I am not sure specifally about lamp this is true...but I don't want to start with a completely blank slate. At least with this I can build the site and add all the little stuff like a radio server or mail server to go with it, if I explained that correctly. Good observation though I hadn't REALLY asked my self that...somethi to think about.
If you can get the lamp applications that you need from repos (the applications and versions, bearing in mind that older versions will have known security issues) then that is probably the way to go. Second best is to get a pre-packaged stack (there are security implications of that route...having overridden the package management system to get this, you might
  • break stuff
  • not get informed of updates 'automagically', so have to come up with a work-around for this


Quote:
8. Some of my pre-downloads like icecast and "dark"...somethin wasn't in the repo and those might not be upto date since I downloaded them.
know nothing about 'dark' but icecast should be in repos (don't have a 'buntu handy, but it is for some other distros...if you don't have it avaiilable, the likeliest explanation is that you don't have an appropriate repo enabled.

Quote:
10. Cool no converting (honestly I wouldn't have tried it anyway, conversions never go well on the win side)
Good, there is almost certainly a better way in everything but exceptional cases.
.
Quote:
12/13 other than 80 and 21
ports, presumably

Quote:
I plan to connect to my server. From my phone I'm not sure but, other laptops it'll be remote desktop and its associated protocol...you may ask why not vnc...cuz if it doesn't happen to be mine them I'm not dl-ing it. With the previous info in mind what setting are usually used to give access over port 80, 21, and these protocols etc etc..not to worried about security yet but if you have tips on that then awesome...
From a security point of view, read this (ssh). Everyone with a box exposed to the internet gets some break in attempts. You may not like it. It might even make you screaming mad, but its a fact of life and you have to take measures to ensure that you are safe in spite of these (casual) attempts at cracking. It may be a matter of choice which of several workable approaches you take, but ignoring the problem and hoping that it will never happen is just burying your head in the sand.
 
Old 11-26-2010, 12:35 AM   #9
addic
Member
 
Registered: Nov 2010
Posts: 33

Original Poster
Rep: Reputation: 0
Unfortunately thanks to windows and mac I can't really function without a gui. I am told there is a program that creates a gui on a computer connecting to the server but not on the server its self. Have you heard of this and would that be a better option than security wise?

Also what's ddos...I only heard of dos....I can figure out what the extra d is for.
 
Old 11-26-2010, 12:35 AM   #10
addic
Member
 
Registered: Nov 2010
Posts: 33

Original Poster
Rep: Reputation: 0
Unfortunately thanks to windows and mac I can't really function without a gui. I am told there is a program that creates a gui on a computer connecting to the server but not on the server its self. Have you heard of this and would that be a better option than security wise?

Also what's ddos...I only heard of dos....I can figure out what the extra d is for.
 
Old 11-26-2010, 01:31 AM   #11
Ehtetur
Member
 
Registered: Mar 2008
Location: Atlanta, GA
Distribution: Red Hat Enterprise Linux
Posts: 52

Rep: Reputation: 16
Quote:
Originally Posted by addic View Post
Unfortunately thanks to windows and mac I can't really function without a gui. I am told there is a program that creates a gui on a computer connecting to the server but not on the server its self. Have you heard of this and would that be a better option than security wise?
You can connect with ssh -X and then launch GUI apps from the remote system.

Quote:
Also what's ddos...I only heard of dos....I can figure out what the extra d is for.
salasi was referring to denial of service (dos) and distributed denial of service attacks (ddos).

more info here.
 
Old 11-27-2010, 07:47 AM   #12
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by addic View Post
Unfortunately thanks to windows and mac I can't really function without a gui. I am told there is a program that creates a gui on a computer connecting to the server but not on the server its self. Have you heard of this and would that be a better option than security wise?
The OP probably means something like webmin, although ssh probably does meet the requirements, too (although, the current situation may be that the bandwidth limitation makes exporting the display may be unrealistic...maybe -C would help enough, hard to tell).

If you are determined to avoid the command line, that will make things more difficult for you to work securely or effectively, in some cases. Probably not completely impossible, but more difficult.
 
  


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
fortran compiler that can compile progs on a linux machine, but execute on windows XP pbeierle Linux - Software 3 01-07-2010 04:04 PM
gcc c cross compiler to create linux executables on a windows system Wanda Tinasky Programming 1 02-25-2007 10:36 AM
windows to linux cross-compiler back2morrie Linux - General 8 07-13-2005 04:15 AM
compiler in windows for Linux ???? DTKG Programming 1 05-05-2005 07:27 PM
c compiler windows/linux Jalalabee Programming 2 01-08-2004 02:18 PM


All times are GMT -5. The time now is 02:59 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