WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [remaster] (tinycorelinux) customisation problems  (Read 5335 times)

Offline mrgreaper

  • Newbie
  • *
  • Posts: 4
[remaster] (tinycorelinux) customisation problems
« on: February 16, 2011, 08:16:48 PM »
ok im using mine os ([remaster]/index.html) which uses tinycorelinux and i need to change some things but not sure how
it uses webui on port 8080 (i need to hange that to port 4980)
it uses lighthttp on port 80 for displaying a folder full of snapshots (i need to change that to port 4981)
it uses port 22 for putty into and winscp into (a secure ftp but not ftp) i need to change that to 4922

i want to also install mysql on to /mnt/sda1/database/ but the only way i can install mysql is to do ab mysql.tcz then pressing q then i and it installs ...no customisation displays

its all terminal based
i know how to use sudo
i know how to use vi
oh and its in virtual box
can i even do what i need to do?

****edit****
after several hours of blindly looking i found /usr/local/etc/ssh/ssh_config
i sudo vi it
changed port from 22 to 4922

i added 4922 to the iptables (the same as the 22 line)
i commited it (i [remaster] you have to sudo filetools.sh -b)
rebooted it
i can still connect to it via putty and winscp on port 22 and not on port 4922

arghhhhhhhh i give up for tonight
« Last Edit: February 16, 2011, 09:44:35 PM by mrgreaper »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: [remaster] (tinycorelinux) customisation problems
« Reply #1 on: February 17, 2011, 04:13:01 AM »
Please discuss remasters on their own sites.
The only barriers that can stop you are the ones you create yourself.

Offline mrgreaper

  • Newbie
  • *
  • Posts: 4
Re: [remaster] (tinycorelinux) customisation problems
« Reply #2 on: February 17, 2011, 08:30:17 AM »
Please discuss remasters on their own sites.

ive tried [remaster]/community/viewtopic.php?f=4&t=98 in regards to custom ports i get no replys, i have serached the site and only reference to custom ports is "Only the default ports are listed here, as allowing custom ports is abuseable to have on a simple page as this. If you are using custom ports, you should be able to figure out how to test it, as well."

as for mysql, since it uses 26 or 27 mb of ram and the distro only uses 51 megs he refuses to add it (fair enough i guess but frustrating when for antigriefing you need mysql)

from the main page
"This is a Linux distribution forking off the tinycorelinux.com project 'microcore', aimed at creating the smallest possible minecraft server retaining all minecraft customizability and functionality while increasing usability."

before posting here i googled everything i could think of, i learned a fair bit but couldnt find the solution

i even extracted the iso and looked in every file that looked relevent (and a fair few that didnt)

when i got to a stage where i thought i could no longer find anything i posted

i didnt just sit and wait for a reply i carried on looking and discovered /usr/local/etc/ssh/ssh_config (how i missed it for so long i have no idea) my heart filled with joy
i edited it
i edited iptables
i commited it
i restarted the server
it made no change what so ever
i looked in it again and it still showed my changed port

im assuming things like mysql, and changing ports will be the same no matter what version of tinycore im using thats why im asking (well frankly begging) for help

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: [remaster] (tinycorelinux) customisation problems
« Reply #3 on: February 17, 2011, 09:05:09 AM »
Here is what to do:

Install Tiny Core or Microcore.

Try to do what you are trying to do with it.

Whatever you can't do, ask questions?

The team is not happy if you discuss remasters.

However, you can discuss Tiny Core or Microcore.
Many people see what is. Some people see what can be, and make a difference.

Offline mrgreaper

  • Newbie
  • *
  • Posts: 4
Re: [remaster] (tinycorelinux) customisation problems
« Reply #4 on: February 17, 2011, 09:10:10 AM »
Here is what to do:

Install Tiny Core or Microcore.

Try to do what you are trying to do with it.

Whatever you can't do, ask questions?

The team is not happy if you discuss remasters.

However, you can discuss Tiny Core or Microcore.

well if some one could tell me how they would change port 22 port 8080 and port 80 in microcore i can try that in this, if it dont work it dont work if it does then im exceedingly happy

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [remaster] (tinycorelinux) customisation problems
« Reply #5 on: February 17, 2011, 09:21:41 AM »
If you have questions specific to extensions, you should rather post them to the TCE Q&A Forum subforum.

First of all though you should consult basic documentation of extensions in question.

e.g. a most simple
Code: [Select]
dropbear --helpwould reveal
Quote
-p [address:]port
                Listen on specified tcp port (and optionally address),
                up to 10 can be specified
                (default port is 22 if none specified)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: [remaster] (tinycorelinux) customisation problems
« Reply #6 on: February 17, 2011, 11:05:37 AM »
Why don't you go back to the source? Take Micro Core and put together the system you need yourself. This is why MC/TC do exist. For sure you will get help here, and you will learn a lot. Also it is a fun :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline mrgreaper

  • Newbie
  • *
  • Posts: 4
Re: [remaster] (tinycorelinux) customisation problems
« Reply #7 on: February 17, 2011, 11:17:13 AM »
creating my own os from scratch is way way way out of my abilities.
the [remaster] has some nifty functions the creator has added that are unique (he has created a really good os, despite the lack of mysql and aperant desire to just ignore the custom port question)

I think i just have to face facts i am stuck with the ports the [remaster] uses untill the creator tells me exactly where they are specified


i tried dropbear --help , it dont exist (but dropbear is one of the things i found when looking for solutions so its good to see i was on a semi right track lol)

i tried ssh --help and got the comands so i can see how to start it with a port specified...hmmm maybe i can make a cronjob to end task on ssh then start it using a custom command every hour (an idea! quick to the google mobile!)

the replys are appreciated even if they dont lead to a solution they lead to new ideas lol

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: [remaster] (tinycorelinux) customisation problems
« Reply #8 on: February 17, 2011, 11:48:55 AM »
creating my own os from scratch is way way way out of my abilities.


Creating your own OS from scratch would be hard agree. But is is not the case with Micro Core. Anyhow, it was just an advice. As Chinese say, "Better to learn how to use Micro Core and be able to do what you want than just to sit and wait for someone doing it for you (or not)"  ;)
« Last Edit: February 17, 2011, 11:50:36 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: [remaster] (tinycorelinux) customisation problems
« Reply #9 on: February 17, 2011, 06:07:21 PM »
Locked.. see rules and guidelines for more info (especially on licenses and remasters).