Categories
Software Tricks Technology

Steps to Install Vidyo Desktop on Ubuntu 16.04 – [SOLVED]

Have you tried to install Vidyo Desktop on Ubuntu 16.04 (including Server Edition) ? If you have, then you might have noticed that it doesn’t work. Here are the steps those need to be followed to setup Vidyo Desktop on Ubuntu linux machine.

Steps to Install VidyoDesktop on Ubuntu 16.04 (Server Edition):

Install-Vidyo-Desktop-Ubuntu

  1. Uninstall any failed setup of Vidyo Desktop (if previously installed).

     

  2. Download the Vidyo Desktop (customized) from here: https://www.dropbox.com/s/7cw6acxm4ys2ioy/VidyoDesktopInstaller-ubuntu64-TAG_VD_3_6_3_017-no_libqt4-gui.deb?dl=0 . This custom built installation file contains the control parameter “Depends: libxss1, libaudio2, libasound2, libqt4-designer, libqt4-opengl, libqt4-svg, libqtgui4, libqt4-network”.

     

  3. After installing the above, still the GUI of the Vidyo Desktop doesn’t open. Check the error by running “VidyoDesktop” from a terminal. Solution: Install the missing libqtwebkit4 package.

     

    apt-get install libqtwebkit4

 

Now the Vidyo Desktop works like a charm !!

 

Reference:

  1. http://information-technology.web.cern.ch/comment/31#comment-31
  2. https://support.vidyocloud.com/hc/en-us/articles/226103528-VidyoDesktop-VidyoDesktop-3-6-3-for-Linux-and-Ubuntu-15-04-and-higher
  3. https://feeding.cloud.geek.nz/posts/installing-vidyo-on-ubuntu-1804/

 

Categories
Software Tricks Technology WordPress

How to install the free SSL certificate from “Let’s Encrypt” on NameCheap Shared Hosting Server without SSH access. [Working]

Do you want to make your website secure by enabling https:// by installing Free SSL certificate from “Let’s Encrypt” on NameCheap Shared Hosting Server without SSH access? If the answer is YES, then follow the steps below to achieve the same completely free.

In fact, this will work on any hosting server which allows installation of SSL certificates through cPanel.

All of the procedure needs to be done on your own desktop/laptop and generate the certificate. Once done, install the certificate on your hosting server through cpanel.

These two prerequisites must be set up on your desktop/laptop before starting the procedure:

openssl
python

Step 1: Create a directory and clone the “acme-nosudo” helper script.

Step 2: Generate an user account key to register with Let’s Encrypt.

Step 3: Generate the domain key and a certificate request which will get signed for free for your domain by Let’s Encrypt.

To know the path for the “openssl.cnf” configuration file, use the command ” openssl version -a “. This will show you the OPENSSLDIR: “/System/Library/OpenSSL”

Step 4: Run the script using python using your user account public key and the domain CSR.

Use the “–file-based” option to allow verify the challenge by creating and serving the desired file with desired content at desired URL on your server. This removes the need of having SSH access to your server.

During this process, the script asks you to run some manual commands, you need to run them in a separate terminal window. You need to keep the script open while you run them. Also, the challenge files can be created for verification using the “FileManager” at the desired directory.

Output:

Now, your certificate is signed and ready to be installed on your shared hosting server. Open the files “signed.crt” and “domain.key” with any text editor.

Step 5: Open the cPanel in the browser and install the certificate.

* Go to cPanel > Security > SSL/TLS and press on “Manage SSL Sites”.
* Select the domain you want to install the certificate. in my case it is “wpdelighter.com”
* In Certificate: (CRT) paste the content of the recently created “signed.crt”
* In Private Key: (KEY) paste the content of “domain.key”
* Press Autofill by Domain button, next to the domain selection drop-down.
* Press Install certificate.

If everything goes well, your let’s encrypt certificate is successfully installed on NameCheap shared hosting server.

