Server :: Setting Default Path For VirtualDocumentRoot?

Jul 4, 2010

I have my server setup so I have to create the user account and directory structure for a domain, add the domain to the httpd.conf file, but then I can create subdomains by adding a folder.

This is my config:

Code:
<VirtualHost *:80>
ServerName brandonwamboldt.ca
ServerAlias www.brandonwamboldt.ca brandonwamboldt.com www.brandonwamboldt.com

[Code].....

View 1 Replies


ADVERTISEMENT

General :: Setting JAVA_HOME - What Is The Default Path They Are Installed

Dec 30, 2009

I installed "jdk1.6.0.bin" and "jre1.6.0.bin" successfully. But I don't know where they are installed. I can't find anywhere. What is the default path they are installed.I want to set JAVA_HOME.

View 1 Replies View Related

Server :: Setting Path Shortcuts In CentOS?

Sep 15, 2010

Is there a way to set a short cut so that you don't have to type out the full path to directories in CentOS? For example instead of typing out /var/log to get to log files, can you just type logs and have the OS know to cd to /var/log automatically?

View 7 Replies View Related

Ubuntu Networking :: FTP Server - Setting Default Directory Per User

Jun 21, 2010

I am using VSFTPD as my FTP daemon. I want it to be set up so that my user (cj) will have a default directory of / when I log on to the FTP server and I want the secondary account (guest) to have it's home directory as the default location without any access to the root of the drive.

I need my account to have the default as / because the FTP client that I use in Windows won't go up to the parent directory of the default. Therefore, I cannot access the rest of my drive.

When I set "local_root" to "/" , it brings both users to the / directory when they sign in, even though the guest account is set to open the home directory with the "chroot_list_enable". It seems like the local_root option overrides the chroot_list_enable option.

Is there any way to set the default directory for each local user separately?

Also, Let me know if this is impossible with this FTP daemon

View 2 Replies View Related

CentOS 5 Server :: Default Quota Setting When Create User?

Nov 1, 2010

Running a server using CentOS 5.5 (yum updated, x86_64), found that when using /usr/sbin/useradd to create system user, the quota for the user will default set to 5M soft and 10M hard (on /var/spool/mail partition). As remember the default setting for user quota should be both zero when create a new user.

man useradd and quota related command and no help, had any idea how to change/set the default quota when create user.

View 1 Replies View Related

Ubuntu Installation :: Setting Up An LDAP Server / Error Do Not Match LSB Default-Start Values (none)?

Oct 20, 2010

So I am creating a LDAP server for my school's Linux lab, so users on our school network can log into the Linux machines.

I found a guide here url...Authentication

But during the install, I get the following error.

update-rc.d: warning: libnss-ldap start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (none)

View 2 Replies View Related

Ubuntu Installation :: Adjust The Default Setting Via /etc/default/grub?

May 29, 2010

I have already had Vista installed on another drive and from what i've read on the webs you get to dualboot if you install ubuntu after vista. when i did install it (i installed on a blank hdd with no partitions, choosing the "erase entire disk" option since for some reason default option was attempting to eat a part of my windows 1 gb drive instead of using disk i specially made for it) and the grub 2 loaded for the first time, there was NO option to run vista. only 2 linux (normal and recovery) and 2 memtests. I've ran linux and went to google this. I found that i should add something to some config files in /etc/grub.d/From reading the readme file i understood i could add my own files that are named like NUMBER_SOMENAME and insert code into them. Because it said:Quote: For example, you can add an entry to boot another OS as01_otheros, 11_otheros, etc, depending on the position you want it to occupy inthe menu; and then adjust the default setting via /etc/default/grub. But then i found a file 40_custom that said:

Code:
#!/bin/sh
exec tail -n +3 $0

[code]....

View 9 Replies View Related

Software :: Setting Up An App So It's In The Path?

Sep 29, 2010

I have an app (a game, actually) that's sitting in a subdirectory in my /home/user and I was wondering how I could set it up so that I could run it directly without having to go into its directory. (ie: putting it in the path)

View 6 Replies View Related

Software :: Setting Up An App So It's In The Path

Dec 23, 2010

I have an app (a game, actually) that's sitting in a subdirectory in my /home/user and I was wondering how I could set it up so that I could run it directly without having to go into its directory. (ie: putting it in the path)

View 2 Replies View Related

General :: Setting An Executable To Be In Another's Path?

Dec 6, 2010

I have program (command line) that requires another program be installed and in its path. So I downloaded the file (.tgz), and extracted. I followed the compile and make instructions and ended up with a folder on my desktop that contains the excutable but is not in the path of the the other program. How can I do this..I think that I have about 20 more .tgz files to do this with.

