view or configure network card information:ifconfig : ifconfig only, display all network card information. ifconfig [nic name] [new IP Add] : Modify the network card IP address. ping [IP add]/[domain name] : Test network connectivity.User, Rights Management:WhoAmI : Displays the current user. who: View user information for all currently logged in systems. exit:
To compile and run mjpg-streamer in Ubuntu Linux
1. Install the libjpeg Library
# Sudo apt-Get install libjpeg62-dev
2. Plug in the non-drive camera (UVC webcamera), UBUNTU will generate a/dev/videox Device
3. Download MJPEG-streamerSource code
Official Website: http://sourceforge.net/projects/mjpg-streamer/
Execute # Make Compilation
Run #./start. Sh
4.
There are two ways to enable mod_rewrite in Ubuntu systems:First: After executing the sudo a2enmod rewrite instruction in the terminal, that is, the Mod_rewrite module is enabled, and the module of the APACHE2 server is enabled in the same way as the IP Multi domain name of the virtual host, all modules are etc/mods-available/folder, A2enmod rewrite This command is actually to link the module name to the/
success:mysql-h172.16.77.15-uroot-p123 mysql-h host address-u user name-P user PasswordView Character SetsShow variables like '%char% ';To Modify a character set:VI/ETC/MY.CNF add Default-character-set=utf8 under [client]create sudo without password loginTo set the Aboutyun user with no password sudo permissions: Chmode u+w/etc/sudoersaboutyun all= (root) nopasswd:allchmod u-w/etc/sudoers test: sudo ifconfigUbuntu View Service List codesudo service--status-allsudo initctl listTo view the file s
In Windows, many people choose to install Xmanager+xshell, and then remotely connect to Linux, you can directly invoke the GUI interface of the software, easy and convenient.
But a lot of people have not tried to access the GUI of the Linux server by the SH connection on the Mac terminal. The following methods are described below
Brief introduction:
To achieve remote graphics access, you must forward the p
Many of my friends found that someone in their VPS would try the root Password Brute Force. The purpose of this tutorial is to shield the password from logging on to SSH, instead of using only the key to log on to SSH.This greatly improves the security of VPS (except for program vulnerabilities)Note: In this example, the local environment is Linux. In Windows, refer to other tutorials on the network.Warning the following operations are risky and may c
list_exchanges View all routing and Message Queuing binding information for the server: RABBITMQ List_bindingsps: Commands such as Rabbitmq-server only have the root user's permission. about RABBITMQ Graphical management interface (default is not available): 1, install Rabbitmqweb Management plug-in rabbitmq-pluginsenablerabbitmq_ Management2, restart service NBSP;SERVICENBSP;RABBITMQ-SERVERNBSP;RESTART3, login access: http://127.0.0.1:15672 uname:guest pwd:guest port:156 But because
no Internet access!!! Can't bear it. Phenomenon: Ifconfig No hair, want to find the IP can not be found. Ifconfig–a You can list all the network card devices, confirm that the VM VirtualBox NIC is on the right, has been given to the virtual machine. Edit the/etc/network/interfaces content to the following: And then execute sudo ifup eth0You can see the problem solved satisfactorily!!Apt-get update cannot prompt "Failed to fetch" errorFetch: Fetch
Pre-knowledgeTo remotely connect a from B, you need B to initiate a Remote Desktop Connection request (ask) to a. Given that a is subject to this request, and a allows other computers to share the desktop, return receipts (answer) to B, say "can be connected," and if you need credentials, enter the voucher (the voucher is what you set on the A terminal) to connect, the brief process is as follows:So, the process of outlining is:
Allow Remote Desktop Sharing on the A-side, and choose to
Install Nethogs:Apt-get-y Install ncurses*Apt-get-y Install Libpcap-dev Libncurses5-devWget-c https://github.com/raboof/nethogs/archive/v0.8.1.tar.gzTar xvf v0.8.1.tar.gzCD nethogs-0.8.1Make make installIssue One: Previously installed version 0.8.0, there are the following issues:Creating socket failed while establishing local Ip-are root?Don't look for another way, install 0.8.1 wget-c https://github.com/raboof/nethogs/archive/v0.8.1.tar.gzNethogs p
Use Nginx in UbuntuLinux for the first time and keep a record. I have been installed through sudoapt-getinstallnginx. if the tar.gz file is downloaded from the local directory, the package dependency needs to be resolved. After the installation, the following are common commands: sudonginx # Start sudong‑sstop # Stop sudong‑t # test whether the configuration file is correct. This command is useful. In addition, you can find
Use Nginx in Ubuntu
From: http://blog.csdn.net/njchenyi/article/details/8715417
1. Configure static IP addresses:
# Vim/etc/Network/interfaces
The original content contains the following four lines:auto loiface lo inet loopback
auto eth0iface eth0 inet dhcp
The above indicates that IP addresses are allocated using DHCP by default, and are changed to the following:auto loiface lo inet loopback
# The primary network interface
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 ar
Linux --- solution to DNS configuration loss after Ubuntu 14.04 is restarted --- ubuntu14.04
Solution to DNS configuration loss after Ubuntu 14.04 is restarted
Each time the DNS configuration file/etc/resolv. conf is modified, it becomes invalid after it is restarted.
We can check from the Internet that this file is dynamically created, so it will be overwritt
Create the virtual machine to complete.Install the operating system.Chinese version of the interface:Chinese version of the interface:Wait for the reboot.Restart the virtual machine.Installing VmtoolsDouble-click the iconAfter the installation is complete, restart the system.If the hostname is not modified at the time of installation look too long how to modify the host name:The first step: Ubuntu host fame in /etc/hostname , change it to the name you
Previously described how to build a git repository server on Windows, but the server with more than Linux, because cheap (the same VPS is generally cheaper than Windows Linux), no graphical interface, low-profile VPS can also run Linux, open source free, I feel more flexible, download source is also convenient, mobile phone can ssh remote. Today, we'll show you h
Bind two network cards, share one IP, realize the redundancy effect. In fact, there are 7 types of bindings for Linux dual NICs:
The mode=0 indicates that load balancing (round-robin) is balanced, and both NICs work.
mode=1 says Fault-tolerance (active-backup) provides redundancy, working in a master-slave way, which means that only one NIC works by default, and the other is backed up.
Mode
Label:Check to see if MySQL is installed on your system: sudo grep MySQL Install MySQL: sudo Install mysql-server
sudo apt-get isntall mysql-client
sudo Install Libmysqlclient-dev To view the MySQL version: MySQL--version Log in to MySQL: Mysql-u root-p // Log on to the local server
mysql-u username-p-H Server ip-p port number // Log on to the remote server Set up remote access (normally, the 3306 port that MySQL occupies is only listening on
Webmin is an open source Web-based Unix/linux System Management tool. By using Webmin, you can set up and install all of the system services on your browser, including: DNS, DHCP, Apache, NFS, Samba, and more. Therefore, with this, there is no need to remember all the commands to modify the configuration.Ubuntu 14.04 lts on install WebminFirst, add the use of official software sourceAdd Webmin's official warehouse:Modify /etc/apt/sources.listsudo vi/e
will get a message from cron).Run the kickstart.sh script, netdata use your Linux native Package Manager to install all requirements, and then install them.Using the Netdata DashboardAfter the installation phase, you can simply browse to http://192.0.2.139:19999 to access Netdata.Make sure to replace 192.0.2.139 with the actual IP address.Reset or change the default settings.You can modify the Netdata sett
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.