Categories
Uncategorized

How to fix 403 error resulting out of wrong installation of SSL certificate on Bitnami WordPress Stack For AWS Cloud

The issue of “403 error” can result from various reasons. In my case, it was due to the wrong installation of Let’s Encrypt SSL Certificate on the EC2 instance on AWS. After the SSL certificate setup, once the Apache server was restarted the website was down and it started showing a 403 forbidden error.

The system log was showing the following errors: ( System Log can be accessed by following the below-mentioned step on AWS graphical interface )

I used the command below:

The output of the above command was:

It was obvious that port 80 was being used by some other process. To find out which process was using it, I used the “netstat” command.

It was nginx which was using the port 80. Since I was not using the nginx, I had to stop and restart the apache inside bitnami.

Useful Resources:

Categories
Database PHP Software Tricks

Install Postgres database on Windows and allow password less access

Install Postgres Database on Windows and allow password less access for the database to be used in various applications.

  1. Install Postgres database on Windows machine by downloading the executable file from here: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
  2. pgAdmin tool can be downloaded and setup on Windows machine to view and manage the databases and tables by downloading the executable file from here: https://www.pgadmin.org/download/ Make sure to check the Postgres version and compatible version of the pgAdmin tool.
  3. phpPgAdmin can be downloaded and setup on Apache server to manage the databases from a web based enviornment. http://phppgadmin.sourceforge.net/doku.php?id=download

Now, for applications running on private & internal LAN setup, a password less access to the the postgres database is required. To allow login into the database without a password, a simple modification to the pg_hba.conf file is required.

  1. Edit postgre configuration file: C:\Program Files\PostgreSQL\9.2\data\pg_hba.conf
  2. Change all configuration access to:
  3. Restart the postgres server. Go to Control Panel > Administrative Tools > Services > Restart the Postgres service.

Categories
Odisha Social Life WordPress

Just completed my WP 5k 2016 walk :)

Feeling little tired but happy as I have just now completed my WP 5k 2016 walk#WWWP5K ) !! If you aren’t aware of the WP 5k 2016, it’s a 5-kilometer run/walk/hike/hop in between September 19th to September 25th. Wherever you are, whatever you are doing, if you are anyway involved with WordPress, just participate and blog about it.

Today morning I thought about taking part in the Worldwide WP 5k 2016 by walking the distance of 5 Km. Started off from my home and went to the Buddha Park and walked until I cover the WP 5k 2016 🙂 It’s really awesome to get up early and walk around that too for WordPress’s Worldwide WP 5k 2016.

I have been involved with WordPress for more than 5 years now, currently working as a WordPress developer at Axelerant. Love to unite with worldwide bloggers, runners, WP developers !!

Here is the map of my walk !!
subharanjan_wwwp5k

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Selfie afterward:

subharanjan_wwwp5k_after

Categories
PHP WordPress

How to fix 302 redirect issue when updating posts in WordPress? [Solved]

Recently, while writing a blog post I found that I am not able to update/publish any post on my WordPress website dashboard rather it redirects me to the website front page when I click the “Update” button. Now, I was unsure what’s creating this trouble and how to fix this 302 redirect when updating posts in WordPress.

Debug:

To check what could be the issue, I tried the followings :

  • I checked for any javascript errors through chrome dev tool’s console, but no errors there.
  • I deactivated all the plugins
  • Even changed the theme to the default Twenty Sixteen

Root Cause:

Still, the issue was there. After debugging a little more I found the cause of this. It was the strict Mode_Security which was causing the trouble. Now the question is: “What is Mod_Security?”

ModSecurity is an open source, cross-platform web application firewall (WAF) module. Known as the “Swiss Army Knife” of WAFs, it enables web application defenders to gain visibility into HTTP(S) traffic and provides a power rules language and API to implement advanced protections.