View 2 Replies View Related

Debian :: Setting PATH Environment Variable

May 19, 2015

I have been trying to change my PATH environment variable to no avail. I am using Jessie i386 with MATE. Using my .bashrc file works but not well because with subshells the modifications get repeated. I want the change to occur on login.

I tried modifying ~/.profile ~/.bash_profile /etc/profile and /etc/environment and one or two others but in no case did my change get picked up even after logging out and in again and even after rebooting. I searched the Internet and found each of the above places to make the change but they don't seem to work with Jessie.

Where do I make the necessary change?

View 7 Replies View Related

Ubuntu :: Universal PATH Setting In Karmic

Apr 2, 2010

Where is the universal PATH variable set/exported in Karmic?It is not exported from the normal place (/etc/profile). I can't find where it is set. I tried Code:find /etc/* | xargs grep "export PATH=" and it did not reveal the magic place.

View 2 Replies View Related

Programming :: Setting PATH Alias In Bash?

Jul 15, 2010

I am trying to execute executable files in bash without adding ./ I know there must be an alias to add in .bashrc, that must be something like alias PATH=$PATH:. But this seems not to be working.

View 1 Replies View Related

General :: Setting PATH Variable For New Users?

Jan 30, 2010

What steps have to be followed for having customized contents of PATH environment variable whenever new users are created? I require this in order to include a special directory into PATH variable; and this has to be a default one for all the newly created users.

View 3 Replies View Related

Ubuntu :: How To Set Terminal Default Path To Pwd

Jun 28, 2011

Open a new terminal either in tab or new windows,The default work directory is $HOMEDoes anyone know how to change it to `pwd`, so every time a new terminal starts form the same path as the mother terminal (the terminal user calls new from).

View 9 Replies View Related

General :: Setting PATH Variable To Bin Directory In Ubuntu

Feb 18, 2011

I installed java in my pc by running the following on the shell
./jdk-6u24-linux-i586.
I need to set the path to the bin directory and also a new environmental variable JAVA_HOME.

View 2 Replies View Related

Fedora :: How To Change Default Path In Jboss

Jan 3, 2011

I want to change the default path for logs in Jboss running on Fedora box? How to do the same?

View 1 Replies View Related

Ubuntu :: Apache 2 Won't Let To Change Default Path

Jun 27, 2010

I'm trying to make a reference to a second hard drive that is not part of the main file system, so I changed all the references to /var/www to /media/HD1/www and I have set the permissions on the entire hard drive to allow reading, and I still get a 403 forbidden error when I attempt to access my site, everything works when I just use the default path. I'm using Ubuntu 10.04 with apache2 installed through the package manager...

View 2 Replies View Related

General :: Executing Shell Script - Setting Permissions And Providing Path

Jan 4, 2011

I've been looking around the net for executing a shell script. My basic understanding is that after setting executable permissions and providing a path (#!/bin/sh) in the first line of the script, I can type ./myscript to execute instead of sh myscript. This is not working for me. I can run "sh myscript" but not "./myscript" even though I know for sure I have across the board execute permission and my sh path is correct. I'm working on a redhat linux station.

View 6 Replies View Related

Ubuntu Networking :: Setting Up LAN - \Lstoragemusic Is Not Accessible - The Network Path Was Not Found

Jan 10, 2010

I would like to know if there is a fairly easy "How To" for setting up my home network. I have 2 XP SP3 computers and 2 Linux with ver. 9.10. The XP boxes can see each other and share files and folders. I can see from an XP box one of the Ubuntu machines, but can't access any of the files or folders.

I get the following when I try: \Lstoragemusic is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found.

View 9 Replies View Related

Debian Configuration :: Overwrite The Default $PATH Variable

Jan 18, 2011

Some idiot (namely me) managed to overwrite the default $PATH variable for a Debian box of mine. I think I've successfully recreated it:

[Code]..

View 2 Replies View Related

Ubuntu :: Change The Default Path For Any Or All Of The Different Crontab Files?

Nov 16, 2010

Can I change the default path for any or all of the different crontab files?

Can they be changed independently? for example can the user mark get one path for cron jobs, Lynn get another, and root get yet a third, or are they always going to be the same?

How do I change them?

Hello fellow Linux users:

I know there are several crontab files on my computer. One each for each user, and it looks like one for root, maybe others?

I think there is only one cron handler that reads all the different crontab files and does what it is told.

If I do from my command line, I get:

Code:
mark@server:~$echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
If I schedule a similar command in my own crontab file by using
Code:
mark@server:~$crontab -e
with the following line:

