vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   does anyone own linux? (https://vborg.vbsupport.ru/showthread.php?t=207127)

bamfonk 03-02-2009 06:38 PM

does anyone own linux?
 
well i have a vb mod and it has a .sh file that needs to be compiled and the command that i need to type is a linux command only and i dont have linux and i was wondering if someone could help me out with this at all?

Lynne 03-02-2009 06:40 PM

google?

bamfonk 03-02-2009 06:41 PM

lynne i been on google all day trying to figure this out lol ....

snakes1100 03-02-2009 06:48 PM

ssh into server.

if you know the path of the file and its name, you can either cd to that dir or run it form the current location that you logged in at, the script also needs +x or you can simply 755 it in ftp.

cd /path/to/file
./filename.sh
press the return (enter) key.

or

/path/to/file/filename.sh
chmod +x filename.sh
press the return (enter) key.

bamfonk 03-02-2009 06:57 PM

ok i created a SSH account...now i just use cmd on my computer to access the ftp?

snakes1100 03-02-2009 09:31 PM

<a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">http://www.chiark.greenend.org.uk/~s.../download.html</a>

pattycake 03-03-2009 12:00 AM

Quote:

Originally Posted by bamfonk (Post 1758713)
well i have a vb mod and it has a .sh file that needs to be compiled and the command that i need to type is a linux command only and i dont have linux and i was wondering if someone could help me out with this at all?

you don't "complie" a .sh file - it is a "shell" program (like a windows BAT file) meant to be run from the linux command line.... usually containing linux commands to do things. I use one to backup my database tables... nothing more than a mysqldump batch file that does a few more things like rotating old backups, getting rid of backups older than 3 days.


All times are GMT. The time now is 08:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00928 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete