Prerequisites Step 1: Install Ubuntu Server with LTE Step 2: Install apache2 on Ubuntu Step 3: Set user login without password authentication # vim /etc/sudoers %sudo ALL=(ALL) NOPASSWD: ALL Step 4: Install Packages # sudo apt update # sudo apt install –no-install-recommends xorg openbox google-chrome-stable pulseaudio Step 5: Set user in audio group # usermod […]
Author Archive for: tecdistro
This author has yet to write their bio.Meanwhile lets just say that we are proud howto contributed a whooping 132 entries.
Entries by howto
Introduction In this article we will see basic commands to check the physical memory on the server under Linux. Many beginners struggle to know their system well in the context of resources such as CPU, Memory, Disks, etc. So I decided to write this small item pointing command to check the RAM on the Linux […]
Locate is very useful command to find the location of file/folder in linux. Install mlocate package # yum install mlocate Update database by executing updatedb command # updatedb Now, locate any file/folder using “locate” command # locate httpd /etc/httpd /etc/httpd/conf /etc/httpd/conf.d /etc/httpd/conf.modules.d /etc/httpd/logs /etc/httpd/modules /etc/httpd/run /etc/httpd/conf/httpd.conf /etc/httpd/conf/magic /etc/httpd/conf.d/README /usr/sbin/httpd /usr/share/httpd /usr/share/doc/httpd-2.4.6 /usr/share/doc/httpd-tools-2.4.6 /var/cache/httpd /var/cache/httpd/proxy /var/log/httpd […]
We can check all the sizes of databases through execute a simple query in mysql server Step 1: Login with mysql server Login to mysql server by putting the mysql server credentials # mysql -u username -p Enter Password: Step 2: Execute the Query Execute the mysql query in mysql server. mysql> SELECT table_schema “Data […]
Introduction Wifi security breaches when the research and development team scanned 32 WiFi router firmware firmware products offered by more than 10 of the most popular home, SMB and enterprise wireless routers in the US, Europe and Asia Manufacturer: Asus, Belkin, Buffalo, Cisco, D-Link, EFM, Huawei, Linksys, Netis and TP-Link. Severity Level The firmware of […]
Introduction The command history allows the use of words from previous command lines at the command prompt type. This simplifies spelling corrections and the repetition of complicated commands or arguments. History Command # history 850 useradd admin 851 passwd admin 852 cd /home/admin/ 853 ls -l 854 ls -la 855 top Edit the file /etc/bashrc […]
Canonical’s Mark Shuttleworth revealed nothing about Ubuntu’s development team that worked with the GNOME Devs, but until more details were revealed, it looks like the Red Hat Desktop and Fedora teams have taken the first step in welcoming Ubuntu and Canonical to the GNOME- And Wayland projects, hoping that they will have a fruitful long-term […]
Prerequisites Install nginx web server Step 1: Install PHP & PHP-FPM Install packages php & php-fpm package on server using epel repository. # yum –enablerepo=epel -y install php php-mbstring php-pear php-fpm Step 2: Configure PHP-FPM Modify user and group name in php-fpm configuration file. # vi /etc/php-fpm.d/www.conf user = nginx group = nginx Step 3: […]
Introduction If you forgot your root password, then it’s not a big deal. Below are the methods to reset root password in different linux distributions. Step 1: Power on Redat/CentOS 7 Server First power on your Redhat/CentOS 7 server. At the boot menu, select the Kernel you want to boot up and press e to […]
Step 1: Install MySQL Server Install MySQL Server on both machines. # apt-get update # apt-get install mysql-server mysql-client Step 2: Configure MySQL Servers Edit the /etc/mysql/my.cnf file on both machines. Add or modify the following values: Server 1: # vi /etc/mysql/my.cnf server_id = 1 log_bin = /var/log/mysql/mysql-bin.log log_bin_index = /var/log/mysql/mysql-bin.log.index relay_log = /var/log/mysql/mysql-relay-bin relay_log_index […]
Interesting linksHere are some interesting links for you! Enjoy your stay :)
TecDistro is a learning based website in which there are many helpful Linux/Unix based articles and tutorials for beginners. It’s a platform where we help Linux/Unix system administrator that how to become a good system administrator. The goal is to give the better solution and guide for system administrator to make the things easy.