Affichage des articles dont le libellé est Tech tips. Afficher tous les articles
Affichage des articles dont le libellé est Tech tips. Afficher tous les articles

How to set static IP address and networking details in Kali Linux

  In this post, I'm going to share on how to set static IP address and networking details in  Kali Linux.

Steps

1) Open the terminal and check  network interface file .




2) Edit "/etc/network/interfaces" file.


orca@omura:~$ sudo gedit /etc/network/interfaces                                           




3) Disable "dhcp" and update the network static IP address information in the file and "save"





 4) Refresh the connection by running  "ifdown eth0" to turn off the network interface and "ifup eth0" command to turn on the network interface .


orca@omura:~$ sudo ifdown eth0                                                                     
orca@omura:~$ sudo ifup eth0                                                                           

5) Kali Linux should run on static IP address .




Read Previous : How to save time doing passive discovery in Kali Linux using discover or bactrack script framework

~ mardi 30 juin 2015 0 commentaires

How to set static IP address in CentOS using graphical user interface (GUI)


   In this post, I'm going to share on how to set static IP address in CentOS using graphical user interface (GUI)


Steps

1) Open the networking panel by clicking network setting.



2) Click "add profile" to add a new static IP address profile


3) Click "identity"  and give the connection a name .



4) Click "IPV4" and change the Addresses to "manual"


5) Key in your new network and static IP address setting then click "Add"


6) Make sure the new connection is connected.


7) Check the new static connection from the terminal





~ lundi 29 juin 2015 0 commentaires

How to install CentOS in Ubuntu Virtualbox (step by step for dummies)


  
   In this tutorial I'm going to share on how to install CentOS in Ubuntu Virtualbox. Currently CentOS 7 is the latest version in the market. This tutorial can also be used for future reference  

Tutorial rundown 
1)Download latest CentOS
2)Setting CentOS desired parameter in Virtualbox
3)Install CentOS
4)Restart and run CentOS from hard drive.

let's  begin .

1) Download latest CentOS .

1.1) Download latest CentOS from the website.




 1.2) Move the file to the location where you want virtualbox to look for.
(I prefer to keep all my image file in one folder)




2) Setting CentOS desired parameter in Virtualbox

  2.1) Name the new  OS and  choose  "Redhat" as OS version.


  2.2) Set the memory size value for this Operating System.



   2.3) Create a virtual hard drive.



 2.4) Choose "VDI" as the hard drive file type.


2.5) Choose the file size .
 

 2.6) Set virtualbox to use the downloaded image file. Go to "Setting>system"  and look for the CentOS image file.
 





3) Install CentOS

  3.1) Run CentOS in the Virtualbox


  3.2) Since CentOS Live CD doesn't support guest os version in virtualbox, you will be prompted with warning message once you  are in CentOS environment . Basically, once you use mouse to click in the CentOS space, you wouldn't be able to use the mouse on your host system .To use mouse in the host, you need to press  "CTRL"  button on your right hand side. Please read the message for more info.


 3.3) Begin CentOS installation by clicking "Install to hard drive"



 3.3) Choose the language that you will use during the installation and click  "continue"


 3.4) Before you start with the installation, you can customize  Date,Keyboard, installation destination and network host name details .

  
3.4.1) Date and time setting


3.4.2) Keyboard setting



3.4.3) Installation destination and location


3.4.4) Hostname

Once you done playing around customizing installation details, click
 "Begin Installation"



3.5) During the installation process, you need to create  root password and you can also create a user.


3.5.1) Create root password for CentOS . 



3.5.2) Create a user and it's details



3.6) Once installation finish quit the panel .




4) Restart and run CentOS from hard drive.

4.1) Power off Live Cd Centos .
 


4.2) Make hard disk as the first boot device for CentOS in the virtualbox.
 Go to  "setting>system "  and drag hard disk as a first or second on the list.


4.3) Run CentOS from virtualbox. You will be using the newly installed CentOS .



Login with your newly created  user


Finally :)



~ mercredi 3 juin 2015 0 commentaires

Linux Bash Shell Tutorial :How to save terminal session typescript or logfile in Linux




   Sometime as a beginner, intermediate or expert system admin, we need to keep a record on what we did to the system whenever we faced with system problems. One way  we can do this is by recording the Linux terminal session.

 We can save terminal session in Linux by using the built in "script" command.  To record any  terminal session type in script command and followed with the file name that you want.

orca@Positive-Space:~$ script log.01012015                                               

  I make it a habit to include the date in all my logs file name for future reference. Once you entered the command,  the terminal will save everything that you type in the terminal and will save it in current directory location. In this example, "log.01012015" file will be saved in  "user home" directory.

saving terminal session

To stop the terminal saving,you can use exit command .

orca@Positive-Space:~$ exit                                                                     

stopping terminal saving



The saved file can be viewed using any text file editor.

~ jeudi 16 avril 2015 0 commentaires

How to make batch text water image in Ubuntu . Few seconds!

  In this post, I'm going to share on how to add batch text water mark image on your local photos in Ubuntu.This tips is useful if you run your own website or blog. Instead of editing the photos one by one , you can do this in batch and it only take few seconds to complete.

 The software that I will share in this tutorial is call "Phatch" it is  a short form  from "photo and batch" .It is a useful software and you can customize your action list by editing the code. You can read the details of this software here .In this tutorial I will show on how to do this using phatch default action list.

What you need to do ?

1)Download phatch from Ubuntu software centre or  if you are running other Debian Distro, download it from their website
2)Add action list
3)Execute the action list on selected photo folder.
4)Check on your save file location
5)Save the action list for next time use.

Steps

1)Download phatch from Ubuntu software centre or  if you are running other Debian Distro, download it from their website

1.1)Download from Ubuntu Software Centre
Download from Ubuntu Software Centre

Enter password to install

2)Add action list

2.1)Click the  "+" sign to add action list.

click "+" sign

2.2)Search " scale" in the box and edit the details to rescale your local photos as your preference


add scale

Set according to your preferences
2.3)Add "Text" in the action list. And Set according to your preference from text to display, color ,orientation and others .

Add Text

Choose color


2.4)Add "Save" function and state the location the edited file going to be located at.

save function

Choose the new save photos location
3)Execute the action list on selected photo folder.

3.1)Click the "Cog" sign and proceed to choose the photos that need to be edited. then click "Batch"

Click the cog sign

Click to add the photos folder

Click Batch
3.2) The photos will be imported to phatch.

imported photos in progress
3.3)Click "Continue" to proceed with photo editing .phatch will run the action list on all the selected photos.


phatch in action

completed photos.

4)Check your edited photo on your save file location

edited file example


5)Save the action list in your local drive for next time use.







~ mercredi 29 octobre 2014 0 commentaires