Blog: Computers

Add a New Domain to cPanel (Godaddy for domain and hosting)

Buy the domain

1) Go to the domain's DNS. Change the A record (only the one field I guess) to the domains IP.

Then, you can (if you want) go to cloudflare and do cloudflare. You +add site on cloudflare, enter the domain, then click ok when it retrieves what it finds for that domain's name servers, and it says change to karl, and you go to godaddy to the dns for that domain and change the nameservers to those karl.

2) Go into cPanel (log into it the way you usually do). Go to +Addon domains. Type in the domain. It will create a new folder in the public.html.

Now it should work when you create an index.php file there and put hello on it.

TTTThis

Setting Up a Dual Boot Ubuntu / Win 7 Machine

This method "should" allow Ubuntu to detect Windows and read the Windows files, but not the other way around. There is also a common problem where if you install Win 7, something happens where it fucks with the boot loader and you can't boot into any USB after that (and so can't install any further OSs). Hopefully this doesn't happen on this.

According to someone on a forum:

"You solve this by installing in UEFI mode, which prevents this problem. Use this recipe:

Back up your personal files.

Enter your setup screens and set UEFI mode, disable legacy mode, disable secure boot.

Set SATA mode AHCI, disable RAID.

(Reinstall Windows here if necessary.)

Flash a USB install device very carefully, making sure to 'eject' the device before unplugging it.

Reboot, enter your system's one-time boot menu (often but not always function key F12), and select the install USB device from the UEFI devices list, not the legacy devices list.

Install Linux."

TTTThis

Linux Notes

Things to do to a Linux machine. Notes for the next set up:

VIRTUALBOX

Note: sometimes when you install, VirtualBox will be broken. One note, the 'guest additions' number must be the same as the version of VirtualBox, according to some people. Just double check them if you have issues. Also, 6.0.8 tried to install 6.0.0's guest additions, and there's no way to tell it where to find the correct thing.

  • -Update
  • Do those updates for VirtualBox (for Ubuntu after 19.04),
  • then:
  • Install VirtualBox
  • Created Lubuntu_Nubes and resizing screen works.
  • Create VM for Win7 and disable networking.
  • Install Win7 REMEMBER TO PICK 64 BIT and HOME PREMIUM for 16gb RAM
  • Windows7 also resizing works.
  • Go to Computer in files in Windows, and there should be Devices and Removables and the Additions.iso there. Double click it and install everything. It will ask to reboot and then you should be able to drag and drop
  • the 2 exe files that have to be installed for Ableton to run: vs_redist.x64.exe (both same name).
  • Ableton into the VM (or maybe before the reboot).
  • Ableton should now work, and you have to register it.
  • HOW TO MAKE A SHARED FOLDER:
  • Windows Guest, Ubuntu Host:
  • Go to top menu > Devices > Shared Folders > Shared Folder Settings
  • In "Machine Folders" pick a folder (or create one) - this is making one on your Ubuntu Host. Check 'Auto-mount' and 'Make Permanent' (I don't know which of these is required but I have both checked and its working).
  • OK. Now in the Windows Guest "Computer" directory, you should see a Network Location with your folders name (the folder you selected or made on your Ubuntu host). This folder exists on your Ubuntu host where you put it.
  • MONITOR - to make the monitor right (at least on my 12.5 inch x230:
  • (make shure youve discarded any save state). Settings (from the Vbox program) > Display > VboxVGA. Then restart. Should have a nice stretched screen same size as the monitor

uninstalled virtualbox purged it, deleted urs/share/virtualbox

PHOTOREC - DATA RECOVERY

  • (Photorec and Testdisk (2 names, dont worry about it).)
  • sudo apt-get install testdisk (or photorec I forget which one, but you just install one).
  • make a folder you want all your recoverd files to go in
  • then to do a scan, type
  • photorec
  • as explained here: https://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step
  • to delete your files later, open thunar as admin by going to terminal and typing sudo thunar

CREATING BOOT USBs

  • Disks to erase, then format.
  • Etcher to burn the .iso
  • (forget gparted and unetbootin for now, as Disks and Etcher work better)

Udisks

  • *not tested
  • update
  • then:
  • sudo apt-get install gnome-disk-utility

Kolourpaint comes from:

website, click a button that launches Software Installer

Install Veracrypt:

  • cd to directory
  • tar jxf nameoffile.tar.bz2
  • (NOTE: different letters for non-bz2 files)
  • ./nameofthefilethatwasputhereafterlastcommand-x64
  • Installation should begin.

  • For tar.gz:

  • tar -xzf archive.tar.gz
  • Ubuntu stops asking for password at boot.
  • cd etc/lightdm
  • sudo gedit lightdm.conf
  • edit out the user line with a # at the start of it. save.

BITWIG

installs when you double-click the file (about 250mb). It will ask for login when it boots up.

ABLETON

installs (on Windows inside VM) when you double click it, of course, and you take the number from it when it boots up, give that to the audacity website in your account, download their file, and drag-and-drop that file into audacity.

WHAT IS SAVED ON THIS COMPUTER:

  • Bitwig drums with volume levels I like
  • Kdenlive settings for processing photos
  • Some bookmarks and social media accounts logged in in Firefox on this machine and inside VMs
  • Teamviewer logged in on VM

MIDI KEYBOARD (launch control worked when plugged in. Korg nanokey didnt)

How to:

  • sudo apt install a2jmidid
  • Put a2jmidid -e & in Setup > Options > execute script after startup
  • Go to connect on qjackctl
  • MIDI tab
  • start Hydrogen H2
  • connect nanoPAD2 on left side to Hydrogen on right side

  • USBs automount. Do disable this, instlal dconf-editor

  • sudo apt-get install dconf-editor
  • (not completed yet)
TTTThis