Explore information related to adb


Install ADB and Fastboot on Ubuntu 20.04 LTS - Step by step guide ?

This article covers the process to install the ADB and Fastboot on Ubuntu 20.04 LTS Focal Fossa system. In fact, ADB or Android Debug Bridge is a command-line utility that lets us control an android device from the computer itself. Its part of Google Android SDK & can be used to run shell commands or to copy the files to & from the device & also to install or remove the applications from the device.

Fastboot is basically a diagnostics mode that is used to modify the Android file system from the computer when the android device is in bootloader mode. It’s an alternative to recovery mode & is normally used to perform updates or to perform installations.



How to install ADB & Fastboot on Ubuntu systems ?

1. To install both the ADB & Fastboot, execute the following command from the terminal:

$ sudo apt-get install android-tools-adb android-tools-fastboot

2. Once the installation has been finished you can check the ADB version by running the following command:

$ adb version

Read More



Install Percona Database Server on Ubuntu 20.04 - Step by step guide ?

This article covers the process of installing Percona Database Server on Ubuntu 20.04. In fact, Percona Server is fully compatible and a replacement for Oracle MySQL. Percona Server is used by thousands of enterprises to provide superior performance, scalability, and instrumentation for their workloads.

Read More



Install OwnCloud on Ubuntu 20.04 LTS - step by step guide ?

This article covers the complete process of installing  and configuring OwnCloud on Ubuntu 20.04 LTS Focal Fossa system. In fact, OwnCloud allows you to host a private cloud for data synchronization, file storage, and file sharing. You can use ownCloud as an alternative to commercial services like DropBox or Box. This software is great for secure collaboration across your projects and teams.

Read More



Allow Remote Connections to MySQL - Best Method ?

This article covers how to allow remote connections to a MySQL server. Hosting databases and web servers on a separate database server can improve security, hardware performance, and enable you to scale resources quickly.

One of the most frequently observed database bottlenecks encountered by large projects is high MySQL traffic. Sure, we could talk about moving to a bigger cloud instance size, faster cores, and better storage, but that’s too obvious and costly. Instead, we would like to focus on several tips that can reduce traffic with a bit of configuration.


Methods to reduce Internet traffic when connecting to the remote host:

  • Disable and/or optimize the high-load features of your application.
  • Use ProxySQL to enable connection pooling. This will prevent your application from overloading MySQL with a multitude of concurrent connections. Another nice feature of ProxySQL helps cache query results for a certain period of time.
  • Monitor your databases for performance bottlenecks.
  • Identify and optimize queries that cause high load. If you use dbForge Studio for MySQL, you get a specialized tool—Query Profiler—which helps you deal with this task easily.
  • Add missing indexes and eliminate redundant and unused ones.
  • Conduct a thorough check of your background operations. Some of them can be postponed, some may work just as effectively with limited resources (e.g. limited concurrencies for batch jobs), and some may be perfectly running on replicas.

Read More



Install MariaDB on Rocky Linux 8 - Step by Step Process ?

This article covers step-by-step installation procedure of the MariaDB server on Rocky Linux 8. In fact, MariaDB was developed as a "drop-in" replacement for MySQL. As such, both software packages are functionally equivalent and interchangeable.

To enable MariaDB service to start on boot time and start the service using the following commands:

$ sudo systemctl enable mariadb
$ sudo systemctl start mariadb

To verify the running status of MariaDB, run the below command:

$ sudo systemctl status mariadb

Read More



Install LAMP Stack on Rocky Linux 8 - Step by Step Process ?

This article covers how to install LAMP stack on Rocky Linux 8.4. You can now proceed to test or host your website and applications. A LAMP stack is a group of open-source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP.


How to Install  and configure Apache Web Server ?

1. First, we will start by installing the Apache web server. To complete the installation, use the following command:

$ yum install httpd httpd-tools

2. Once the installation is complete, enable Apache (to start automatically upon system boot), start the web server and verify the status using the commands below:

$ systemctl enable httpd
$ systemctl start httpd
$ systemctl status httpd

3. To make your pages available to public, you will have to edit your firewall rules to allow HTTP and HTTPS requests on your web server by using the following commands:

$ firewall-cmd --permanent --zone=public --add-service=http 
$ firewall-cmd --permanent --zone=public --add-service=https 
$ firewall-cmd --reload
4. Verify that the web server is running and accessible by accessing your server’s IP address:
$ echo "Hello there, Apache webserver is now running" > /var/www/html/index.html

5. And restart tht Web Server to reflect the changes made:

$ systemctl restart httpd

From your browser,

http://IP_address


How to Install PHP on CentOS ?

1. To install PHP on your RHEL 8 use the command below:

$ yum install -y php-mysqlnd php-dom php-simplexml php-xml php-xmlreader php-curl php-exif php-ftp php-gd php-iconv  php-json php-mbstring php-posix php-sockets php-tokenizer

2. Now restart your web server so that Apache knows that it will be serving PHP requests as well:

$ systemctl restart httpd

Read More




For Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on LinuxAPT.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com