Category: Linux/Unix
-
View .htaccess hidden files in Mac
By default your mac, If you want to see hidden files like .htaccess To enable this feature just open terminal and execute this simple command. That’s about it.
-
How to Install SSL certificate in Amazon Lightsail
It is super easy to install SSL certificate (not Let Encrypt) in Lightsail with apach2/openssl. We installed a certificate from Sectigo which is issued for one year. Follow the steps Prepare the server Stop Apache Generate CSR and private key first Get the Certificate from Authority Unzip it you will find server.crt and chain_ca.crt SCP…
-
SCP file copy from Cpanel to Lightsail instance
Are you copying files from cpanel server to amazon lightsail instance with wordpress?. You dont need to struggle. All you need to do is just use this one line. Download the key from lightsail instance, upload to origin server (eg. cpanel) and change the permission to 6o0 for key.pem. It is super easy! Replace the…
-
Twitter videos not playing in Firefox (Solved)
Problem: Twitter Videos wont run in firefox browser in Ubuntu Solution: If you happen to use twitter in firefox browser for ubuntu, videos will flicker or will not play, you might get a warning that video codecs not installed. Fortunately this can solved using just one line command sudo apt install ffmpeg ubuntu-restricted-extras Thats it.…
-
Fix > Wifi Activation failed for Ubuntu
If you have installed a new version of Linux Ubuntu or Mint distribution you might have issues with Realtek wifi adapter (USB) not connecting properly with weak wifi signal even if the router is 5 feet away. The reason for this is faulty drivers, in my case i used RRTL8192 adapter. In most cases ubuntu…
-
How to Install PHP extensions using Yum in Cpanel
If you are running Centos 7 or earlier version, installing php extensions using command line can come in handy. This way you dont need to use EasyApache and select extensions. Iconv and Curl pear channel-update pear.php.net yum install ea-php73-php-iconv -y yum install ea-php72-php-iconv -y yum install ea-php72-php-curl -y Opcache yum install ea-php72-opcache yum install ea-php-opcache…
-
6 Things to consider choosing a VPN
Whether you want to protect your family’s devices from cyber-criminals, a business that wants to enhance the safety of remote working, or a traveller who wants to retain access to entertainment libraries back home, having a high-quality VPN is essential. Virtual Private Networks have become an indispensable part of digital life for millions of…
-
25 Amazing things you can do in a linux command terminal
Linux commandline is absolutely amazing loved by almost all system administrators. Here you will discover powerful and impossible things you can do, just using a command line terminal. 1. Searching files Searching for certain files are inevitable for admins. find /home -type f -name “*.conf” and to use locate, which is the easiest sudo updatedb…
-
HOWTO: Setup Nginx/PHP/MySQL/WordPress in Amazon EC2
Nginx is a lightning fast, lightweight web server, a great alternative for apache in terms of speed, scalability. The good news is nginx comes pre-installed in amazon linux. We will see how quickly we can setup wordpress running on top of php, mysql running Nginx server in Amazon linux. Start Nginx webserver and make sure…
-
Beginners Word2vec Tutorial on large Text corpus
Word2vec when run on large text corpus, automatically captures relationships and similarities in text data. For example, if you ask Germany capital, it will say Berlin. Word2vec generates vectors for each word and a simple cosine of the vector, shows how close two words are. I will be using hillary emails text corpus from kaggle…