The artifactory documentation says the ARTIFACTORY_HOME directory is
{user.home}/.artifactory
Yet if you install from .deb packages, there is no home directory for the artifactory user.
Where is $ARTIFACTORY_HOME when installed from packages?
Packages
The default configs are located in: /etc/opt/jfrog/artifactory/default
Opening that file shows ARTIFACTORY_HOME is /var/opt/jfrog/artifactory
Docker
If using the official artifactory docker container:
ARTIFACTORY_HOME=/opt/jfrog/artifactory
On Mac:
it is here
ARTIFACTORY_HOME=/usr/local/opt/artifactory/libexec
Related
I installed Anaconda environment on CentOS 7 operating system. With conda command I installed JupyterHub and all the necessary tools. I started the JupyterHub, after configuring it. I used jupyterhub -f /etc/jupyterhub/jupyterhub_conf.py & instruction. I created users on the host system and gave them a home directory to be under the JupyterHub. In the JupyterHub config file I put: c.Spawner.notebook_dir=/home/conda/multiusers. And then, in that folder, I created the home directories for all the users.
How can I instruct JupyterHub to load each user into its home folder and not into common "multiusers" folder?
Thank you in advance!
I have following repo configured
[Artifactory]
name=Artifactory
baseurl=http://myartifactory/artifactory/yum-local/repos/dev/$releasever/$basearch
enabled=1
gpgcheck=0
The above configuration searches rpms in http://myartifactory/artifactory/yum-local/repos/dev/7Server/x86_64/ as well as http://myartifactory/artifactory/yum-local/repos/dev/7Server/x86_64/subdir
How can I force yum to only look at x86_64 and not its subdir?
Can you please check the "RPM Metadata Folder Depth" settings in the RPM repository.This option will informs Artifactory under which level of directory to search for RPMs and save the repodata directory.
For example, if your RPMs are stored under 'fedora/linux/$releasever/$basearch', specify a depth of 4.
Below link for more details:
https://www.jfrog.com/confluence/display/JFROG/RPM+Repositories#RPMRepositories-LocalRepositories
After installing Artifactory using the RPM installer, where is the Artifactory XML configuration file stored? (The one you can see through the UI at "Admin > Advanced > Config Descriptor")
Have been looking around in "/opt/jfrog/artifactory" and "/etc/opt/jfrog/artifactory" - but havent been able to locate this specific file.
Thanks in advance!
I haven't used the RPM installer, but I've used the Debian installer and the Docker image, and I'd imagine they all put it in the same place:
/var/opt/jfrog/artifactory/etc/artifactory.config.latest.xml
It should also be accessible by symbolic link from:
/opt/jfrog/artifactory/etc/artifactory.config.latest.xml
Other files in that directory in the form of artifactory.config.latest.[numbers].xml are backups or older edits of this file.
I am using artifactory with 5.x version and I added http://repo1.maven.org/ as repo1 to my remote repo. But from my artifactory, But I am unable to download some of the artifacts from apache which is from http://repo1.maven.org/maven2/org/apache. How can I allow artifactory to download artifacts from apache folder.
Thanks in advance.....
I understand that there's an nginx configuration file at http://www.friendfeed.com
But i don't really know how to set up Tornada for production use on Ubuntu 10.04 with Nginx.
Here's my situation and assumptions:
1) Assuming my Tornado project is set up as such:
project/
src/
static/
templates/
project.py
And I have installed Tornado by downloading the repositary from Github and than sudo python setup.py install
2) I've installed Nginx and started it based on the instructions here : http://library.linode.com/web-servers/nginx/installation/ubuntu-10.04-lucid
My questions are:
Where does my nginx configuration file go ? Within the src/ folder?
After configuring Nginx, how do I start my Tornado project?
This could help a lot: https://github.com/chaselee/tornado-linode
Check out the link in the Readme to see how to deploy in production on Ubuntu 10.04.
Basically I keep the nginx conf in my repo, which gets pulled into the server, and the conf file is symlinked into the actual nginx directory where it needs to go.
For an EC2 Ubuntu with a default install the config file is here:
/etc/nginx/nginx.conf
I would recommend symlinking it like chaselee suggested