lol, I bet some people still wouldn't understand
Printable View
lol, I bet some people still wouldn't understand
When I see people posting with questions HOW to make a server, when theres a fucking tutorial section makes me want to slam my head into a wall.
SEARCH DAMN IT.
We all did, how fucking hard is it?
NOTE: das you make me laugh all the time, LOL. They reallyyyyyyy don't know sometimes and you erm, "shed light" on it LOL.
-walks away giggling and laughing-
please friend, the idea is to make a controversy of a help topic well! ... nobody is forced to respond to this issue and ideally that only those who want to contribute to help answer only, please do not make their emotional releases with my post ...
Note: actually look in the tutorials section is why my post is one of the guides the user "343" ... case of a server up with the guide in question, however grateful to the community and helping those who may need it, also will post a detailed guide my procedure to lift the server so that you can serve others. Greetings!
Is a question of privilege...
solving my mistake
-- Install xampp/lampp, and database
Code:
cd /root/notes
./setup.sh (to execute this sentence throws me permission denied error)
http://i40.tinypic.com/1zwhze0.jpg
SOLUTION: Applied to ubuntu server v11.04
chmod +x Setup.sh #Allow execution
sh ./Setup.sh #Run it (run the script, I notice 2 times and proceed to the installation)
Running the script
http://i41.tinypic.com/24zx6p4.jpg
Proceeding with the installation
http://i42.tinypic.com/19w5tc.jpg
Instalation is done!
http://i40.tinypic.com/344ukg6.jpg
next step according to the user's guide 343 :wink:
New problem: when you run the script in the root directory start.sh disk
Quote:
-- After the system reboots you are all set to start the server (logged in as 'root')
Code:
cd /root
./start.sh (case of applying the above solution)
screenshot of error mentioned:
http://i41.tinypic.com/14ognq.jpg
I agree, comments, suggestions and all kinds of aid :thumbup1:
Which is the root of these files:
this is what the file contains start.sh, when running this script, I throw permission denied error again, and when I try to assign execution permissions with the command chmod + x start.sh # Allow execution, tells me that the file does not exist, then what is the root directory of these files ...????Code:mysql_start.sh
apache_start.sh
tomcat_start.sh
tomcat2_satart.sh
Please help! :scared:
Type it in exactly as it says in the guide.
These files should have been copied from the cd to your server earlier. You should not be trying to run the scripts from the cd. Also the cd is non writable so you can't change the permission on the actual disc itselfCode:cd /root/notes
./setup.sh
this statement is executed correctly, the problem is with the following ...
-- Install xampp/lampp, and database
This was installed correctly and without any problem ...:thumbup1:
-- After the system reboots you are all set to start the server (logged in as 'root')Code:cd /root/notes
./setup.sh
this is the problem...:thumbdown:
as previously postie throws me permission denied error, which is now its board Nose, by logic should be cd ...??? or should refer to files that were copied to the operating system :?:Code:cd /root
./start.sh
Spoiler:
Your problem is shown in this screenshot right? If so then my above post applies to it.
cd = change directory in this case.
So the command
So try the command exactly as it is. If you get a permission denied error fix like you did before.Code:cd /root/notes #This changes the directory to "/root/notes"
./setup.sh #This runs the setup.sh script
not seem to express myself well, excuse my English is bad, I use the google translator, what you telling me now is done the problem is with the file "start.sh" and not with the "setup.sh" the setup is properly installed, and the "start.sh" also runs, but this last execution calls to other "* files.sh" that would be these:
now when I execute permissions applied individually on each of these files throws me a message "The file does not exist then there ".... my question to know the directory where these files to apply permissions on the road full ...Code:mysql_start.sh
apache_start.sh
tomcat_start.sh
tomcat2_satart.sh
Yeah I see now, you are trying to run start.sh not setup.sh
But in that image you are trying to run "start.sh" directly from the CD. This wont work. You need to run start.sh from the root directory on the server itself and not the CD.
Which would be
Which is exactly whats in the guide.Code:cd /root
./start.sh
If you run from the root directory and not the CD it should find those files.
My guess would be you're also not running as root, because I've never seen this problem as long as you are logged in and doing everything as the root user...
Comment enlighten my mind xD :P:
Primero que nada arranco el sistema como usuario root (lo estaba haciendo como usuario normal)...
Traslation:
first of all I start the system as root (I was doing it as a normal user) ...
Spoiler:
execution of the script: (error when starting the apache service)
Spoiler:
if I can provide help, indicating it does not start apache, a sign, a reference, I will be grateful ... so far we are progressing well, I hope their contributions ... :thumbup1:
IP configuration problem was, and is ready and now apache starts without problems, apache is OK :thumbup1: "/ etc / hosts is configured"...
A new problem ....
when you run the script "start.sh" ... this calls execution to files
1. "mysql_start.sh"
2. "apache_start.sh"
3. "tomcat_start.sh"
4. "tomcat2_start.sh"
first of all I know, what is the directory where these files ...:?:
1.- which is the directory of these files within the "CD "...????
2.- Once copied the contents of "CD" to the file system, which should be your location directory ...????
3.- as I can find the "mysql_start.sh" and the other files in ubuntu server (advanced search methods )???...
4.- tomcat not find the file "catalina.sh" I can redirect or route as the script to find it ...???
look at this screenshot
Spoiler:
343 user, I need your help!
I hope that now if I can help!...
the above problem, I have solved it, navigate to the directory where the file "catalina.sh" and I have given execute permissions (chmod + x catalina.sh # Allow execution) ...and PAAAFFFF!!!
the error has change...
before:
Code:=== STARTING APACHE TOMCAT ===
Cannot find ./catalina.sh
This file is needed to run this program
=== DONE! ===
After:Code:(assigning permissions) chmod + x catalina.sh # Allow execution
OK ... Now what is the solution???...Code:=== STARTING APACHE TOMCAT ===
The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program
=== DONE! ===
answers, ideas, suggestions ???...
please I need a guiding...
Screenshot of the problem!
Spoiler:
Erm something looks really weird with that.
If I were you, I would download Ubuntu SERVER 11.04 which is much more stable for a server and then start again from scratch following 343's guide