This is simple. Open a terminal and follow the steps below. This worked for me on MacOS 10.13.6
Open the Terminal.
Run sudo vim /etc/services
Enter your password
Find the lines assigned to port 22, something like the image below
Replace both ports 22 with your desired ssh port using a number between 1024 and 32,767
Now you need to restart the services. Be sure to do this if you have direct access to the console for your MacOS. If you do it remotely you may loose connection. I could not find a way to ‘restart’ a service on MacOS as we normally do in Linux. You have to ‘unload’ and ‘load’ the service in MacOS. Use the below commands.
Hola! Each runlevel has a certain number of services stopped or started, giving the user control over the behavior of the machine. Conventionally, seven runlevels exist, numbered from zero to six. While brewing coffee at home I found the difference between runlevels in Linux. See below.
Shuts down the system.
Does not configure network interfaces, start daemons or allow non-root logins.
Does not configure network interfaces or start daemons.
I was asked the other day ‘How does the default Apache virtual host file looks like?’ I was having my Peruvian coffee and decided to place below the default Apache virtual host file in this post for any future reference.
API is an Application Programming Interface which is a way that allows communication between two applications using a set of rules. While having a great coffee from Bolivia I found the following API requests types.
The main Web Service APIs are:
SOAP (Simple Object Access Protocol) uses XML to transfer sets of information in the form of objects. Created by Microsoft in 1998.
XML-RPC was developed in 1997. It uses identifying tags similar to HTML and provides a rigid way to structuring data.
REST (Representational State Transfer) Mainly a set of HTTP verbs. GET, POST DELETE, PUT handle the management of the server’s resources.
I hope this information about API requests types is helpful. You can also contact me if you have questions.
An innerjoin it is the most common kind of join, so common that SQL doesn’t actually make us say “inner join” to do one.
An outer join returns a set of records or rows that include what an inner join would return, but also includes other rows for which no corresponding match is found in the other table. There are 3 types of outer join: