If you ping the domain name, ping:unknown host xxx.xxx appears.But when you ping the IP address, you can pass it.The DNS server is not configured properly,Check the configuration file/etc/resolv.conf, if there is nameserver xxx.xxx.xxx.xxx, such as the use of DNS server nameserver 8.8.8.8, if any, modify an available DNS server, such as 8.8.8.8 or 4.4.4.4, Save exit!Of course, if even the IP ping 8.8.8.8 are not ping, then the network configuration is
From: Http://www.blogjava.net/zhyiwww/archive/2010/05/24/321742.html How to configure a virtual host with multiple ports in Apache in Linux Linux (UBUNTU)By defaultThe default document directory is/var/www.Default port: 80 To publish a system resource directory, run the following command: (1) Add a listening port# Cd/etc/apache2# Vim ports. confFile addition:Namevirtualhost*: 8000Listen 8000.(2) configu
There are several ways to check the1Vi/etc/ssh/sshd_config:Then remove the annotation numbers for these two itemsPort 22Protocol 22Check sshd Servicesudo service SSH status.3Check that the names are consistent/etc/hostname, And/etc/hosts.4Check the firewall.sudo service UFW status5View TCP port 22[Email protected]:~$ Netstat-nat | Grep:22TCP 0 0 0.0.0.0:22 0.0.0.0:* LISTENTCP 0 IPADDR.197:22 221.123.129.155:54465 establishedTCP 0 0 ipaddr.197:22 221.123.129.155:1259 establishedTCP 0 0 ipaddr.197
Ssh: connect to host IPADDR port 22: Connection timed out on ubuntu, ipaddrubuntu
You can check from the following aspects:
1Vi/etc/ssh/sshd_config:
Remove the comments of the two items.
Port 22
Protocol 2
2
Check sshd service
Sudo service ssh status.
3
Check whether the names are consistent
/Etc/hostname, and/etc/hosts.
4
Check the firewall.
Sudo service ufw status
5
View tcp port 22Zhaoxiaowei @ beigang
Performsudo apt-get install RdesktopInstalling RdesktopIn Terminal input:Rdesktop 192.168.0.3:4747Full screen logon to Windows XPRdesktop- F 192.168.0.3:4747There are 1 "serious" problems, the screen after login does not exit the full screen button, how to exit the full screen?Ctrl+alt+enter can exit full screen.After exiting full screen, if you go to Windows XP again?Ctrl+alt+enter again.More parameters about the Rdesktop:-U xxxxxx login user, optional-P xxxxxx login password, optional-R clipbo
If "Auto mount" is checked when setting up the shared directory, then nothing in the Linux in guest is moved, and the system automatically creates a mount point with "sf_" prefixed with the share name in "/media", such as the share name you set is "share", then this mount point is "sf_ Share ", the system will be automatically mounted as soon as it starts up. However, because the default permissions for this mount point are "vboxsf" for the user group created by VBox, you will not be able to vie
Although Virtual box provided an option of shared folder, It is notStraightforward to use this shared folder. It took me some searches onVirtualbox forum to find it how Ubuntu Guest OS can access the sharedFolder on WINXP Host OS.
1. Add folder (s) to shared folder menu.
It is important to write down the folder names at this step.
2. Boot guest system, open a terminal and type in the following comm
Tags: technology sharing solution folder successfully own image using logs Vbo1. Installation VirtualBox Enhanced Features2. CD to /media/rocky/vboxadditional Rocky for my system to use the user name, according to their own user name to replace3.sudo./vboxlinuxadditions.runAfter the installation is successful, restartWorkaround:Add the current user name to vboxsf this user group (my username is rocky) sudo adduser rocky vboxsfVirtualBox under Ubuntu a
VirtualBox is a very good software, usually with the host there are 3 ways,bridged mode ,nat mode, Host-only way, the default way to install is NAT, But this way in the VirtualBox virtual machine has a disadvantage, is that the virtual machine can ping the host, the virtual machine can also access the external network through the
IntroductionTransfer from http://www.pandacademy.com/%E5%A6%82%E4%BD%95%E5%9C%A8ubuntu-14-04-lts%E4%B8%8A%E8%AE%BE%E7%BD%AEnginx%E8%99 %9a%e6%8b%9f%e4%b8%bb%e6%9c%ba/#i-3When using an Nginx Web server, you can use server blocks (similar to a virtual host in Apache) to encapsulate configuration details and host multiple domains for a single server.In this tutorial, we'll discuss how to configure a server blo
"Browser access to My.site,OK, Complete ~ ~Reference Links:
Http://howtoubuntu.org/how-to-install-lamp-on-ubuntu
Configuring the Lamp environment under Ubuntu Server 16.04
Ubuntu 16.04 Build LAMP
Open PHP and Apache error hints
Ubuntu16.04 installation of Redis and PHP Redis extensions
Ubuntu
/hosts file? Root permission and a text editor.
In this tutorial, I will use my favorite text editor, vim. Okay, open a new terminal (CTRL + ALT + T), and then run the following command to open the/etc/hosts file for editing.
Vim/etc/hosts
Add the following line
127.0.0.1 domain.com
Change domain.com to the website you want to shield. After editing, save the file and exit.
Now it is time to test whether the method is successful. Try to access the
How to modify the Ubuntu terminal Display user name and hostname, this problem for the familiar person, trivial, but sometimes knowledge should always accumulate some, even a small knowledge point, sometimes come to the time to find forget how to do, so record. The steps are simple."Declaration" Welcome reprint, but please keep the article original source: http://blog.csdn.net/yelangjueqi/article/details/455566571. Before modificationFormat: User name
VirtualBox 5.1.20ubuntu-16.04.2 Server Edition.Mainly used for work compiling, virtual machines in the background run. Under Windows SSL login. Consumes less resources. Configure the virtual machine network to nat+host-only mode. In the absence of an extranet, Windows can also connect to the login.1, Settings-network plus two network cards, Nat,host-only. Other default2, start
background Color:40--49 Font Color:30-39 40: Black 30: Black 41 : Red 31: Red 42: Green 32: Green 43: Yellow 33: Yellow 44: Blue 34: Blue 45: Violet 35 : Violet NBSP; 46: Dark green 36: dark green NBSP ; 47: White NB Sp 37: white ANSI control code:\033[0m close all Properties \033[1m setting High brightness \033[4m underline \033[5m flashing \033[7m Anti-display \033[8m blanking \033[30m- -\033[37m Setting foreground color \033[40m-- \03
Ubuntu Sudo appears unable to resolve host solutionUbuntu environment, assuming that this machine name is ABC (machine's hostname), each execution sudo will appear this warning message:Sudo:unable to resolve host ABCAlthough sudo can still be performed normally, it is set directly from/etc/hosts, so that ABC (hostname) can be returned to the 127.0.0.1 IP.Add the
Remember once, want to put their computer "Houbin Rabbit" Take a loud name, but asked for a long time Niang and Google, all want me to delete the current user (Userdel-r xxx), re-build a user (AddUser xxx), but my computer is all environment variables are well-equipped, Do Android source development of children's shoes will know, with an environment is how abnormal, in the middle of a step error, will lead to compile a few hours of the source of naught. However, I also like to toss the Lord, is
Ifconfig Check the configuration, no problem, is OK,Check the firewall, it's closed, damndest, what's the problem?All kinds of attempts, finally, the IP into automatic acquisition can be ping through, but why not manually set it?Finally read this friend's article http://my.oschina.net/kevinvane/blog/354314Just woke me up, I also installed a VirtualBox, the original is a virtual network card conflict, the VirtualBox deleted, OKPs:virtualbox I feel not very stable ah (sometimes abnormal shutdown a
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.