Hi,
I install a Jira server in a vm. The vm doesn't have the internet, so I couldn't using the command line like yum install ...
+ I installed jdk 8
+ Installed Atlassian server bin file
But when I run file atlassian-jira-software-8.5.1-x64.bin
I got this error message
[...]$ sudo ./atlassian-jira-software-8.5.1-x64.bin
We couldn't find fontconfig, which is required to use OpenJDK. Press [y, Enter] to install it.
For more info, see https://confluence.atlassian.com/x/PRCEOQ
I when to the page and get the tutorial install by this command
sudo yum install -y dejavu-sans-fonts
I can't use this command (I don't have internet on the vm) I try to download and run some file but It doesn't work , Have the same error message.
Does anybody have the idea for this? Thank you.
Hi @Andy Heinzer ,
I can resolve my problem by this way:
Download some files:
+dejavu-sans-fonts : https://centos.pkgs.org/7/centos-x86_64/dejavu-sans-fonts-2.33-6.el7.noarch.rpm.html
+dejavu-fonts-common: https://centos.pkgs.org/7/centos-x86_64/dejavu-fonts-common-2.33-6.el7.noarch.rpm.html
+dejavu-serif-fonts: https://centos.pkgs.org/7/centos-x86_64/dejavu-serif-fonts-2.33-6.el7.noarch.rpm.html
+fontconfig: https://centos.pkgs.org/7/centos-x86_64/fontconfig-2.13.0-4.3.el7.x86_64.rpm.html
+fontpackages-filesystem: https://centos.pkgs.org/7/centos-x86_64/fontpackages-filesystem-1.44-8.el7.noarch.rpm.html
→ install all file in order
rpm -i fontconfig-
2.13
.
0
-
4.3
.el7.x86_64.rpm
rpm -i fontpackages-filesystem-
1.44
-
8
.el7.noarch.rpm
rpm -i dejavu-fonts-common-
2.33
-
6
.el7.noarch.rpm
rpm -i dejavu-sans-fonts-
2.33
-
6
.el7.noarch.rpm
rpm -i dejavu-serif-fonts-
2.33
-
6
.el7.noarch.rpm
After installing all these files, it resolves my problem
Cheers,
Tien Dang
Hi Dang,
Sorry to hear about this font installation problem. It certainly looks like the Jira software installation will require a font to get past this problem. From reading the linked KB it seems that it's a known issue that the fontconfig application won't work with Centos 7 specifically.
So I think you are on the right track with the suggested substitution of the dejavu-sans-font there. Our KB is currently written in a way that expects this machine would have access to the internet to be able to grab those packages. But since it seems that you have at least placed these rpms in this folder, I think you can run an alternative command from that folder with these files to install this. From the directory where you have stored these font rpm files, try running this command:
sudo yum install ./dejavu-sans-fonts-2.33-6.el7.noarch.rpm
This should install the local file rather than try to connect to the internet to lookup the package name. Also note I dropped the -y switch because I don't want to automatically just say yes to whatever prompts this install might do, it's possible it might prompt you to install other fonts or dependencies and if you can't download them, we might not see the prompt here. So in your case, try that command and let me know the results.
This should let you install from that downloaded file instead. I'm afraid the current instructions on the KB don't account for machines without a connection to the internet. I looked up the yum command structure, and it seems like this is a valid command to get these installed.
Let me know the results either way. I would be interested to update our KB if we can prove this alternative method works the way I think it would.
Cheers,
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank for your answers @Andy Heinzer
While I wait for help from the community, I also try to install like this:
Download some file to resolve problem
+dejavu-sans-fonts : https://centos.pkgs.org/7/centos-x86_64/dejavu-sans-fonts-2.33-6.el7.noarch.rpm.html
+dejavu-fonts-common: https://centos.pkgs.org/7/centos-x86_64/dejavu-fonts-common-2.33-6.el7.noarch.rpm.html
+dejavu-serif-fonts: https://centos.pkgs.org/7/centos-x86_64/dejavu-serif-fonts-2.33-6.el7.noarch.rpm.html
+fontconfig: https://centos.pkgs.org/7/centos-x86_64/fontconfig-2.13.0-4.3.el7.x86_64.rpm.html
+fontpackages-filesystem: https://centos.pkgs.org/7/centos-x86_64/fontpackages-filesystem-1.44-8.el7.noarch.rpm.html
→ install all file in order
rpm -i fontconfig-
2.13
.
0
-
4.3
.el7.x86_64.rpm
rpm -i fontpackages-filesystem-
1.44
-
8
.el7.noarch.rpm
rpm -i dejavu-fonts-common-
2.33
-
6
.el7.noarch.rpm
rpm -i dejavu-sans-fonts-
2.33
-
6
.el7.noarch.rpm
rpm -i dejavu-serif-fonts-
2.33
-
6
.el7.noarch.rpm
After installing all these files, it resolves my problem
Hopefully, it has something can help you improve the error.
Cheers,
Tien Dang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tien Dang,
Thanks for posting back with your solution. If you don't mind, would you please post your solution as an Answer to this thread instead of a reply to my answer? This way we can then Click the Accept Answer button on your answer. This marks your question as solved. And in turn it helps other users that search on this same topic to quickly see that this question has an accepted answer.
I could accept my own answer, but it does not feel right to do that since you appear to have come up with a different solution without my help :) I don't want my answer to appear to be the correct one when it seems clear your answer is the better one here.
Thanks
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do we need to install under JIra installation directory/bin ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.