|
Author |
Message |
|
|
Posted May 28, 2008 at 2:38:25 PM
Subject: Seriously lost
Hello everyone, I have a linux server (VPS) because I am trying to appeal to my linux clients. I am trying to install an application on the server, the problem is I don't know what I am doing when I open shell. I am complety spoiled by windows because windows recognizes the autoinstaller. When I went into shell I did this:
# $ cd /var/tmp
# $ wget http://download1.parallels.com/SiteB...entOS_4.2_i386
# $ chmod +x swsoft_installer*
# $ ./swsoft_installer*
One time it came back as no file or directory file and another time it came back as an Error 404.
When I am inputting commands, do I enter after each command or do I type a continous block with a space between each command. I have a Virtuozzo panel and a Plesk control panel. I have tried to donloand the application and unzip it to my external hard drive and upload it straight to the root in Virtuozzo but I don't know which directory to put the files in or which directory to create.
Thank you ever so much
Nicole
|
Penguin
Joined Mar 28, 2008 Posts: 72
Other Topics
|
Posted:
May 28, 2008 3:26:00 PM
Subject: Seriously lost
Ok, I'll try and do this in order, but bear with me...
The reason you'll get the "no such file or directory" error is that bash doesn't like the * wildcard when executing a file - so running ./swsoft_installer* will cause problems (it's down to how it handles the *, a bit complicated to explain in detail here), so the key here is to use the full name. A shortcut for this is if you type the beginning of the file name and then press the "Tab" key once, it should auto-complete the name (or if it doesn't, tap "Tab" twice to list all the files which match what you've typed in so far), to save you typing in a long file name.
When you enter commands, generally you should hit enter after each one, so you can see it did what you expected. If you do want to run several commands one after another (say you want to install something from source, doing the old "./configure, make, make install") you can make them execute one after another on the same line by using "&&" between the commands - so for the install from source example it'd become: "./configure && make && make install".
As for where to place files, the /tmp directory is just that - a directory for temporary files, don't expect things to stay in here permanently. If you just want to extract a file so you can install it, or read it etc. the "/home/[username]" directory is a good place - it's your home space, so A) you know where things are, and B) things wont go missing (as they may in /tmp) after a reboot.
I hope this has helped to clear things up for you. Please let me know if it didn't / you need some more help, etc.
Penguin
|
QueenB
Joined May 28, 2008 Posts: 4
Other Topics
|
Posted:
May 28, 2008 5:28:12 PM
Subject: Seriously lost
Penguin,
Thank you so much for giving me an understanding of the protocol in which Linux operates. My next question is how do yo yum something. The installation manual for Sitebuilder states that I can yum it or rpm it. I have heard that yum is better because you don't get a dependency issue. Now I think that in other for yum to work, you need a yum.repo.d file (or something like it). What kind of info goes into the repo file.
Thanks again,
Nicole
|
QueenB
Joined May 28, 2008 Posts: 4
Other Topics
|
Posted:
May 28, 2008 6:23:41 PM
Subject: Seriously lost
Penguin,
I want to give it a shot at installing though yum. I found it at /etc/yum.repo.d
I put this information as a text file in the yum.repo.d folder
[sitebuilder]
name=Sitebuilder 4.2.0 packages
baseurl=http://autoinstall.plesk.com/SiteBuilder/SiteBuilder_4.2.0/dist-rpm-centos-4-i386/
[sitebuilder-updates]
baseurl=http://autoinstall.plesk.com/SiteBuilder/SiteBuilder_4.2.0/updates-rpm-centos-4-i386/
enabled=1
gpgcheck=0
Did I do it right?
Nicole
|
QueenB
Joined May 28, 2008 Posts: 4
Other Topics
|
Posted:
May 28, 2008 6:36:59 PM
Subject: Seriously lost
Penguin,
These are the files that I am trying to get to the linux server. The ones in blue are zipped files. Everything else are unzipped files of the zipped file. I know that something needs to be deleted, but I just don't know which one
php5-ioncube-php52-4.0-rhas4.07041615.i386.rpm 275.17 kb May 27, 2008 09:08:00 AM -rw-r--r-- root root
php5sb-5.2.1-10swsoft.i386.rpm 5,827.72 kb May 27, 2008 08:59:47 AM -rw-r--r-- root root
sitebuilder-4.2.0-all.build08030317.noarch.rpm 28,137.23 kb May 27, 2008 07:07:57 AM -rw-r--r-- root root
sitebuilder-4.2.0-centos4.build08030317.tar 32,720.00 kb May 27, 2008 07:26:37 AM -rw-r--r-- root root
sitebuilder-4.2.0-centos4.build08030317.tar.gz 32,720.00 kb May 25, 2008 04:31:54 PM -rw-r--r-- root root sitebuilder-core-4.2.0-centos4.build08030317.i386.rpm 464.38 kb May 27, 2008 07:13:12 AM -rw-r--r-- root root
sitebuilder-selinux-1.1-centos4.build08030317.noarch.rpm 6.70 kb May 27, 2008 07:13:36 AM -rw-r--r-- root root
sitebuilder4-centos-4-x86-ez-3.0.0-23.swsoft.27938.noarch.rpm 3.72 kb May 25, 2008 04:16:38 PM -rw-r--r-- root root
swsoft_installer_v3.3.0_build080201.09_os_CentOS_4.2_i386
|
Penguin
Joined Mar 28, 2008 Posts: 72
Other Topics
|
Posted:
May 29, 2008 11:39:57 AM
Subject: Seriously lost
Let me just get this straight - You're trying to install the "Sitebuilder 4.2.0" software on your machine. You added the repo's to Yum (did it work when you updated yum ?).
What happens when you try to install it through yum ("yum install sitebuilder") ?
Looking at those files, does the swsoft_installer just download those files, or does it try to install as well ? I would try "rpm -i sitebuilder-4.2.0-all.build08030317.noarch.rpm"
|
Penguin
Joined Mar 28, 2008 Posts: 72
Other Topics
|
Posted:
Jun 10, 2008 10:11:12 AM
Subject: Seriously lost
Any news on this problem ? Did any of the above work for you ?
|