I am planning to dual boot my computer with Windows 10 and Ubuntu on Legacy mode

which should I use for legacy Rufus or Universal USB installer? Or does it even matter? I had a dual boot system of ubuntu and 8.1 but I fresh installed windows 10(used rufus to create bootable usb selecting MBR not GPT) and the system boots straight to windows (no GRUB menu), so i think my ubuntu was in uefi or something so I am planning to fresh install Ubuntu as well..

Ubuntu 18.04.2 Ethernet Bonding

This question is quite unique and different from other guides and documentations out there.

I don’t see any point in bonding two NICs that are connected to the same source because if the source goes down, then bond0 will be rendered useless.

What I’m doing is, I’m trying to bond two NICs with each one having a different source (ISP) so it’s obvious that each one of them will have a different IP address, different gateway etc.

My question is: following almost “every guide” on the internet shows that bond0 needs to be static and i need to set an IP address for it as well as a gateway. How on earth am I supposed to set a static IP address with a static gateway FOR TWO DIFFERENT SOURCEs?

Can someone please explain this?

let’s say NIC1 have: IP_ADDRESS=192.168.1.3 GATEWAY=192.168.1.1

NIC2 have: IP_ADDRESS=192.168.2.14 GATEWAY=192.168.2.1

BOND0 should be static based on what? What am I supposed to write in /etc/network/interfaces

Ubuntu doesn’t boot after install, huge swapfile

Was working without issue within Ubuntu 18.04 on a dual-boot machine.

Installed a tex ide via the command line:

sudo apt-get install texmaker 

which appeared to complete successfully. I subsequently clicked on the first gummi link in a response on this SE page, which lanched a new tab, appeared to be resolving, but never fully resolved after a minute or so. I closed it, launched a new tab and searched, never successfully getting to the page.

I wasn’t doing much otherwise, just watching a youtube vid on an adjacent screen and realized my memory was blocked up after getting errors to cd via the command line. I tried a df on my home directory to see what might be causing it and showed most dirs with normal memory allocations, but a huge swapfile, multiple gigs. I tried restarting to clear it, but haven’t been able to get back in.

I’d allocated 40GB for the Ubuntu partition, and don’t save anything substantial there barring a couple GB movie files in the last couple days, without issue, so I wouldn’t expect the recent install of texmaker would have changed things, even at 1GB+. Checking Windows disk manager shows 100% free, not sure whether that’s good or bad (partition 5):

enter image description here

Any thoughts on how to diagnose and fix.

Edit (with additional boot detail): I’m able to boot, select Ubuntu from within the grub dialogue, and ultimately end up on a command-line looking screen with a version of:

/dev/p5 clean 234234/2342234 files, 234234/2324234 blocks 

after which it hangs.

need to resolve Ubuntu 16.04 booting problem

I have recently updated my workstation from ubuntu 14 to 16.04. After this screen shows “Input Signal Out of Range, Change setting ti 1280×1028-60hz” So I to solve this I modified this command through grub menu #GRUB_GFXMODE=640×480 to GRUB_GFXMODE=1280×1028. And then while restarting I have mistakenly entered into booting menu by pressing F12. Now I cannot come out this boo menu option, I have resarted the system many times still it shows boot menu. Please help me …..boot menu page

habilitar .htaccess Apache Ubuntu

no he podido habilitar la reescritura en Apache

Hice lo siguiente

sudo a2enmod rewrite 

reinicie apache

sudo service apache2 restart 

como en el directorio var/www/html tengo varios sitios separados tengo uno especifico para una api que deseo implementar

var/www/html/site2/api 

luego configurar el apache

sudo nano /etc/apache2/sites-enabled/000-default.conf 

como lo quiero manejar desde un subdominio del tipo api.site2.com el virtualhost principal lo tengo asi

<VirtualHost *:80>     <Directory /var/www/html/site2>          Options Indexes FollowSymLinks MultiViews         AllowOverride All         Order allow,deny         allow from all      </Directory>      . . . </VirtualHost> <VirtualHost *:80>   ServerName api.site2.com   DocumentRoot /var/www/html/site2/api </VirtualHost> 

y desde luego le di su respectivo

sudo service apache2 restart 

después dentro del directorio /var/www/html/site2/api cree 2 cosas para probar

 - apples.html  - .htaccess 

en apples.html cualquier cosa que pueda visualizar pero en .htaccess puse lo siguiente

RewriteEngine on RewriteRule ^apples$   apples.html [NC] 

al entrar ah api.site2.com me arroja un error 404

que puede estar pasando? se me esta escapa algo?

Ubuntu Server 18.04.2 stuck on boot after install

So I just installed Ubuntu Server 18.04.2 on VirtualBox, and during the install reboot, it froze at:

[ OK ] Reached target Cloud-init target 

I gave it 1GB of memory, 1 core of CPU, and 500GB of storage because it is for a home server I am setting up.

Should I wait for it, shut it down the hard way, or do something else?

Thank you in advance.

Alias don’t function Ubuntu Mate 19.04

Folks, i setup a alias on my Ubuntu Mate 19.04 like this

alias up=’apt-get update && apt-get upgrade’

i setup on

nano /etc/bash.bashrc

source /etc/bash.bashrc

put that on the end of the file

but when i do the up “command/alias” they return to me this:

sudo up: commmand not found

if i do only: up

return to me this:

Reading package lists… Done E: Could not open lock file /var/lib/apt/lists/lock – open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file /var/cache/apt/pkgcache.bin – RemoveCaches (13: Permission denied) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin – RemoveCaches (13: Permission denied)

Can you help me?

thanks!