Tony Tan tonytan748.github.io
1.

应用公钥和私钥生成方法

123456789101112131415$ opensslOpenSSl> genrsa -out private_key.pem 2048Generating RSA private key, 2048 bit long modulus....................+++..................................
2.

Ubuntu版本升级

1、更新已安装的软件123sudo apt-get updatesudo apt-get upgrade -ysudo apt-get dist-upgrade 2、移除不需要的软件1sudo apt-get autoremove 3、安装更新管理1sudo apt-get install update-manager-core 4、开始更新系统1su...
3.

How to resoved can not usw 'Tab' in Ubuntu terminal

Check current shell: 123# echo $SHELL/bin/sh Change shell to /bin/bash: 1# usermod -s /bin/bash <username>
4.

How to find some characters in all files in linux

If you want find the characters “hello,world!” in the current folder. you can do: 1grep -rn "hello,world!" * 12345* current folder,or some folder name-r recursion to f...
5.

CURL command reference

Operations Description -X appoint HTTP request method, like POST, GET -H appoint request header, for example Content-type:application/json -d appoint request data –...
6.

Use Cron & Crontab to run schedule tasks

In Ubuntu use Cron and Crontab to Run Schedule Tasks Open/Close/Restart Cron in UbuntuConfig file usurally is /etc/init.d/cron Start: 1sudo /etc/init.d/cron start Close: 1sudo ...
7.

What are useful CLI tools for Linux system admins

What are useful CLI tools for Linux system admins System administrators (sysadmins) are responsible for day-to-day operations of production systems and services. One of the crit...
8.

Set Mysql In Python34 Virtualenv

Set mysql in python34 virtualenv Normally if you install mysql in ubuntu python34 virtualenv, use sudo apt-get install mysqlclient so it’s better use the follow install sudo a...
9.

Command List for View Linux System Information

Command List for View Linux System Information 系统 # uname -a #查看内核/操作系统/CPU信息 # head -n 1 /etc/issue #查看操作系统版本 # cat /proc/cpuinfo #查看cpu信息...
10.

how to set lightness in ubuntu14.04

How to set lightness in Ubuntu14.04 Open the folder. sudo vim /etc/default/grub Change the following code GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" To ...