跳至主要内容

博文

目前显示的是标签为“install”的博文

archlinux mariadb installation

# pacman -S mariadb # mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql # systemctl enable mysqld.service # systemctl start mysqld.service # mysql_secure_installation 遗忘root密码的话,类似windows下: # systemctl stop mysqld.service # mysqld_safe --skip-grant-tables & # mysql -u root mysql mysql> UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root'; mysql> FLUSH PRIVILEGES; mysql> exit

debian install jdk

sudo apt-get install software-properties-common When prompted to confirm the installation, type  y  for yes. To ensure that we get the correct source line on Debian, we’ll need to run the following command that also modifies the line: sudo add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" Once we do that we’ll need to update: sudo apt-get update Now we’ll go through the installation process of different versions of Java. You can decide which versions you would like to install, and can choose to install one or several. Because it’s the latest stable release, Oracle JDK 8 is the recommended version at the time of writing. Oracle JDK 8 Oracle JDK 8 is the latest stable version of Java at time of writing. You can install it using the following command: sudo apt-get install oracle-java8-installer

如何禁止Win10系统自动安装应用?

  Win10系统中有一些内置的应用,这些应用都是无法卸载的。还有一些应用则是应用商店自动安装的应用,用户甚至没有打开应用商店,Win10也会自动安装这些应用。如何禁止Win10系统自动安装应用呢?   方法如下:   1、按Win+R打开运行,输入regedit回车打开注册表编辑器;   2、展开以下位置:   HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\   3、在该项下新建名为CloudContent的子项;   4、选中CloudContent项,在右侧新建名为DisableWindowsConsumerFeatures的DWORD(32位)值;   5、双击DisableWindowsConsumerFeatures,将其值设置为1,然后保存。   6、重启即可。   以上就是禁止Win10系统自动安装应用的方法了,使用上面的步骤进行设置,你就可以用注册表禁止Win10系统自动安装应用了。