[Code].....

View 2 Replies View Related

Programming :: Replace The Default Path In A File(which Is A Script)?

Jul 19, 2010

I am trying to replace the default path in a file(which is a script)with the new path which I have get when the bash script runsThe code is

SCRIPT=$(readlink -f $0)
SCRIPTPATH=`dirname $SCRIPT`
sed -i "s/$HomeDir/$SCRIPTPATH/g" <filename>

[code]....

View 4 Replies View Related

Software :: Custom Built GCC - Default Search Path For Stdlib

Jun 15, 2011

I've just built gcc 4.6.0 by myself since there is no update in Mandriva yet and I really needed the updated version, but I must be missing something in its configuration. I added ~/apps/gcc460/bin in front of my PATH, and the lib dir to my LD_LIBRARY_PATH in my .bash_profile, like so:

Code:
PATH=$HOME/apps/gcc460/bin:$PATH:$HOME/apps/bin
LD_LIBRARY_PATH=/home/duckz/apps/intel/composerxe-2011.4.191/lib/intel64/:/home/duckz/apps/gcc460/lib/
LD_RUN_PATH=/home/duckz/apps/intel/composerxe-2011.4.191/lib/intel64/:/home/duckz/apps/gcc460/lib/
export PATH
export LD_LIBRARY_PATH
export LD_RUN_PATH

I still have gcc 4.4.2 installed, but it's now hidden, so gcc --version correctly yields 4.6.0. I finally tried to build my project, all went fine, but at the moment of running it I get:
Code:
./EugGame.Release.Linux: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./EugGame.Release.Linux)

I assume the correct version is the one located in ~/apps/gcc460/lib, but how do I make my project load the correct lib? Is it possible at all to have two versions of gcc on the same machine? I just found that I should've added lib64 to my LD_LIBRARY_PATH instead of lib. Anyways, even if the problem is solved, I'd like to hear if my configuration is well made or if I should leave LD_LIBRARY_PATH unset and use some other way to override the default search path for stdlib.

View 1 Replies View Related

CentOS 5 Networking :: How Do I Set Sbin In Default Path For Non Root User

Jun 25, 2009

I'm running a server with CentOS 5 where the software that needs to run on the server uses ifconfig to verify the system IPv4.The problem is that /sbin isn't set for the user that is supposed to run the software (sadmin) which means the software can't execute ifconfig and thus terminates.now the workaround I've been using is simply to input.

View 10 Replies View Related

Software :: Install Libclamav With PHP - Cannot Find Clamav Files In Default Path

May 26, 2011

I am having a big problem trying to allow PHP to scan files, using clamav libs in PHP.

I downloaded the relevant files from:[url]

Anyways I am stuck on the tutorial for installing it in the 'INSTALL' file, where it says to run the command:

Quote:

It runs for a duration but then halts on the following error:

Quote:

It suggests that 'configure:3465' that the files where not found going by the line above that.

Not being in the default path, does anyone know where to make libclamav work?

An easier way of locating such files that it's looking for?

View 8 Replies View Related

General :: Difference Between PATH=$PATH:$1 & PATH=$1:$PATH?

Jan 16, 2011

I found the following function in /etc/profile file.

[Code]...

1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??

2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH

View 14 Replies View Related

Fedora :: Setting GDM Back To Default?

Jan 20, 2010

I tried changing my Theme via MAC4LIN and it didnt work i get an error messege that shows:

cp: cannot stat `/etc/gdm/gdm.conf': No such file or directory
sed: can't read /etc/gdm/gdm.conf: No such file or directory
sed: can't read /etc/gdm/gdm.conf: No such file or directory

Previous to this i had tried installing KDM but it didnt appear to do anything (as in change any of the display management settings) The guide that i was reading to install MAC4LIN just uses GDM so i decided not to pursue KDM anymore. I Get the following read out:

[Jason@Echo ~]$ yum info gdm
Loaded plugins: presto, refresh-packagekit
Installed Packages
Name : gdm
Arch : i686

[Code].....

The goal is to set all my GDM settings back to normal so i can have that gdm.conf file. Anyone know a way to set the GDM back and repair any damage ive done?

View 2 Replies View Related

Red Hat / Fedora :: Setting The Xscreensaver As Default?

Feb 6, 2010

how to set xscreensaver as default I just enjoy xscreensaver, but I like to have it as default, when f12 start.

View 1 Replies View Related

General :: Set A Default Setting For The Terminal?

Oct 21, 2009

Is it possible to set a default setting for the terminal? When I open one up it is very small and I press the ctrl++ several times to get it so that I can read it?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved