Category: Linux

Remove index.php from Yii Framework URL


First important point is that Module_Rewrite is enabled on your server(LAMP,WAMP,XAMP..etc) For do URL rewiring in yii2 framework Create one .htaccess file and put in /web folder RewriteEngine on # If a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Otherwise forward it to index.php RewriteRule . index.php

Fast youTube video downloading using YouTube-DL


This is a command line tool for downloading youtube videos. Use the following linux command for downloading videos: smarttips@71:~$ youtube-dl ¬†https://www.youtube.com/watch?v=MR8afJE98Y8 For install this package use the commands in terminal smarttips@71:~$ sudo add-apt-repository ppa:nilarimogard/webupd8 smarttips@71:~$ sudo apt-get update smarttips@71:~$ sudo apt-get install youtube-dl Now you are ready to do downloading…..Enjoy!!!!

batch file renaming in ubuntu


In Ubuntu bulk file renaming or batch file renaming is not easy as like in windows. We need to install packages for easy renaming of file names. One of the best package found suitable for ubuntu file renaming is “pyRenamer” Install pyRenamer – sudo apt-get install pyrenamer. Take pyRenamer from Accessories->pyRenamer.pyRenamer has different options for

Ubuntu command for access another system using ssh


Ubuntu command for access another system is SSH <username>@<ip> Example: sudo ssh smarttips@192.168.1.25 Type the above command in Terminal .You should be the administrator of this system and also know the password of another system Then system will ask the root password and password of the system trying to connect. Give that password and you

How to get root access in ubuntu


Linux is a opensource platform. Most popular linux based operating system is ubuntu. The latest version of ubuntu is choose Ubuntu 12.10. The ubuntu 12.10 version contains latest features but it has long term support. The stable and LTS one is Ubuntu 12.O4 LTS.Ubuntu giving more preference to its secuirity so all root access is

Advertisment ad adsense adlogger