Skip to main content

Posts

How to create mobile icon in online

using blow, we can create a mobile application multiple variety icon https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=clipart&foreground.clipart=android&foreground.space.trim=1&foreground.space.pad=0.25&foreColor=rgba(96%2C%20125%2C%20139%2C%200)&backColor=rgb(68%2C%20138%2C%20255)&crop=0&backgroundShape=square&effects=none&name=ic_launcher

How to build war file in spring boot application using maven

we specify following activity <packaging>war</packaging> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> <scope>provided</scope> </dependency> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration>                         <!-- this will get rid of version info from war file name -->                     <finalName>masterservice</finalName>                 </configuration> </plugin> </plugins> </build> And we add in spring boot main class  extends SpringBootServletInitializer prote...

how to give remote access to mysql server in Ubuntu cloud server

To expose MySQL to anything other than localhost you will have to have the following line For mysql version 5.6 and below uncommented in  /etc/mysql/my.cnf  and assigned to your computers IP address and not loopback For mysql version 5.7 and above uncommented in  /etc/mysql/mysql.conf.d/mysqld.cnf  and assigned to your computers IP address and not loopback # Replace xxx with your IP Address bind-address = xxx . xxx . xxx . xxx Or add a  bind-address = 0.0.0.0  if you don't want to specify the IP Then stop and restart MySQL with the new my.cnf entry. Once running go to the terminal and enter the following command. lsof - i - P | grep : 3306 That should come back something like this with your actual IP in the xxx's mysqld 1046 mysql 10 u IPv4 5203 0 t0 TCP xxx . xxx . xxx . xxx : 3306 ( LISTEN ) If the above statement returns correctly you will then be able to accept remote users. However for a remote user to ...

how to Install MySQL Server on Ubuntu cloud serve

Install MySQL Install the MySQL server by using the Ubuntu package manager: sudo apt-get update sudo apt-get install mysql-server The installer installs MySQL and all dependencies. After installation is complete, the  mysql_secure_installation  utility runs. This utility prompts you to define the mysql root password and other security related options, including removing remote access to the root user and setting the root password. Allow remote access If you have iptables enabled and want to connect to the MySQL database from another machine, you must open a port in your server’s firewall (the default port is 3306). You don’t need to do this if the application that uses MySQL is running on the same server. Run the following command to allow remote access to the mysql server: sudo ufw allow mysql Start the MySQL service After the installation is complete, you can start the database service by running the following command. If the service is already started,...