Monthly Archives: November 2016

Saving ssh login details

http://rabexc.org/posts/using-ssh-agent   # Generate and encrypt the key first. $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/test/.ssh/id_rsa): Created directory ‘/home/test/.ssh’. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification … Continue reading

Posted in Uncategorized | Leave a comment

Lamp On Linode

https://www.linode.com/docs/websites/lamp/lamp-on-debian-8-jessie I might not have needed to do the stuff specific to my host (which I did not connect anyway), as there is a /var/www/html folder, and I could access that just by typing in my ip address from a … Continue reading

Posted in Uncategorized | Leave a comment

Configuring email on linode

I used this to configure a mail server that was needed to send the results of cron jobs https://www.linode.com/docs/email/exim/sendonly-mail-server-with-exim-on-debian-6-squeeze When sending mails, nothing seemed to happen. I think it’s because I have a dynamc IP, no domain, so the mails … Continue reading

Posted in Uncategorized | Leave a comment

Crontab

* * * * * PYTHONPATH=/home/user/pythonfolder /home/user/anaconda3/bin/python /home/user/python_folder/my_script.py In the example, note how the full path is included for both pyhon and the script.

Posted in Uncategorized | Leave a comment

If can’t install vboxguest additions

Insert the CDRom The run sudo bash VBoxLinuxAdditions.run If there is a kernal missing error, try: http://superuser.com/questions/499059/unable-to-install-virtualbox-specify-kern-dir-directory-installing-vir Make sure you have updated version Type the following command $ sudo apt-get update OR as root user enter: # apt-get update Search … Continue reading

Posted in Uncategorized | Leave a comment

Making a bootable USB

Don’t forget the sync command or it won’t work! https://chakralinux.org/forum/viewtopic.php?id=2343 dd if=[name of iso] of=/dev/sdc NOT /dev/sdc1  and before removing the usb stick type into terminal: sync eject /dev/sdc

Posted in Uncategorized | Leave a comment