Will JIRA clash with Plesk on Install - server

I have a dedicated hosting account that is managed using Plesk (i am not very comfortable with Linux command line - learning). Plesk is fine as its easy to use for managing different web spaces.
I want to know if i install JIRA on the same server will i run into
any issues with Plesk. I believe the ports used for Plesk and JIRA
are not the same (8080 for JIRA).
Are there any good walk throughs for doing so
Any recommendations on the install process
Eventually, i want JIRA to be accessed via subdomain url j.domain.com and not xx.xxx.xx.xx:xxxx. how could i set this up
thanks a lot!

Yes, JIRA can be installed on Plesk server without any issues.
There is port clash only with Tomcat, so if you have it installed JIRA installer suggest you to choose another port.
# wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.2.4-x64.bin
# chmod +x atlassian-jira-software-7.2.4-x64.bin
# ./atlassian-jira-software-7.2.4-x64.bin
It's better to use MySQL database if you haven't experience with PostgreSQL.
JIRA installer always silently fallback to built in H2 file database in case of issue with provided DB settings
you have to create domain, database and mail user in plesk
You have to enable proxy_http in Tools&Settings > Apache Web Server and create file /httpdocs/.htaccess in j.domain.com domain to redirect requests to JIRA:
RewriteEngine on
RewriteRule ^(.*) http://127.0.0.1:8080/$1 [P,L]
SMTP settings:
Troubleshooting:
Logs are placed here /opt/atlassian/jira/logs/catalina.out

Related

Send email with Sendgrid on a shared hosting

I have my websites hosted in a shared hosting where CPanel and EXIM are installed.
My goal is to send all outgoing emails via Sendgrid, as explained in this article: https://sendgrid.com/docs/for-developers/sending-email/exim/
I cannot edit the main EXIM config file because it would affect all the users of the server, so I was wandering if it is possible to add a configuration file in my local /home/etc folder in order to use a different EXIM config for my websites only.
I tried to add an exim.config.local file in my etc folder, but nothing changes...
Do you know if there is any way to achieve my goal? Maybe a local EXIM alternative?
I can use PUTTY to wget files, but apt-get install is not available.
Thanks for your help
Use .include_if_exists $home/exim.conf in the main config and it will only load a users config if it is present in its homedir. That way it won't affect the other users of the server.

Ansible winrm_server_cert_validation HTTPS security

I am using Ansible on a Linux computer connecting to a windows 8.1 embedded computer. It's able to connect with username and password over the HTTPS port 5986, but I need to specify the option:
ansible_winrm_server_cert_validation=ignore
The ansible documentation specifies:
The following is necessary for Python 2.7.9+ (or any older Python that
has backported SSLContext, eg, Python 2.7.5 on RHEL7) when using
default WinRM self-signed certificates:
The windows computer has an SSL listener that was configured with Self-SignedCertificates from the powershell script:
https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1
My question is that if I'm ignoring server cert validation, does that compromise the encryption that HTTPS is supposed to provide? or is server cert validation just a separate process of HTTPS?
Thanks
Yes, if you ignore certificate validation as recommended in the default Ansible config for WinRM, your connection is not secure - someone can spoof the target server using a man in the middle (MITM) attack on the HTTPS connection. (There should really be a security warning in the Ansible docs.)
The best alternative seems to be NTLM/Negotiate authentication, instead of HTTPS, removing the need for an SSL certificate. Your Ansible control machine will need to be able to authenticate over NTLM as a Windows user, just like using an SMB file share.
You will need pywinrm 0.2.0 or higher for NTLM/Negotiate support.
Useful links
Why NTLM/Negotiate for WinRM - background on why it's good to avoid the complex setup to install SSL certificates by using NTLM (Ruby based but still useful)
Example Ansible setup for NTLM
More complete Ansible setup including NTLM
Certificate validation is a separate process than encryption. The communication will be encrypted. You can read more on the issues with self-signed certificates but the high level is you remove any way for Ansible to validate who exactly is on the other side of the connection an open your self to a man in the middle attack that HTTPS usually protects you from.

