Tagged Questions
1
vote
1answer
70 views
PATH issues for init.d scripts on startup
I have a simple script that starts up a unicorn instance (on Ubuntu 12.04LTS).
#!/bin/sh
case "$1" in
start)
echo "starting"
cd /path && bundle exec unicorn -c ...
0
votes
1answer
251 views
linux PATH issue between /usr/bin/ and /usr/local/bin
Environment:
linux novice :)
tmux 1.1 was installed using apt-get
tmux 1.6 was downloaded, configured, built, and installed from source
tmux 1.1 was removed using apt-get
Problem:
running tmux ...
3
votes
2answers
172 views
Is `which` lying to me?
I installed git via apt-get, but found that the version was hopelessly outdated, so I then installed git from source. The end result is rather puzzling:
$ git --version
git version 1.7.0.4
$ which ...
0
votes
2answers
481 views
In Ubuntu, does updating the CLASSPATH require a reboot?
I changed my CLASSPATH and JAVA_HOME variable to something like this
JAVA_HOME=/usr/local/jdk1.6.0_24
export CLASSPATH=$CLASSPATH:/usr/local/tomcat/lib
export JAVA_HOME
And when I try to compile, ...
0
votes
1answer
372 views
Trouble getting Tomcat to start up during install
I installed Java and now added Tomcat. I configured Tomcat, but it is not running.
What I did was add the line:
export JAVA_HOME=/usr/lib/jvm/java-6-sun
as the first non-comment line in the ...
3
votes
2answers
587 views
Where to set JAVA_HOME in Ubuntu
I am trying to configure Tomcat to know where JAVA_HOME is. I am used to Windows :) ...which file should I edit to add the Java info, and where is it located?
2
votes
2answers
1k views
Changing PATH Environment Variable for all Users. (Ubuntu)
I recently compiled Ruby Enterprise Edition (REE) on an Ubuntu 8.04 server.
I would like to update my PATH to ensure this new version of Ruby (found in /opt/ruby_ee/bin) supersedes the older version ...
0
votes
5answers
1k views
Problems with sudo in path
Using:
Linux nomemory 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686 GNU/Linux
I have a folder in my $HOME called ~/.scriptfarm/scripts where i keep some of my custom scripts.
...
0
votes
2answers
2k views
How to set the ery globap $PATH in Ubuntu 10.04 Server?
On Ubuntu 10.04 Server, where can I adjust the essential $PATH environment variable value which will all applications and all users see?