To install open SSH:sudo apt-get install Openssh-server
Change root passwordsudo passwd root
Log in with a different account and modify/etc/ssh/sshd_config with sudo nano:[Email protected]:~$ su-root #切换到root账户Password: #输入第二步修改的root密码[Email protected]:~# vi/etc/ssh/sshd_config
Find the following code, comment out #PermitRootLogin without-password, add permitrootlogin Yes# Authentication:Logingracetime 120#PermitRootLogin Prohibit-passwordPermitrootlogin YesStrictmodes Yes
Restart the SS
Preparatory workThe first thing to install is IpythonRecommended direct Anaconda (installed on the server).Anaconda helps you integrate N-Python-related environments (packages) so you don't have to manually click and installServer Startup Ipython NotebookCode:# Port own definition # IP I direct use of four 0, if there is a need to change their ownRemember to specify the IP and port, where your current path starts, and where the path is when you enter notebook.Local accessCopy the in URL to a loc
I remotely copy the/etc/hosts file to the S1 host on the S0 host, and the following error message appears:[Email protected]:~$ scp/etc/hosts [email protected]:/etc/[email protected] ' s password:Permission denied, please try again.The solution is as follows: 1. sudo gedit/etc/ssh/sshd_configComment out Permitrootlogin Without-password, add permitrootlogin Yes:# Permitrootlogin Without-passwordPermitrootlogin YesSave, exit2. Restart the SSH service sudo service ssh restartTry the SCP command
In general, we use SSH Client remote login Linux system, as for the graphical interface of the Linux remote landing tools, we generally think of VNC, but its security is not enough,
Here, I will describe the installation configuration method for XRDP. We can easily through Windows Remote Desktop Linux.XRDP Installation Configuration method
Open Terminal: Install
(0.5.0-2) ...* Generating xrdp RSA keys ...Generating bit RSA key ...Ssl_gen_key_xrdp1 OKSaving To/etc/xrdp/rsakeys.ini[OK]
* Starting Remote Desktop Protocol Server [OK]
2. Configure XRDPThe goal is to let XRDP transmit the remote service 2D desktop, the default transmission is 3D desktop, there may be a problem.zhou@desktop:~$ sudo vim/etc/xrdp/startwm.sh#!/bin/shif [-r/etc/default/locale]; Then. /etc/d
[Email protected]:~# cat/etc/issue
Ubuntu 12.04 LTS \ \l
Requirements: Now you need to remotely connect to the Ubuntu GUI because there is a program that needs to be configured using a graphical interface. By default, Ubuntu server is no graphical interface, using Xmanager remote connection
Original: http://blog.sina.com.cn/s/blog_7e64a87b0100rn8w.htmlSSH server, you can log on to the remote server via SSH protocol, but Ubuntu is enabled by default, but is logged on by public key.Enable root User: sudo passwd root #修改密码后就启用了Install OpenSSH server (it looks like Ubuntu is installed by default):1. Install OpenSSH server using the APT command$ sudo apt
:1Xauth:creating new Authority file/home/user/. XauthorityNew ' user-ms-7549:2 (user) ' Desktop is User-ms-7549:2Creating default startup Script/home/user/.vnc/xstartupStarting applications specified In/home/user/.vnc/xstartupLog file Is/home/user/.vnc/user-ms-7549:2.log2. Remote Desktop useUsing CentOS with Vncviewer (installed in the VNC package)$ vncviewerAfter Ubuntu Vnc4server is started, the default p
Description
A friend asked me for help when installing MySQL with Ubuntu Server 16.04 to set up a remote access problem. However, I have not used Ubuntu to install MySQL, so search a lot of technical documents, than the gourd painting ladle. However, due to the differences in the MySQL version, there are some problems with the Setup setup: You cannot access it r
First, to determine whether Ubuntu open the firewallsudo ufw statusOpen firewall 3306 Portsudo ufw allow 3306Second, see if Port 3306 is openNote: The red box indicates that the IP address of the 3306 binding is –> unmodified before:127.0.0.1:3306–> that is MySQL default bind localhost, remote access is not* If it is bound to 127.0.0.1 then continue to see the third step, otherwise please skip the third ste
Ubuntu under Installation and remote connectionInstall, view services, whether the service starts automatically on boot, view ports, local connections, remote connections.InstallationApt Install MongoDBView ServicesLl/etc/init.d-rwxr-xr-x 1 root root 7768 June mongodb*Service MongoDB StatusMongodb.service-an object/document-oriented DatabaseLoaded:loaded (/lib/sy
default line, direct enter, save after ctrl+x exit.650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/9B/57/wKiom1lh7wbQu5wcAAAl3hwwux8870.png "title=" 6.PNG "alt=" Wkiom1lh7wbqu5wcaaal3hwwux8870.png "/>Restart SSH service after exiting:sudo/etc/init.d/ssh startLog in again using the remote SSH protocol, and root can also be logged in.This article is from the Linux OPS blog, so be sure to keep this source http://jk6627.blog.51cto.com/1200268
Label:First, turn on the Mys remote access function 1. Enter the server input Netstat-an | grep 3306 confirms that 3306 is open to the outside, MySQL default state is not open access function. If the port is not open after entering the above command, it will be displayed 2, from the above results can be seen, MySQL 3306 port is only listening to local connections, which prevents external IP access to the database, so you need to modify the MySQL conf
: Grant root account."%": indicates that the authorized user IP can be specified, which means that any IP address can access the MySQL database."Password": Assign the password corresponding to the account.8. Connect to the remote MySQL database via the MySQL clientIn your own local MySQL client, enter:Mysql-h ip-u root-p;Where IP is the IP address of the server where you access the database9. Garbled Repairsudo gedit/etc/mysql/my.cnfOpen after the[Cli
1, installation Openssh-serversudo apt-get install Openssh-server2. Check whether the installation is successfulThe sshd proves to be a success. 3. Connect local authentication using SSH localhost4. Use SSH connection on other computersThe last CD ~ and LS display content is already on Ubuntu, indicating that the connection has been successful 5, from Ubuntu to download things to the Mac, another open a
This paper extracts and collates the information of installing and configuring VNC Service program for Ubuntu system on the Internet.Ps:ubuntu practice version of Ubuntu 16.04 LTSUpdating the operating system software packageApt-get Updateapt-get UpgradeInstalling Gnome and Vnc4serverApt-get Install Gnome-panel Gnome-settings-daemon metacity nautilus gnome-terminalapt-get Install Vnc4serverStart Vncserver f
The following command line is run in a terminal: Note Article to: http://blog.csdn.net/liumaolincycle/article/details/50052619 installation XRDP
sudo apt-get install XRDP1 1 Installation Vnc4server
sudo apt-get install Vnc4server1 1 Update system Download source
sudo apt-get update1 1 Installation Xubuntu-desktop
sudo apt-get install Xubuntu-desktop1 1 writes to Xsession xfce4-session
echo "Xfce4-session" >~/.xsession1 1 Open XRDP Service
sudo service xrdp restart1 1 View IP address
Ifconfig1 1
Install related software
sudo apt-get-y install Xfce4 xrdp vnc4server
Once the software has been installed, we will review the relevant packages
Dpkg-l XRDP
The files in the red box are the one we need to focus on configuring
Dpkg-l Vnc4server
Check if there is a script file inside the red box
Configure the Xfce4 desktop session file. Because of compatibility issues between XRDP, GNOME, and unity, we also need to configure a Xfce4 desktop session file for every user who needs to log on to
displayed over SSH to the Xming server that is running locally and is then displayed by the Xming server. So, from the perspective of graphical display, xming is the server.One: Installation of xmingDownload to SourceForge: Http://sourceforge.net/projects/xming/?source=typ_redirect, Xming and xming-fonts respectively.As for the installation process, there is nothing to say.II: Configuration of the Xming Three: Configuration of Unix/linux ServerModify the configuration file of the server under
Description: In fact, it is better to install VNC than to install a teamview faster, and full platform support.1. Installation$$sudo apt-get install vnc4server$sudo apt-get Install XRDP 2. Start Vncserver, initializeVncserver #启动vncserver, the first time you need to enter a setup login passwordIf the password is forgotten, you can go in the ~/.vnc/directory to delete the password file.3. Modify the configuration file Xstartupsudo gedit ~/.vnc/xstartupReplace it with the following:#!/bin/SH#
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.