Posts

How To Install and Configure Nextcloud

Image
  Original post: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-20-04 Step 1 – Installing Nextcloud We will be installing Nextcloud using the  Snap  packaging system. This packaging system, available on Ubuntu 20.04 by default, allows organizations to ship software, along with all associated dependencies and configuration, in a self-contained unit with automatic updates. This means that instead of installing and configuring a web and database server and then configuring the Nextcloud app to run on it, we can install the  snap  package which handles the underlying systems automatically. To download the Nextcloud snap package and install it on the system, type: sudo snap install nextcloud Copy The Nextcloud package will be downloaded and installed on your server. You can confirm that the installation process was successful by listing the changes associated with the snap: snap changes nextcloud Copy Output I...

Checking link speed in Ubuntu

 First Update the system $ sudo apt update & sudo apt upgrade Install the network tools $ sudo apt-get install ethtool net-tools Method 1 $ ip addr The other methods below require you to know the name of the interface. For example in the below cases it is enp0s3. Method 2 $ sudo ethtool enp0s3 Method 3 $ sudo cat /sys/classes/net/enp0s3/speed

How to opt-in to Android TV in Google Play Store

Image
After the update in the Google Play Store, the opt-in option for Android TV has moved into the deeper pages. For this reason when you publish your app, even if it shows the Android TV devices are compatible in the Device catalog, the app actually is not available in the Android TV's play store. To fix this issue follow the following steps: First, optimize your app for Android TV. * Declare TV activity * Declare Leanback support * Declare touch screen not required * Provide home screen banner  * Update the app to support remote navigation  * Make sure your app's UI is compatible with the TV screen * Take screenshots of the TV app Now to opt-in for Android TV * Access the Play Console and select the app. * Go to “Release” > "Setup" > "Advanced settings" * Go to the "Release types" tab. * Once the app has been optimized for Android TV you may select the "Opt-in to Android TV." Once the app has been approved the status will appear as ...

Automate file upload in Selenium IDE

Image
Selenium IDE is an integrated development environment for Selenium tests. It records your interactions with websites to help you generate and maintain site automation, tests, and remove the need to manually step through repetitive tasks. Selenium IDE can be installed in Google Chrome from  here . For Firefox visit this  link . File upload in Selenium IDE cannot be automated simply by recording from the IDE. Because when we select the file input field, the dialog that opens up is a system window which cannot be controlled by Selenium IDE. Therefore, clicking the input file field to select a file will not work. Also the selected file path is changed to C:\fakepath\filename.extension. So to fix this issue, we need to configure the browser to support file upload and then instead of clicking the input field we set the file using ‘type’ selenium command which is shown below. First, to support file upload in Selenium IDE, configure your browser to support file upload: Visit ‘...

Fixing 'Operation not permitted' error in the terminal of MacOS

Today, I updated my Early 2015 MBP. When I fired up Terminal and tried running a few commands like ‘ls’, ‘pwd’, etc I was getting strange error ‘Operation not permitted.’ I looked for solutions on the internet and found a solution here. The step by step solution is as follows: Steps: 1. Close Terminal 2. Open System Preferences 3. Choose ‘Security & Privacy’ 4. Select the ‘Privacy’ Tab 5. From Left side menu select ‘Full Disk Access’ 6. Click the ‘lock’ icon on the lower left part and authenticate the user with admin privileges 7. Click the ‘+’ icon, an application chooser dialog box will open. Go to ‘Applications’->’Utitilites’ and Select Terminal 8. Open the ‘Terminal’

OWASP TOP 10 Proactive Controls in Brief

Image
Software Security is a measure concern today. We can no longer tolerate simple security problems leading to a security havoc. Here I want to list the top 10 proactive controls that should be practiced during software development to create a secure software. OWASP Top 10 Proactive controls is a list of security technique that should be considered for every software development. They top 10 controls are listed as follows in the order of their importance, first being the topmost priority. Define Security Requirements A security requirement is a statement of needed security functionality that ensures one of the many different security properties of software being satisfied. OWASP Application Security Verification Standard (ASVS) can be used to define security requirements.  OWASP ASVS  is a catalog of available security requirements and verification criteria. Leverage security frameworks and libraries A developer writing an application might not have sufficient knowledge, ...

Problems faced while updating/upgrading WordPress

Keeping the software up to date is one of the methods to keep your software secure. In this post, I am going to share solutions to some of the common issues you might face while updating/upgrading your WordPress Applications. WordPress is a blogging and content management system based on PHP and MySQL. It is a free and open-source content management system licensed under GPLv2. It started as a blogging platform in 2003. The use of WordPress has exploded and now it is the platform of choice for over 35% of all sites across the web. WordPress has features like Customizable design, Responsive design, SEO friendliness, high security, high performance, powerful media management, ease of use, accessibility, etc. It is very extensive and has over 54,000 plugins. It is, therefore, a platform of choice not just for hobby blogs but also biggest news sites online and online stores. WordPress can be viewed in the following 4 component architecture: WP Core WP Core is a set of code that p...