: /home/asialantao/apache-tomcat-6.0. /bin/bootstrap.jarStop command$./shutdown. SHIf the environment variable is not configured, the following error message appearsNeither the Java_home nor the jre_home environment variable is definedat least one of these environment variable is needed To run the This programNeed to go back to the previous post configuring JDK 62.5 Inspection$./version.SHUsing catalina_base:/home/asialantao/apache-tomcat-6.0. -Using catalina_home:/home/asialantao/apache-
appropriate portsudoUFW allow AsudoUFW allow thesudoUFW allow3306V. MySQL backup scriptMySQL Backup settings:1, backup MySQL data at 4 points per day;2, in order to save space, delete more than 3 months of all backup data;3, delete more than 7 days of backup data, retain 3 months of 10th number 20th number 30th of the backup data;#创建shell文件 backup_mysql.sh:db_pass="password"-uroot-p$db_pass DBNAME >/root/data/mysqlbak/'date +%y%m%d '. SQLFind /root/data/mysqlbak/-mtime +7'*[1-9].sql 'RM -RF {}
, such as:Switch to this directory, also found the same as the/usr/bin/directory, the same Python file,Use Path= "$PATH":/usr/local/python-2.6/bin Add the directory to the Linux environment variable, such as:At this point in the command line to enter Python, the system is still performing version 2.4, because the system first searched for/usr/bin/inside the python, but the input python2.6 has executed 2.6 version of the, such as:We delete the Python file inside the/usr/bin/and then create a 2.6
System configuration and system sub-directory/Home User folder/lib Dynamic Link shared library (DLL)/lost+found non-normal shutdown file/media optical drive, U-Disk mount/mut Temporary Mount/OPT Other software Installation directoriesThere is a lot of basic understanding so much ~It is worth mentioning that when developing Python with Linux, there is a way to extend the Python library.Method One:Use the Apt-get command to quickly install these three libraries as an example:sudo apt-get install
There are many sources of Ubuntu in China, including: NetEase source (this used before, fast), Ali, there are many sources of education network, such as: Tsinghua source, Zhong Ke source.Here is the source list of Zhong Ke ubuntu16.04, which can be obtained here: https://lug.ustc.edu.cn/repogen/To edit the/etc/apt/sources.list file, add the following entry at the top of the file (make the appropriate backup before you do the operation):Deb Http://mirrors.ustc.edu.cn/ubuntu/xenial main restricted
the current source file directory (Test.cpp) to generate a platform-independent project file Test.proQmake–project2. Generate a platform-related makefile file from the project fileQmake Test.pro3. Build the programMakeNote: The resulting pro file needs to be added with the appropriate componentsTest.cpp Source#include int main (intChar* argv[]) { qapplication app (argc, argv); New Qlabel ("hello Qt"); Label, Show (); return app.exec ();}Corresponds to the gener
Chen Kozhan================1. Start The installation of the user interface# Apt-get Install Xinit2. Install the Environment Manager# Apt-get Install GDM3. Install the desktop environment# Apt-get Install Kubuntu-desktop4 . restartinterface installed successfully ! Note:1. If unsuccessful, the "Unable to locate package Gnome-core" or "Ubuntu Server 14.04e:package ' RPM ' has no installation candidate" field is executed: Apt-get update, and then try again;2. To ensure that the link is successful;3
cursor (the first non-whitespace character match either)A: Insert from the end of the line where the cursor is locatedO: Add a row below the cursor line (and enter the input mode)O: Add a row above the cursor line (and enter the input mode)X: Delete the character of the cursor, equivalent to the [delete] function keyX: Delete cursor before character, equivalent to [Backspace]DD: Delete the line where the cursor is locatedR: Modify the character of the cursorR: Replace the current character and
command in Terminal:ibus-setupAfter execution, a Ibus Preference setting box is automatically calledSelect the "Input Method" aboveSelect the appropriate Chinese input method, then click "Add"Note: It is best to install what input method to Add what input methodHere can also set up the appropriate input method to the shortcut key, the default is "Ctrl+space"OK, the Chinese input method has been installed.Finally recommended a very useful tool:ksnapshotHe can make people very casual, but also se
Ubuntu does not have a good input method, has been a big problem to haunt me, used to be a small penguin, to tell the truth, pretty troublesome, now well, there is a system of sunpinyin. Although there is no strong Lenovo memory Sogou function, but also to meet the majority of user input needs, and more clean than Sogou. Say the configuration.At the beginning of the encounter a problem, found that sunpinyin can not use-/= page.Resolve, open the Settings pageChoose the page you like and flip!So,
Installed the Ubuntu 16.04 LTS after the wireless internet connection, found surprisingly slow. On-line search effective methods are:
1, in the terminal operation: sudo gedit/etc/modprobe.d/iwlwifi.conf
2, in the opening of this configuration file in the blank add: Options Iwlwifi 11n_disable=1
3, save the file and restart. (I have succeeded)
Original English version:
Ok.
In Terminal run:
sudo gedit/etc/modprobe.d/iwlwifi.conf
This is give you
There are not many SQL client tools available under the Ubuntu 16.04 Lts, of course it means free open source tools. Personally, I like dbeaver very much. Dbeaver relies on Java (JDK/JRE) 1.8+. Dbeaver is a common database management tool and SQL client that supports databases such as MySQL, PostgreSQL, Oracle, DB2, MSSQL, Sybase, and so on, basically as long as it is compatible with JDBC databases. You reader, I will use the life skill, will dbeaver
Add keycurl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -Add sourcesecho "deb https://repos.influxdata.com/ubuntu trusty stable" | sudo tee /etc/apt/sources.list.d/influxdb.listUpdateapt updateInstall[emailprotected] ~ $ apt install influxdbStartsudo service influxdb startUseOpen your browserhttp://127.0.0.1:8086See how many port numbers the Influxdb app does not work properlysudo netstat -naptu | grep LISTEN | grep influxdInstall Influxdb in Ubuntu 16.04
directly, do not need to add sudo. Installation and usage issues if you open the error that the discovery prompt does not have permission, verify that the currently logged on user is in the Wireshark group or has root privileges. View the currently logged in user group: $ groupsuser adm cdrom sudo dip Plugdev lpadmin sambashare Wireshark What if you chose no when you installed the preconfigured Wireshark-common? Reconfigure this package: $ sudo dpkg-reconfigure wireshark-common What if you don'
= ' en-us ' time_zone = ' UTC ' use_i18n = trueuse_l10n = Trueuse_tz = true# Static files (CSS, JAVASCR IPT, Images) # Https://docs.djangoproject.com/en/1.11/howto/static-files/STATIC_URL = '/static/'4. Copy the contents of the folder to a server that is already shared5. Run the test on the server.6. If the test fails, you can make the server/var/www/website and use the command:Python3 manage.py RunserverTest to see the effect, here compile, if there is a problem, will throw a problem situation
above configuration to take effect for all users, you can add the above content to the/etc/profile file. If you want the above configuration to take effect for the current user, you can add the above content to the. bashrc file under Linux, and you can add it to the. profile file under other Unix. 4. Create a database cluster Export pgdata=/data/PGDATA #数据目录环境变量
initdb 5. Install the tools under the contrib directory CD postgresql-9.4. 3/contrib
make
sudomakeinstall 6. Start and stop the datab
Tags: Visual Studio Code UbuntuAdd keycurl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpgsudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpgOr add a key with the following command, both of which have the same effect.wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -Add sourcesudo sh -c ‘echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list‘Updateapt updateInst
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.