Let's Encrypt certificate automatic installation and renewal without SSH access?

I have a website running on a shared hosting provider (ie. without SSH access). CPanel is installed. Is it possible to install (and just as importantly, renew) a Let's Encrypt certificate automatically without SSH access? Perhaps a CPanel plugin or cron job (for automatic renewals)?
follow this tutorial to for auto renewal https://neurobin.org/docs/web/fully-automated-letsencrypt-integration-with-cpanel/
You can install Lets encrypt SSL using cPanel ssl/tls -->Install and Manage SSL for your site (HTTPS) --> Manage SSL Sites. To renew certificate you need to regenerate it using your account key and Certificate provided by Lestencrypt in first time. I have done successfully that on GreenGeeks shared hosting help of http://wayneoutthere.com/how-to-lets-encrypt-cpanel-shared-hosting/. You can use https://zerossl.com/free-ssl/#crt to generate Certificates and copy to Cpanel.
You can try to install SSL on your domain through cPanel >> Security >> SSL.
If you are unable to find this in your cPanel then you need to install SSL on your domain through WHM.
You will need Let's Encrypt itself to be installed on the server before running any plugin or crontab job (specially that).
I doubt there is a way to do that without SSH connection, specially on a shared server.

Is it possible to install Roundcube on shared server ?

Is it possible to install roundcube on Shared linux
server running Cpanel. I heard from my service provider that it isn't. Well is it possible atleast on Dedicated IP... Please advice. Thanking in advance..
Ahoy,
cPanel ships with Roundcube already installed on the server by default with cPanel. You can access roundcube though the webmail interface using any of the email accounts hosted on that server. The webmail login that you can access roundcube through is at http://example.com/webmail -or- https://example.com:2096
cPanel uses a specially modified version of roundcube to help address issues like passing cPanel authentication data to roundcube to make logins easier. cPanel's roundcube files are stored at:
/usr/local/cpanel/base/3rdparty/roundcube
To update roundcube on a cPanel server you can use the following command. Additionally if you use the --force flag, roundcube will be reinstalled.
/usr/local/cpanel/bin/update-roundcube
cPanel Roundcube also has a special logging location at:
/var/cpanel/roundcube/log
cPanel Roundcube's Primary Configuration file
/usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php
By default roundcube will use MySQL, however it is possible to update roundcube to use sqlite, an quicker and more efficient database driver for roundcube. There are dangers in this conversion (ie. address book loss, roundcube user preferences loss). The command to convert roundcube to sqlite is:
/scripts/convert_roundcube_mysql2sqlite
/scripts/convert_roundcube_mysql2sqlite $username
To update an sqlite roundcube (--force to reinstall)
/usr/local/cpanel/bin/update-roundcube-sqlite
Additionally since roundcube is a php script, you can download roundcube from http://roundcube.net/download/ and install it into any cPanel account if your usage requires customizations that cPanel will not support.
Chears!
Well, it is 100 % possible for sure( I have an example in production)
The only thing to consider is, there may be some missing components that Roundcube requires. If this is is the case, just submit a ticket for your hosting provider, they will certainly install the missing components.
If you want to install SSL for your Roundcube, for sure you also need a dedicated IP.

Run ASP.NET in wamp server

Is it possible to run an .aspx website in WAMP Server? If yes, then how do you do this? Please reply
It used to be possible to have Apache interface directly with the ASP.NET engine/system via mod_aspdotnet, but that module was abandoned some time ago.
The way you do this now is to have Apache be the front-end server (port 80) and have IIS be the back-end server (8080). Then use Apache's ProxyPass directive to proxy specific websites or URLs to IIS, which runs the ASP.NET code, and give the output back to Apache, which delivers it to the visitor/client.
It's not a bad option and works well.
You just have to make sure you're either running Apache and IIS on different IPs, or same IP but different Ports.