I need some help with this part
Now run the following command:
source /home/william/byond/bin/byondsetup
Because no one had cover this part of the shell server in the tutorial they posted
ID:187529
Nov 29 2004, 2:53 pm
|
|
Nov 29 2004, 3:17 pm
|
|
Like it says, you should run that command.
|
In response to Jon88
|
|
Jon88 wrote:
Like it says, you should run that command. How i am using putty can u tell me how? do i go to that directory and type "Make here"? |
In response to Govegtos
|
|
I did cover this:
Type: "source /home/william/byond/bin/byondsetup" Exactly like it said, and you need to edit your .bash_profile file in your root directory to call this command as well. You can see how to do that in the post I told you do this in last time. |
In response to Nadrew
|
|
...you need to edit your .bash_profile file in your root directory... small correction- that should probably say 'home' directory, ie: your user directory. |
In response to digitalmouse
|
|
Yeah -- that's what I meant, thanks for the correction.
|
In response to Nadrew
|
|
as an addedum: when i say 'home directory' i mean the place where your user account resides. on my servers and desktops it's called /home/digitalmouse - this is where the .bash profile that Nadz was referring to should be located.
|
In response to digitalmouse
|
|
digitalmouse wrote:
as an addedum: when i say 'home directory' i mean the place where your user account resides. on my servers and desktops it's called /home/digitalmouse - this is where the .bash profile that Nadz was referring to should be located. You said u need to edit your .bash_profile How? do i need to d it? |
In response to Govegtos
|
|
In response to Mike H
|
|
Not all systems are like that, I'd suggest the following:
cd ~ ls -a This will display a 'dir' like output (which is 'ls' anyways, dir -a will work too), make sure one of the files that 'make here' tells you to edit is there, then edit it as Mike suggested in his other post. It's usually .bash_profile, though. But there are situations where it's not. |
In response to Nadrew
|
|
Nadrew wrote:
Not all systems are like that, I'd suggest the following: Mike H wrote: Goz wrote: I do this in my shell account william@frostmud:~$ /usr/home/william/byond/bin/byond/setup >>~/.bash_profile -bash: /usr/home/william/byond/bin/byond/setup: No such file or directory william@frostmud:~$ /usr/home/william/byond/bin/byondsetup >>~/.bash_profile -bash: /usr/home/william/byond/bin/byondsetup: No such file or directory william@frostmud:~$ .bash_history byond .bash_profile byond_linux.zip .screenrc ts2_server_rc2_20201.tar.bz2.gz Bevis And Butt-Head.zip william@frostmud:~$ .bash_profile -bash: ./.bash_profile: Permission denied william@frostmud:~$ cd byond william@frostmud:~/byond$ .bash_profile -bash: .bash_profile: command not found william@frostmud:~/byond$ Nothing happens do i type.bash_profile |
In response to Govegtos
|
|
Can't you read instructions???
Go back to your home directory and type EXACTLY THIS: echo source /home/william/byond/bin/byondsetup >> .bash_profile No more, no less, EXACTLY that line. |
In response to Crispy
|
|
*if* you are using a version of Linux with a graphical interface, you can use one of its editors to just copy-n-paste the line into that file. or if you are using a text-based modern distro, check the documentation to see if an easy to use editor already installed, something like pico or nano.
Govegetos- I understand you want to run a host server for BYOND games, but frankly you seem to lack even the most basic skills and understanding in using Linux. The instructions we pass on to you are some of the most basic of skills needed to use the shell. You should take the time to learn the basics before you continue. For example, you can use your favorite file-sharing program and try to download available .pdf e-books like 'Teach Yourself Linux in 24 hours', 'Teach Yourself Shell Programming in 24 hours', 'Linux Basics' - focusing your reading on how to effectively use the shell. Alternatively, you can visit and read/study/practice tutorials from these sites: The Linux Terminal - A Beginner's BASH http://linux.org.mt/article/terminal Linux Shell Scripting Tutorial http://www.freeos.com/guides/lsst/ Bash Reference Manual http://www.network-theory.co.uk/docs/bashref/index.html Wanna Learn Linux? http://www.justlinux.com/ The 'Teach Yourself...' series can also be had at most bookstores and possibly even libraries now-a-days. Try these out for a few days or weeks. Hopefully you will have answers to your questions through the knowledge you gain. Paying particular attention to the instructions given in this thread, and your previous one helps too - though I can understand if some were cryptic to you. Improving your knowledge of how to get around in the shell will fix that. |
In response to digitalmouse
|
|
digitalmouse wrote:
*if* you are using a version of Linux with a graphical interface, you can use one of its editors to just copy-n-paste the line into that file. or if you are using a text-based modern distro, check the documentation to see if an easy to use editor already installed, something like pico or nano. Thank you all Now I have done this part how to i test my game Read what it says, it tells you exactly what to run. source /home/william/byond/bin/byondsetup cd / pico .bash_profile or pico .profile Depending on your system, do a ls -a to see if it's .bash_profile or just .profile. or will i have to figure it out by myself? 'pico' may not be your texteditor, ask your system administrator about editing textfiles through shell if the command comes up not found. In your text editor your need to add the following line: source /home/william/byond/bin/byondsetup |
In response to Nadrew
|
|
Nadrew wrote:
I did cover this: As i am Looking for a save and i cant find it when i type .pico bash_profile ^G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text^T To Spell Where is the save located? |
In response to Govegtos
|
|
Use the exit command and it'll ask you to save, but you need "pico .bash_profile" not "pico bash_profile" the period is important.
|
In response to Nadrew
|
|
Nadrew wrote:
Use the exit command and it'll ask you to save, but you need "pico .bash_profile" not "pico bash_profile" the period is important. When i push ^X it doesnt do anything G Get Help ^O WriteOut ^R Read File ^Y Prev Pg ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where is ^V Next Pg ^U UnCut Text^T To Spell So how can i exit out and save it? |
In response to Govegtos
|
|
The ^ in this context means the Ctrl key. So press Ctrl-X.
|
In response to Crispy
|
|
Crispy wrote:
The ^ in this context means the Ctrl key. So press Ctrl-X. or Ctrl-O (the letter, not the number) to "write-out" the text to the file (makes sense eh?). *then* you can follow Ctrl-X to exit the editor. really Gov, all of this is in the manual for using Pico on their website. :) |