In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article introduces how to use source insight to view the code and the installation of SSH and putty under XP, the content is very detailed, interested friends can refer to, I hope it can be helpful to you.
Used to look at the code with source insight before, can it be realized with sharing? The answer is yes. You can create a mapping to implement the
I have rebooted several times and found that ubuntu's IP has changed several times.
1. The IP of fixed ubuntu is input at the terminal first.
# ifconfig
Check ip, and then you can configure it. It's an old habit to back up first.
# cp / etc/network/interface / etc/network/interface.bak#vim / etc/network/interface
There were only two lines of auto lo before, and the configuration of the eth0 network card behind it was added.
I opened two terminals, as shown in the picture, and then: wq exited
2.DNS setting, in fact, the default can be unnecessary to set if you want to set the
# cp / etc/resolv.conf / etc/resolv.conf.bak#vim / etc/resolv.conf
3. Add map my computer right map network drive in the real machine.
4. After that, I can add a project to source insight, and my projec date file is saved on the real machine.
Remember to select own configuration on configuration, because all previous projects are developed in C and now Java has customized CF files that can be imported.
Installation of 5.Pputty
We have installed SSH before.
Apt-get install ssh, remember? Run under the terminal
/ etc/init.d/ssh start
OK, now all we need to do is to install a SSH client software under windowsx. Putty is relatively simple, stupid direct installation.
Set up as shown in the picture
Open can then open a dialogue interface similar to Terminal. If you want to be able to operate in the same way as the resource manager under Windows, you can install SSH client software, SSHSecureShellClient-3.2.9.exe
Installation of 6.SSHSecureShellClient
6.1 installation is also stupid, so let's talk about configuration.
After installation, there are two programs to run SSH Secure Shell Client and SSH Secure File Transfer Client, which can be understood literally, similar to the interface of Shell and File Explorer.
6.2.ubuntu installs the ssh service
Apt-get install openssh-server
Generate key
Ssh-keygen
Rename the public key and leave it on the server
Mv / .ssh/id_rsa.pub ~ / .ssh/authorized_keys
Copy the private key id_rsa from the server and delete the id_rsa file on the server
Scp ~ / .ssh/id_rsa root@192.168.0.XXX:/home/XXX/.ssh/id_rsa_local_101 rm ~ / .ssh/id_rsa-f
6.3. Set the static ip address:
Vim / etc/network/interfaces
If you configure dynamic acquisition of ip, add the following to the above file:
Auto eth0 iface eth0 inet dhcp
If you configure static ip, add the following:
Auto eth0 iface eth0 inet static address 192.168.131.142 netmask 255.255.255.0 gateway 192.168.131.1
If the configuration takes effect, you need to restart the Nic:
Ifconfig eth0 down ifconfig eth0 up
If the configuration is not successful, you need to restart the network service
/ etc/init.d/networking restart
Configure dns
Vim / etc/resolv.conf nameserver xxx.xxx.xxx.xxx
Modify the computer name
Sudo vim / etc/hostname
Restart
Reboot
6.4. Optimize the modification language of Ubuntu system to solve the problem of garbled code
Vim / etc/default/locale LANG= "zh_CN.UTF-8" on how to use source insight under XP to view code and SSH and putty installation to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.