Friday, November 15, 2013

How to make VirtualBox use GPU or fix slow performance problems with ubuntu 12.04 ,12.10,13.04,13.10, 14.10

                                                               step 1

                                  sudo apt-get install linux-headers-$(uname -r)            

                                                               step 2
                    sudo apt-get install build-essential 

step 3

cd /media/


step 4

cd /VBOXADDITIONS_4.3.0_89900/

(in your case  there may be other   numbers)

step 5

then just type 
sudo . /VBoxLinuxAdditions.run
and hit  Enter

step 6

sudo nano /etc/modules

step 7

add       vboxvideo
Ctrl +x  then type y

step 8

/usr/lib/nux/unity_support_test -p

step 9

check if all is ok
REBOOT your pc

UBUNTU 14.10  fri dec5 2014

-----------------------------------------------------------

step 10

If  system still very slow  last chance

step 11

click here 

step 12
choose GNOME CLASSIC (no effects)

the end.

/usr/lib/nux/unity_support_test -p

sudo apt-get install linux-headers-$(uname -r)

sudo apt-get install build-essential

cd /media/VBOXADDITIONS_4.3.0_899660

sudo nano /etc/modules

vboxvideo

reboot your pc

Thursday, November 14, 2013

How to setup static ip address in debian or ubuntu desktop or ubuntu server UPDATED for ubuntu 16.04

                                                                 step 1
                                                       
                                                just check your interfaces
                                sudo ifconfig  or ifconfig (from root)

step 2

default DHCP(router gives out each time a new IP address)


step 3

backup your   network configuration file ( recommended ) 


step 4

just chek 

step 5

install arp-scan   (don't forget use sudo)    

step 6

use command      arp-scan -I eth0 -l
or
arp-scan --interface=eth0 --localnet
and

step 7

now you know which ip addresses on your LAN are occupied


step 8

check ip address of your default router 


step 9

results


step 10 

time to change your IP address
command    nano /etc/network/interfaces

step 11


   auto eth0
                     iface eth0  inet static
                      address 192.168.1.2  
                          netmask 255.255.255.0
                      gateway 192.168.1.1
                             broadcast 192.168.1.255
                                   nameservers 8.8.8.8  8.8.4.4

(number in red color need to be changed to the number you want)

to safe and exit nano text editor use command Ctrl+x and then press y

step 12 
(in case if you change your mind and want to use old settings)
just comment lines
you need to restart your system 
your choice
without living your desktop 

command     /etc/init.d/networking restart
or
you can do manually(just press restart button)  
the end for debian

step 13

this step  only for ubuntu desktop or server 
sudo nano /etc/network/interfaces

step 14


UBUNTU 16.04

Tuesday, November 12, 2013

How to make secure file transfer from remote host to your local host

                                                                                                                   step 1
                                                                                          scp  /root/Desktop/filename.png  root@192.168.1.2:root/Desktop

step 2 
connect over ssh to your server or remote host

step 3
change directory to  file you need 
cd /Documents/

step 4
if ssh not enabled  or disconnected 
use command on your local host 
(or enable ssh)
service ssh restart
192.168.8.21

step 5



scp lastrec root@192.168.1.2:/root/Desktop/datab
(don't forget use    sudo)

step 6
om my local host 192.168.1.2


step 7

on my remote server  192.168.1.21
 the end.


you have to be connected over ssh to remote host
 and  in your case possibly
scp  /home/john/file you want to   username@192.168.1.13:/home/adam/Desktop
                     

How to enable ssh connection on remote host

                                                              step 1
                                                                       

step 2

on remote host
etc/init.d/ssh start

step 3
on remote host
sudo sshd generate
step 4
make permanent on every start
                                                      update-rc.d ssh defaults  
step 5
check status
service ssh status

step 6 
(optional) on your host
sudo service ssh restart

wordpress problem with plugin updates

                                                           changing permissions will solve the problem                                    ...