xs
Small - sm
Medium - md
Large - lg
Extra large - xl
<div class="container">
<div class="row">
<div class="col-8">col-8</div>
<div class="col-4">col-4</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm">col-sm</div>
<div class="col-sm">col-sm</div>
<div class="col-sm">col-sm</div>
</div>
</div>
.btn-block
<button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button>
<button type="button" class="btn btn-secondary btn-lg btn-block">Block level button</button>
.mt-1
to mt-5
classes for .row
containers to assign margin-top
<div class="alert alert-success" role="alert">
<h4 class="alert-heading">Well done!</h4>
<p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>
<hr>
<p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
</div>
sudo apt update
install openssh-server
sudo apt install openssh-server
Once the installation is complete, the SSH service will start automatically. You can verify that SSH is running by typing:
sudo systemctl status ssh
output
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-06-01 12:34:00 CEST; 9h ago
...
Ubuntu ships with a firewall configuration tool called UFW. If the firewall is enabled on your system, make sure to open the SSH port:
sudo ufw allow ssh
Connecting to the SSH Server #
To connect to your Ubuntu machine over LAN invoke the ssh command followed by the username and the IP address in the following format:
ssh username@ip_address
sudo apt update
sudo apt install git
You can confirm that you have installed Git correctly by running the following command:
git --version
return view('viewblade', compact('view1','view2','view3','view4'));
On the other hand, you can use with()
:
return View:('viewblade')
->with(compact('view1','view2','view3','view4'));