notion: an impulse or desire a conception of or belief about something. quorum: the smallest number of people needed to be present at a meeting before it can officially begin and before official decisions can be taken Docker - Building a Secure Swarm Swarm is the future of Docker Swarm is a secure cluster of Docker nodes Swarm hs two parts Secure Cluster part Orchestrator part What is a secure swarm cluster? Well at the highest level, it's a cluster of docker nodes. We got managers and workers and everything secure. So we have got mutual TLS where workers and managers mutually authenticate each other, and all of the network chat is encrypted. Plus the cluster stores encrypted, and it gets automatically distributed to all managers. And we can use labels to tag nodes and customize the cl...
Containers are white hot at the moment especially Docker and Kubernetes. Reckon: to think or believe i,e.. I reckon you will love it. waffle: to talk or write a lot without giving any useful information or any clear answers modular: consisting of separate parts that, when combined, form a complete whole. primitive: are the simplest elements available in a programming language. A primitive is the smallest 'unit of processing' available to a programmer Refactoring: is the process of altering an application's source code without changing it's external behaviour. The purpose code Refactoring is to improve some of the nonfunctional properties of the code, such as readability, complexity, maintainability, extensibility Swapping: the act of swapping two variables refers to mutually exchanging the values of the variables. Usually, this done with the data in memory ex: in a program data_item x := 1 data_item y := 0 swap (x, y); After swap x become...
First, create an alternate user instead of using the default "root" useradd doneill Second, set a password for this user passwd doneill Third, give sudo permission for this user. For that go this file visudo Add permission to your user like this. Here the user name is doneill Now check whether you can run the sudo command with username as doneill su doneill sudo ls If things work good, continue Now prevent SSH login as root user. vi /etc/ssh/sshd_config Search for "Permit" word to Now restart your ssh service by below command service sshd restart Thats it. Now please check what you have done is working fine. Don't logout now, first make sure everything is working fine. type ssh doneill@your systemip and give the password and check if the user login works fine.
Comments
Post a Comment