Basically, this is an Apache module that is installed on most servers by default to help protect your website from various attacks. It is used to block commonly known exploits by use of regular expressions and rule sets. This sometimes blocks the POST requests being generated after a post is updated or published because of the complex HTML content having all the tags, embed code, shortcodes etc. which get caught by the ModSecurity’s rule set.

cPanel-Mod-Security-Subharanjan

Solution:

To fix this issue simply disable the module on your server. This can be achieved through the Modsec Manager plugin for cPanel if you are on a shared server. Read the following to know how to disable manually on VPS and Dedicated servers. http://www.inmotionhosting.com/support/website/modsecurity/what-is-modsecurity-and-why-is-it-important

I am sure there are a ton of other reasons for a 302 redirect issue but in my case, this was Mod_Security causing the problem and after disabling the module I am able to update and publish the posts. 🙂

Categories
Mac OS X Software Tricks

How to get rid of the “searchguide.level3.com” hack ? [Solved]

Level3_Crap_Search_EngineSomedays back I noticed that when I type something into my browser it takes me to a different search engine called "searchguide.level3.com" which I don’t remember installing or set in the browser. I looked into my browser settings for anything suspicious but didn’t find any. Now, how to get rid of the “searchguide.level3.com” hack ?Level3_Hack_Redirecting

After searching and reading some forum posts, I finally found the cause and fixed it.

It happens because of faulty, free DNS servers. In my case, I was using Level3’s DNS servers (4.2.2.1 through 4.2.2.6) and it was hijacking the traffic. When something messy is entered directly into the URL of the browser, it redirects to Level3’s searching site.
Level3_Faulty_DNS

 

To fix the problem, simply search for a good DNS server and use that instead. Same thing will happen with most free DNS servers, however, I am OK with Google’s free DNS server.

Two of the best DNS servers that can be used instead.

  1. Google Public DNS8.8.8.8 and 8.8.4.4
  2. OpenDNS – 208.67.222.222 and 208.67.220.220

Hope this helps you solve your problem with the level3.com redirect.

Categories
WordPress

BuddyPress My Resume: Displays your latest resume in BuddyPress user profiles

You have a BuddyPress enabled Job site. Now you need display your resume in BuddyPress Profile.

So here is  a cool plugin for it.

https://shop.opentuteplus.com/product/buddypress-my-resume/

It simply adds resume to your BuddyPress Profile.

This plugin needs BuddyPress, WP Job Manager and WP Job Manager Resume to be installed.

 

Categories
WordPress

Like Ultimate Member, But do not need WooCommerce. Want to use EDD for Ultimate Member


Integrates the popular e-commerce plugin Easy Digital Downloads with Ultimate Member.

 

Key Features View

  • Easily integrates users purchases tab in user profile
  • You can display and view user orders from account page
  • Now manage billing address from account page
  • You allow user to have a specific role if they purchase a specific product
  • You allow user to have a specific role if they purchase any product
  • You can give options to disable any of the profile or account tabs based on role

 

Categories
PHP Software Tricks

How to stop outgoing emails being sent through postfix from your local machine in Mac OS X ?

stop-local-mails-from-postfix In latest versions of Mac OS X, by default the postfix is set to send emails from your local machine to outside world. This might cause you troubles if you are developing applications on your local machine and your application has email sending functionality to customers. Unfortunately if you have some customers’ email addresses in the database or in your code in the local setup, then test emails get delivered to them which is embarrassing. This happens even if you have not setup/integrated any 3rd party smtp services in your application.

To avoid this kind of situation, you can stop outgoing emails being sent through postfix from your local machine. Simply put the line below into the /private/etc/postfix/main.cf file in your Mac OS X.

default_transport = error:No outside emails.

The variable default_transport specifies which transport is used to deliver non-local mail (default is smtp). With this setting, any outgoing mail will bounce back with the error specified.

References:
http://www.postfix.org/postconf.5.html
http://postfix.cs.utah.edu/postconf.5.html