Changes

Jump to: navigation, search

XUELK-AN-002: Running Debian distribution

1,492 bytes added, 08:29, 10 April 2017
Miscellaneous configurations
===<code>ssh</code> server===
The configuration file <code>/etc/ssh/sshd_config</code> is set to permit <code>root</code> user to log in.
===Installing MySQL server with remote access===
root@arm:~# sudo apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
...
Reading package lists... Done
root@arm:~# sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
...
After this operation, 85.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://security.debian.org/ jessie/updates/main mysql-common all 5.5.54-0+deb8u1 [81.2 kB]
...
Configuring mysql-server-5.5
----------------------------
 
While not mandatory, it is highly recommended that you set a password for the
MySQL administrative "root" user.
 
If this field is left blank, the password will not be changed.
 
New password for the MySQL "root" user:
 
 
 
Repeat password for the MySQL "root" user:
 
 
Selecting previously unselected package libaio1:armhf.
...
Processing triggers for systemd (230-7~bpo8+2) ...
root@arm:~#
 
 
root@arm:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 43
Server version: 5.5.54-0+deb8u1 (Debian)
 
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
 
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
 
mysql> exit
Bye
root@arm:~#
 
 
 
#bind-address = 127.0.0.1
#skip-networking
4,650
edits

Navigation menu