Monday, July 5, 2021

How to run a PHP file on Browser using Terminal?

 After You create a PHP file, 

  • Open Terminal
  • Go to the folder contains your PHP file
    • eg: think you created  a folder named PHP on desktop and saved your php file in it. then you as like this.
      • cd Desktop
      • cd PHP --> Your php file contains here. You can check it with "ls' command.
  • Now use this command there.
    • php -S localhost:8888 -t.
      • remember to put a dot after "t"
      • you can use any 4 digits. Not only 8888
  •  Now go to your browser and type this command on the address bar and press Enter.
    • localhost:8888/your_php_file_name_here.php
        •  Your_php_file_name_here --> the name you used to save your php file.

Friday, July 2, 2021

How to install Apache Web browser in XUBUNTU?

Apache web server is a popular web server we can use easily.
  • Open Terminal Emulator you use.
  • Run Update command.
    • sudo apt-get update
  •  Install Apache.
    • sudo apt-get install apache2
  • Start the service.
    • sudo service apache2 start
  • Check whether It's working or not
    • http://localhost/

 Use these command to start, stop and restart.

  • sudo service apache2 start
  • sudo service apache2 restart
  • sudo service apache2 stop

to get status of apache server.

  • sudo service apache2 status

 



Thursday, December 24, 2020

How to Download Instagram Photos?


 

Because of some copyright issues, Instagram doesn't allow us to download other users' photos. So I had to screenshot them and crop to use them. But using an extension to download photos is very easy to use. With this, We don't want to waste our time by taking screen shot and cropping photos. Here are some Popular Instagram photo downloaders..

make-money-88x31

 

 

 

 

 

 


make-money-234x60 make-money-234x60-2

Sunday, December 13, 2020

"sudo" command in XUBUNTU

get-fans-468x60-2 get-fans-468x60 get-fans-234x60 get-fans-234x60-2

    "sudo" means Super User Do. The Super User can do a lot of things like downloading and installing. We can run any command as an administrator using "sudo"

    But You must be careful to use this command. If you type a command incorrectly, you will destroy the system.

    Sometimes, It acts like a regular user and sometimes It's the root. By default, the root account password is locked. So you cannot login as root directly. You have to use the root password. 

    When sudo asks for a password, just type your password. It's Your user password that used to login to your device. It'll work.

    When using sudo, your password is stored by default for 15 minutes. After that time, you need to re-enter your password.


**********

 Common Sudo Commands

  • Update your database

$ sudo apt-get update 

this commands updates your database and let your system know if there are newer packages available or not.

  • Upgrade your db

ok.. after the update, you need to upgrade the installed package. So you can use this command.

$ sudo apt-get upgrade 

 if you want to upgrade a particular package, use this command

$ sudo apt-get upgrade <type your package name here>

  • Install a new program

if you want to install a program to your device, you can use this command

$ sudo apt-get install <type the program name you want to install here>  

 ex- sudo apt-get install gimp

  • Remove a program

Sometimes you want to remove an installed program. then you can use this command.

$ sudo apt-get remove <the installed package>

This command only remove the software and not the configuration files or other data files. So when you need to re-install, you have same settings. if you want to remove the package completely,, use this.

 $ sudo apt-get purge <package-name>

  • to remove unnecessary packages

$ sudo apt-get autoremove

     when you install an application, the system will install some other software that need to run your program. like some libraries. But when you remove your software, the installed software by system will remain longer. so with this autoremove command you can remove them also.




Saturday, December 12, 2020

Accessories

  •  Run Program
    • Enter a command you want to launch

  • Application Finder
    • Find and Launch Applications Installed on your system 

  • Catfish file search
    • Search the file system 

  • Character Map
    • Insert Special Characters Into documents 

  • Engrampa Archive Manager
    • Create and Modify an archive 

  • File Manager
    • Browse the File System 

  • Fonts
    • View Fonts on your system 

  • MATE Calculator
    • Perform arithmetic, scientific or financial calculations 

  • Mousepad
    • Simple Text Editor 

  • Notes
    • Ideal for quick notes 

  • Onboard
    • Flexible onscreen keyboard 

  • Screenshot
    • Take the screenshot of entire screen of the active window 

  • Terminal Emulator
    • Use the command line 

  • TeXInfo
    • The Viewer for TeXInfo documents 

  • Xfburn 
    • CD and DVD burning application



get-fans-468x60-2

How to run a PHP file on Browser using Terminal?

 After You create a PHP file,  Open Terminal Go to the folder contains your PHP file eg: think you created  a folder named PHP on desktop an...