add-apt-repository ' deb Http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.0/ubuntu trusty main '
Install MariaDB:
$ sudo apt-get update
$ sudo apt-get install Mariadb-server
In the installation, you will be asked to set the root password of the mariadb.To connect to mariadb from the command line:
[Email protected]: ~ $ mysql-uroot-p
Enter Password:
Welcome to the MariaDB Monitor.Commands End With; or \g.
Your MariaDB Connection ID is 40
Server
); drop table mytable; 2.9 How to build a good data table, that is, how to insert data into a data table?INSERT INTO MyTable (ID, name) values (1,10);2.10 Querying the data in the table,Select Id,name from mytable where id=1 order;OrSELECT * FROM MyTable 2.11 Updates to the data in the table,Update mytable set name=20 where id=1; 2.12 Deletion of tables:Delete from mytable;Ordrop table mytable;2.13 Modification of the table structure
(1) Add a field format: ALTER TABLE table_name add
Assuming you're already installed.
Qt
Cmake-gui, installation method, sudo get-apt install Cmake-gui
Download good OpenCV3.3.0 https://opencv.org/releases.html Select sources Download
Body:
Download Base dependency Package sudo apt-get install Libgtk2.0-dev and pkg-config
open Cmake-gui, install Cmake-gui very simple, sudo get-apt
Extract OpenCV sources to home/usr, rename to OpenCV, create a new folder build under that directory, and then use CMake
problem occurs,To mount the image manually, proceed as follows:1). Press ALT+F2 to enter the command line2). byDF -HCheck the USB drive letter information, according to the size of your USB flash drive to identify, my is/dev/sdd4, such as3). Mount USB to/mnt directoryUmount/dev/sdd4 #直接挂载可能会有问题Mount/dev/sdd4/mnt4). Mount the ISO file to the/cdrom directoryMount-o Loop/mnt/ubuntu-16.04.4-server-amd64.iso/cdrom5). Check if the/cdrom directory has our ISO file to determine if the mount is succes
Tags: Pre info tar 4.0 pen ROM nginx pcre img
Update ubuntu18.04lts to the latest;
Nginx official website Download nginx-1.14.0 stable version;
Installation dependent make ,gcc,g++,OpenSSL, Libssl-dev,zlib1g,zlib1g-dev or to the relevant official website to download source code compilation;
Unzip the downloaded nginx package tar-xvf nginx-1.14.0;
Enter the extracted nginx-1.14.0 folder cd nginx-1.14.0;
Configure the related settings used ./configure prefix=/usr/local/nginx--with
-List PackagesBased on package names Policy-show policy settings Purge-remove packages and their configuratio n Files recommends-list missing recommended packages for a particular package rdepends-show reverse de Pendency information for a package reinstall-download and (possibly) reinstall a currently installed package re Move-remove Packages Search-search for a package by name and/or expression Show-di Splay detailed information about a package showhold-same as ' held ' source-download sour
installation directory is different from the file directory in the downloaded file, the file cannot be modified and saved under Windows, or the file will not run) , copy to/etc/ init.d/, then change it to an executable file and assign it to the root user: sudochmod755/etc/init.d/odoo9-server Sudochownroot:/etc/init.d/odoo9-server To start the Odoo server, enter: sudo/etc/init.d/ Odoo9-serverstart You can then view the log file to see if Odoo has started: Less/var/log/odoo9/odoo9-ser
an IP segment, which is similar, no more)5. In/etc/bind/named.conf.option, do some file log location pointing6. Set the machine for the first DNS nameserver, in the/etc/resolv.conf file (note: I am in the modification of this is a link file, so directly to the past to modify the source file on the line)Add in the first line: nameserver 192.268.1.113Here the entire DNS configuration is complete;7. Test it:记得首先的重启下bind9Shell Knockservice bind9 restartThis time can be measured with tools such as h
1, of course, first download get the source of the drive;2, unzip to the specified position, I just use the mouse to drag into the home;3, enter the drive directory CD ~/mt7610u, (I will unzip the driver directory renamed to mt7610u this);4,sudo make5,sudo make Install6, pay attention to see, 4th, 5 step out of the last few lines is to compile what name of the driver! It's critical! What I've compiled here is mt7650u_stako and mt7650u_stamod.o (presumably); without the driver's name, it's out
become commandline=text, and then sudo update-grub
Boot menu After Linux parameter quiet representative does not show verbose boot process.
Splash represents the progress bar. If you don't want to see the progress bar, kill Splash. Remove the quiet boot to display the detailed boot process.
or modify/boot/grub.d/grub.cfg to add text after the startup item parameter splash
Use your computer to send WiFi1 # #首先下载一个版本比较低的hostapd, a bug in the new version2 wgethttp//Archiv
[Search for which packages contain a file through the Apt-file tool]The process of compiling the source code often encountered missing a necessary file, but do not know which package the file from, you can try to use the apt-file tool to search;The apt-file tool is not installed by default, it needs to be installed, and then if you want to know where glut.h This file is from, you can use the following command:Apt-file Search Glut.hIf there are no surprises, you should list a lot of packages that
different reasons for the version and no re-garbled problem is not resolvedDownload is because all in the same file directory do not need to write another method of access to steal a small lazy, so that the name of the database stored in the match with the lineBecause the test environment is relatively small, so it is placed in the Wwwroot file, the actual environment I was placed under the wwwroot and built a directoryFinally, I hope this article can be a little help to a friend who is also a
suggeted reading:1. Man smb.conf2. Man smbpasswdSteps:Do the following commandssudo apt-get install SambaCd/etc/sambaSUDP CP smb.conf Smb.conf.baksudo vim/etc/smb.confIn the file smb.conf, find sections [homes], uncomment and modify the related lines, you'll get the following lines in [H Omes] section:Comment = Home directoriesbrowseable = yesRead Only = noCreate mask = 0775Directory mask = 0775If you're a Linux user, let's say, with Name ' abc ' and when you connect this Linux PC with Samba, yo
>/etc/apt/sources.list.d/docker.list "detect if the Curl command is installed~$Whereis CurlCurl:/usr/bin/curl/usr/share/man/man1/curl.1.gzadd a new GPG key to the Docker repository~$sudo apt-key adv--keyserver hkp://p80.pool.sks-keyservers.net:80--recv-keys 58118e89f3a912897c070adbf76221572c52609dUpdate APT Package index~$sudo apt-get updateInstalling Docker~$sudo lsb_release--codename | cut-f2xenial~$sudo sh-c "echo deb Https://apt.dockerproject.org/repo ubuntu-xenial main >/etc/apt/sources.li
iptable----------------------Since Ubuntu uses iptable to be special and cannot be manipulated in scripts, the following steps are required:1. In order to save the iptables rule, two packages need to be installedApt-get Install iptables-persistent netfilter-persistent2. Modify Firewall: VI/ETC/IPTABLES/RULES.V4-A input-m state--state established,related-j ACCEPT-A input-p icmp-j ACCEPT-A input-i lo-j ACCEPT-A input-m state--state new-m tcp-p TCP--dport 50000-j ACCEPT-A input-j REJECT--reject-wi
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.