Ubuntu server: Easy Samba Share in Ubuntu Server

Reference link: https://help.ubuntu.com/community/How%20to%20Create%20a%20Network%20Share%20Via%20Samba%20Via%20CLI%20(Command-line%20interface/Linux%20Terminal)%20-%20Uncomplicated,%20Simple%20and%20Brief%20Way! Use samba server installed on your Ubuntu server allow you to easily share a folder from Ubuntu Linux with other network users. 1. Install Samba Server: sudo apt-get update sudo apt-get install samba 2. Set a password for a user in Samba. This is the user name password combination you will use […]

MySQL: Find out which port MySQL Runs on

In Linux, you can try use this command: netstat -tlnp Normally it’s set to run on port 3306. This command shows you something like: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 25934/mysqld Alternatively, you can login to MySQL, and run the […]