
RHEL
文章平均质量分 58
hushui
Coding Since 1998
展开
-
Centos7/build python3.7.3 with sqlite3 support (local install without root)
9290 2021-11-09 15:09:28 wget https://www.sqlite.org/2017/sqlite-autoconf-3170000.tar.gz --no-check-certificate 9292 2021-11-09 15:09:35 tar zxf sqlite-autoconf-3170000.tar.gz 9293 2021-11-09 15:09:36 ls 9294 2021-11-09 15:09:39 cd sqlit..原创 2021-11-09 15:38:17 · 587 阅读 · 0 评论 -
sshfs_2_5 build on Centos7.x/RHEL7.x
[lake@localhost source]$ git clone --depth 1 --branch sshfs_2_5 https://github.com/libfuse/sshfsCloning into 'sshfs'...remote: Enumerating objects: 19, done.remote: Counting objects: 100% (19/19), done.remote: Compressing objects: 100% (18/18).原创 2021-01-28 08:48:11 · 211 阅读 · 0 评论 -
RHEL/Centos7 caddy_v1.0.0_linux_amd64/localhost/HTTP only
1. Environment[lake@DESKTOP-P55Q2H7 ~]$ cat /proc/versionLinux version 3.10.0-957.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Thu Nov 8 23:39:32 UTC 2018[lake@DESKTOP-P55Q2H7 ~]$ una..原创 2020-06-16 16:42:24 · 273 阅读 · 0 评论 -
Gogs/mariadb(x86-64) = 1:5.5.65-1.el7 Centos7/Aliyun
1.gogs_0.11.91_linux_amd64.tar.gzhushui@Hushui:/mnt/d/gogs$ scp gogs_0.11.91_linux_amd64.tar.gz git@47.100.203.63:/home/git/git@47.100.203.63's password:gogs_0.11.91_linux_amd64.tar.gz 100% ...原创 2020-06-15 16:28:00 · 724 阅读 · 0 评论 -
RHEL7/Centos MariaDB secure setup
[lake@izuf6ad1jbc6ftdqtbuiquz opt]$ mysql-bash: mysql: command not found[lake@izuf6ad1jbc6ftdqtbuiquz opt]$ rpm -qa |grep marmariadb-libs-5.5.56-2.el7.x86_64[lake@izuf6ad1jbc6ftdqtbuiquz opt]$ rpm -qa |grep mysql[lake@izuf6ad1jbc6ftdqtbuiquz opt]$...原创 2020-06-15 14:48:27 · 337 阅读 · 0 评论 -
Gogs/MySQL 5.7.28 Community Server Centos7
### MySQL 5.7.28 Community Server Centos7[lake@localhost opt]$ netstat -an --tcp |grep 3306tcp6 0 0 :::3306 :::* LISTEN[lake@localhost opt]$ systemctl status mysqld● mysqld.service - MySQL Server ...原创 2020-06-11 11:32:07 · 295 阅读 · 0 评论 -
MySQL 5.7.28/Centos-RHEL7/ mysqldump
1. MySQL 5.7.28 Community Server Centos7[lake@localhost opt]$ netstat -an --tcp |grep 3306tcp6 0 0 :::3306 :::* LISTEN[lake@localhost opt]$ systemctl status mysqld● mysqld.service - MySQL Server...原创 2020-06-15 14:00:06 · 344 阅读 · 0 评论 -
RHEL7/Centos7 i686/32bit glibc/stdc++ lib
[hushui@HikvisionOS yum.repos.d]$ sudo yum install glibc.i686Loaded plugins: fastestmirrorDetermining fastest mirrorslocal | 3.6 kB 00:00(1/2): local/group_gz ...原创 2020-05-14 17:07:45 · 1739 阅读 · 0 评论 -
RHEL7/Centos7/ local repo from ISO/CentOS-7-x86_64-DVD-1810.iso
[hushui@HikvisionOS mnt]$ sudo mkdir cdrom[hushui@HikvisionOS mnt]$ sudo mount -o loop ~hushui/CentOS-7-x86_64-DVD-1810.iso /mnt/cdrom/mount: /dev/loop0 is write-protected, mounting read-only[hushui@HikvisionOS mnt]$ cd -/etc/yum.repos.d[hushu...原创 2020-05-14 15:51:04 · 1226 阅读 · 0 评论 -
UltraISO : ISO/Ubuntu/RHEL7/Centos7/WinPE ===> U disk for boot
UltraISO : ISO/Ubuntu/WinPE ===> U disk for bootWrite ISO/bootable into U disk原创 2020-04-02 19:21:33 · 246 阅读 · 0 评论 -
JNI/Java Native Interface HelloWorld on RHEL7/Java1.8
lake@localhost:~/java$ uname -aLinux localhost.localdomain 4.13.0+ #5 SMP Mon Apr 23 04:09:02 EDT 2018 x86_64 x86_64 x86_64 GNU/Linuxlake@localhost:~/java$ javac -versionjavac 1.8.0_65lake@lo...原创 2018-09-21 14:31:13 · 160 阅读 · 0 评论 -
RHEL/Centos7/Tomcat Configuration files
Refer to https://blog.youkuaiyun.com/hushui/article/details/827324121. Environment RHEL7.xlake@localhost:~/java/servlet/MyServlet$ cat /proc/version Linux version 4.13.0+ (lake@localhost.localdomain) (...原创 2018-11-08 14:14:17 · 324 阅读 · 0 评论 -
RHEL/Centos7 Shell tips: stdout/stderr/stdin redirect
1: stdout2: stderr0: stdin Example to filter all output command >/dev/null 2>&1原创 2018-11-09 11:40:12 · 378 阅读 · 0 评论 -
git command tips: clone remote branch/log/proxy etc
1. Clone one branch or one tag onlylake@localhost:~/git_repository$ git clone -b v1.8.3.1 --depth 1 https://github.com/git/git.gitlake@localhost:~/git_repository/git-v1.8.33$ git logall ...原创 2018-03-20 14:11:24 · 242 阅读 · 0 评论 -
git command tips: pull from a copied repository
#### Copy git repository from someone elselake@localhost:~/Rockchip/FireFly-RK3399/7.1.2$ git pull --all Fetching gitlabWarning: Permanently added the ECDSA host key for IP address '35.231.145.15...原创 2018-11-06 09:39:57 · 299 阅读 · 0 评论 -
RHEL7/Centos7 Update kernel built/4.13 with exfat module without fuse
RHEL with built 4.13 kernel Refer to RHEL7/Centos7 Update kernel built/4.13 with GRUB2 (https://blog.youkuaiyun.com/hushui/article/details/80048676)lake@localhost:~/lfs/exfat-nofuse$ uname -a Linux lo...原创 2018-10-26 10:41:21 · 625 阅读 · 0 评论 -
RHEL/Centos7 Shell tips: xz/tar file
1. xz -d **.tar.xztar -xv -f **.tar 2. tar -Jxv -f **.tar.xz原创 2018-10-23 15:56:47 · 180 阅读 · 0 评论 -
RHEL/Centos7 Shell tips: bc/printf
1. BClake@localhost:~/tmp$ bcbc 1.06.95Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.This is free software with ABSOLUTELY NO WARRANTY.For details type `warran...原创 2018-10-23 09:58:46 · 250 阅读 · 0 评论 -
RHEL/Centos7/Tomcat MyServlet
NoteSetuphttps://blog.youkuaiyun.com/hushui/article/details/82732412Configuration https://blog.youkuaiyun.com/hushui/article/details/83859847 1. Envrionment Centos/RHEL7 with Java 1.8 lake@localhost:~/...原创 2018-11-08 14:28:01 · 295 阅读 · 0 评论 -
UTF-8 setting Linux mount /Windows Active code page/Python
1. vfat/LinuxDefault is ascii, Chinese/utf-8 is not shown OK[root@localhost ~]# mount |grep sdc/dev/sdc1 on /mnt/temp type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=...原创 2018-11-08 16:34:21 · 513 阅读 · 0 评论 -
wget tips /resume from break-point
Example : -c: Continue from 53%-t 0 : retry for ever lake@localhost:~$ lake@localhost:~$ lake@localhost:~$ lake@localhost:~$ wget -c -t 0 https://server.samsung-firmware.org/f299934d302fdd9c/b...原创 2018-03-14 09:47:33 · 794 阅读 · 0 评论 -
ext image/manually create in Linux
lake@localhost:~/rk/Neno-FriendlyELEC-RK3399-201907$ du -hs rootfs-friendlycore-arm64-201907183.9G rootfs-friendlycore-arm64-20190718 lake@localhost:~/rk/Neno-FriendlyELEC-RK3399-...原创 2019-07-30 12:42:29 · 202 阅读 · 0 评论 -
Linux shell script/redirect stdout/stderr ; getchar in Linux shell
Linux shell script1. redirect stdout/stderr$yourshellscript 1>outputfile 2>&12. getchar in Linux shellfor fileentry in `find $CVSROOTFOLDER -maxdepth 1 -type d ...原创 2019-07-18 16:23:27 · 238 阅读 · 0 评论 -
sed regular match
root@localhost:~$ echo "bool funname::controllerFun(UNSIGNED32 id)" |sed 's/\(.*\) \(.*\)::\(.*\)\((.*)\)/1 is \1 2 is \2 3 is \3 4 is \4/g'1 is bool 2 is funname 3 is controllerFun 4 is (UNSIGN...原创 2019-06-26 10:51:27 · 295 阅读 · 0 评论 -
RHEL8 Software/Kernel version
Refer tohttps://computingforgeeks.com/red-hat-enterprise-linux-rhel-8-new-features/Red Hat Enterprise Linux 8.0 is based on Fedora 28 andupstream kernel 4.18. This provides users with a secure, st...转载 2019-06-04 12:29:25 · 794 阅读 · 0 评论 -
mount a multiply partition SD card image in Linux
$ sudo fdisk -lu ./ubuntucore-4g.raw Disk ./ubuntucore-4g.raw: 3.7 GiB, 3904897024 bytes, 7626752 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytes...原创 2019-02-02 17:23:05 · 209 阅读 · 0 评论 -
MQTT/Centos7/RHEL7.x test: mosquitto-1.5.4-1.el7.x86_64
### source codehttps://mosquitto.org/files/source/mosquitto-1.5.4.tar.gz### Test rpm on Centos7/x86 64bit[lake@izuf6ad1jbc6ftdqtbuiquz ~]$ sudo yum install mosquitto[sudo] password for...原创 2018-12-11 22:06:42 · 488 阅读 · 0 评论 -
RHEL/Centos7 Shell tips --- 7z for Linux
lake@localhost:~/download$ cd /home/lake/software_x86_x64/p7zip_9.20.1/lake@localhost:~/software_x86_x64/p7zip_9.20.1$ make lake@localhost:~/software_x86_x64/p7zip_9.20.1$ su make install lake@lo...原创 2018-10-11 11:46:17 · 185 阅读 · 0 评论 -
RHEL/Centos7Tomcat setup/test
[root@localhost Packages]# rpm -qa |grep tomcat tomcat-lib-7.0.54-2.el7_1.noarchtomcat-el-2.2-api-7.0.54-2.el7_1.noarchtomcat-admin-webapps-7.0.54-2.el7_1.noarchtomcat-7.0.54-2.el7_1.noarchtomca...原创 2018-09-17 09:27:01 · 284 阅读 · 0 评论 -
netstat on Windows to find pid/port
D:\Android\adb-gui-201807>netstat -an -p tcp -o 8700Active Connections Proto Local Address Foreign Address State PID TCP 0.0.0.0:135 0.0.0.0:0 ...原创 2018-09-03 15:07:07 · 454 阅读 · 0 评论 -
RHEL7/Centos create desktop shutcut
lake@localhost:~$ find /usr/share/ -name *.desktop |grep edit/usr/share/applications/nm-connection-editor.desktop/usr/share/applications/policyeditor.desktop/usr/share/applications/gedit.desktop/usr...原创 2018-04-04 13:28:34 · 268 阅读 · 0 评论 -
RHEL7.2-x86_64bit wxWidgets-2.8.12 unicode/GTK build codeblocks-12.11release8629
RHEL7.2-x86_64bitwxWidgets-2.8.12 unicode/GTK build codeblocks-12.11release8629 [root@localhost Packages]# rpm -ivh gtk2-devel-2.24.28-8.el7.x86_64.rpm atk-devel-2.14.0-1.el7.x86_64.rpm gdk-...原创 2018-04-04 12:37:27 · 839 阅读 · 0 评论 -
RHEL7.x/Centos Mongodb Build and test
Refer to https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-SourceThe requirements for building MongoDB vary by branch:To build the master branch, you will need:A modern and complete C++11 compi...原创 2018-03-28 15:58:05 · 698 阅读 · 0 评论 -
RHEL/Centos7.x Nginx FastCGI with php
To build Nginx, refer tohttps://blog.youkuaiyun.com/hushui/article/details/79711432https://blog.youkuaiyun.com/hushui/article/details/79638741#Default path/etc/nginx/nginx.conf ---> Configuration/var/log...原创 2018-03-27 14:45:18 · 585 阅读 · 0 评论 -
RHEL/Centos7 Full build nginx-1.13.9 with openssl-1.1.0g and test
lake@localhost:~/Cloud/nginx/nginx-1.13.9$ ls -l ..drwxr-xr-x 9 lake sys 4096 Mar 21 01:24 nginx-1.13.9-rw-r--r-- 1 lake sys 994802 Mar 20 04:23 nginx-1.13.9.tar.gzlrwxrwxrwx 1 lake sys 1...原创 2018-03-27 12:55:00 · 782 阅读 · 0 评论 -
RHEL/Centos7.x Build Nginx1.12.2 and test
Official version checkyum install/Centos nginx/1.12.2[lake@LongchangHost git]$ nginx -vnginx version: nginx/1.12.2[lake@LongchangHost git]$ nginx -Vnginx version: nginx/1.12.2built by gcc 4.8.5 201...原创 2018-03-21 13:31:56 · 426 阅读 · 0 评论 -
RHEL sudo user add
vim /etc/sudoers root ALL=(ALL) ALLadd username ALL=(ALL) ALL原创 2018-03-14 16:30:45 · 204 阅读 · 0 评论 -
RHEL7.2/Centos git web 1. instaweb 2. gitweb with Apache
1. Build with sourceDefault, git/v1.8.3.1 on RHEL/Centos7 does not have git instaweb program.git clone -b v1.8.3.1 --depth 1 https://github.com/git/git.gitmakemake install (Default into $HOM...原创 2018-03-19 15:08:01 · 236 阅读 · 0 评论 -
RHEL7.2 配置笔记 1-Http服务器Apache
参考文件https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-httpd-secure-serverhttps://www.digitalocean.com/community/tutorials/how-to-create-an-ssl-certifica...原创 2018-03-02 16:32:53 · 1480 阅读 · 0 评论 -
RHEL7.2/Centos-node.js 2. npm install and websocket example
npm 类似 RPM/RHEL 或者Debian/deb.为了减少对全局的依赖,默认npm将需要的第三方软件包安装在项目的本地目录,类似GCC的sys-root。全局安装除非参数-g指定,并且必须设定系统环境变量 NODE_PATH。 websocket例子 /windows7-64bit /node 6.9 D:\Develop\Cloud\node\ws-nodejs>node -vv6...原创 2018-03-09 13:44:53 · 285 阅读 · 0 评论