![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Ubuntu
文章平均质量分 66
zhanglizhuo
这个作者很懒,什么都没留下…
展开
-
Python多进程共享全局变量
解决Python多进程变量共享问题原创 2022-10-12 10:45:57 · 4372 阅读 · 0 评论 -
使用 XRDP 從 win7 遠端 Ubuntu 12.04LTS 桌面
使用 XRDP 從 win7 遠端 Ubuntu 12.04LTS 桌面以前大家用 VNC 來連遠端桌面後來 XRDP 似乎可以讓 windows 不需要裝額外 client 就能遠端 Ubuntu看了網路上說從 win7 連到 Ubuntu 12.04LTS 是OK的於是我也來試試看(1) 從軟體中心安裝 xrdp或者 sudo apt-get i转载 2014-11-09 10:45:17 · 243 阅读 · 0 评论 -
Fix XRDP support for Ubuntu 14.04 Desktop environment
sudo apt-get updatesudo apt-get upgradesudo apt-get install xubuntu-desktop xfce4 xvfbgit clone https://github.com/scarygliders/X11RDP-o-Matic.gitcd X11RDP-o-Maticsudo ./X11rdp-o-matic.sh --just转载 2014-11-09 10:47:40 · 189 阅读 · 0 评论 -
Ubuntu wireshark-no interfaces listed
These commands work for me with Wireshark 1.6.2 on Ubuntu Server 11.10 (64-bit):$ sudo apt-get install wireshark$ sudo dpkg-reconfigure wireshark-common $ sudo usermod -a -G wireshark $USER$ sudo re转载 2014-11-10 11:54:20 · 149 阅读 · 0 评论 -
Shortcuts for Ubuntu Terminal
Ubuntu终端Terminal常用快捷键Ubuntu中的许多操作在终端(Terminal)中十分的快捷,记住一些快捷键的操作更得心应手。在Ubuntu中打开终端的快捷键是 Ctrl+Alt+T 。其他的一些常用的快捷键如下快捷键 功能Tab 自动补全Ctrl+a 光标移动到开始位置Ctrl+e 光标移动到最末尾Ctrl+k 删除此处至末尾的所有内容Ctrl+u转载 2014-11-10 11:59:13 · 112 阅读 · 0 评论 -
Blank desktop when logging in via xrdp
I am trying to access Ubuntu 11.10 using Remote Desktop from a Win 7 machine. I installed xrdp. I launch the Windows remote desktop client and login in. I then get prompted for the user name and passw转载 2014-11-10 11:52:25 · 120 阅读 · 0 评论 -
Ubuntu 14.04 – How to install xrdp in Ubuntu 14.04
Ubuntu 14.04 has been released on April 17th 2014 and we already released the traditional post about how to perform a fresh install. We didn’t covered the upgrade process because it’s quite easy now转载 2014-11-09 10:50:26 · 710 阅读 · 0 评论 -
Change network device name from eth1 back to eth0
The interface name of a network device increases if the mac address of the physical or virtual network card changes. A common case is if you made a clone of a virtual machine for example via VMware or转载 2014-11-11 11:37:54 · 296 阅读 · 0 评论 -
Keyboard shortcuts for vi
Cursor movementh - move leftj - move downk - move upl - move rightw - jump by start of words (punctuation considered words)W - jump by words (spaces separate words)e - jump to end of words (punctu转载 2014-11-11 09:32:21 · 126 阅读 · 0 评论 -
Build yasm-1.3.0
Introduction to yasm Yasm is a complete rewrite of the NASM-2.11.06 assembler. It supports the x86 and AMD64 instruction sets, accepts NASM and GAS assembler syntaxes and outputs binary, ELF32 and转载 2014-11-10 20:53:37 · 660 阅读 · 0 评论 -
Find PCI hardware details using lspci command in Linux
This is our 4th post on finding hardware details in Linux. Till this point we explored different ways to display complete hardware available in a system. We already explored following posts.Get BI转载 2014-11-17 15:14:02 · 280 阅读 · 0 评论 -
How to use USB device networking
How to use USB device networkingFrom RidgeRun Developer ConnectionJump to: navigation, searchThe Linux USB gadget sub-system supports USB device functionality, including USB networking.转载 2014-11-17 22:59:13 · 295 阅读 · 0 评论 -
Find USB device details in Linux/Unix using lsusb command
Today we will see how to list USB devices in Linux and their properties such as speed, BUS, class, type details etc. This is part of our on going hardware detection series. We already covered followin转载 2014-11-17 15:10:54 · 258 阅读 · 0 评论 -
Bandwidth measurement using iperf and jperf
Iperf is a tool to measure the bandwidth and the quality of a network link.Jperf can be associated with Iperf to provide a graphical frontend written in Java.The network link is delimited by two转载 2014-11-18 13:37:38 · 235 阅读 · 0 评论 -
Measuring Network Speeds with Netcat and Dd
Measuring Network Speeds with Netcat and DdI've seen a few posts on the web about testing your network speeds with netcat, but they all seem to not work with recent versions of netcat.On one m转载 2014-11-18 14:00:45 · 184 阅读 · 0 评论 -
linux如何读写物理内存
一、基础知识: 1. 设备文件: mem是一个字符设备文件,是计算机主存的一个影象。通常只有root用户对其有读写权限。因此只有root用户能进行这些操作。 如果要打开设备文件/dev/mem,需要系统调用open()函数,作用是打开一个文件或设备,其函数原型 为: #include #include int open(const转载 2014-11-26 23:06:09 · 507 阅读 · 0 评论 -
How to compile mplayer with vdpau support on Ubuntu
In February of 2009 I wrote an article on how to compile mplayer with vdpau support. Since then things have changed a little bit with mplayer and compiling mplayer with vdpau support has become a wh转载 2014-11-29 14:45:13 · 244 阅读 · 0 评论 -
Compile mplayer with VDPAU support on Ubuntu
In this article I’ll show you how you can compile mplayer with VDPAU support on Ubuntu Intrepid but first I’ll try to explain why you would want to recompile mplayer with VDPAU support.NOTICE: T转载 2014-11-29 14:42:08 · 228 阅读 · 0 评论 -
Hide the VLC cone icon in the browser-plugin-vlc for Linux
The next instructions describes how to proceed to hide the VLC cone icon in the VLC plugin for Web browsers. I think this tip can be useful for another ninjas in so far as there is not a lot of inform转载 2015-01-06 15:32:37 · 227 阅读 · 0 评论 -
20 Useful Terminal Emulators for Linux
A Terminal emulator is a computer program that reproduces a video terminal within some other display structure. In other words the Terminal emulator has an ability to make a dumb machine appear like a转载 2015-01-07 21:07:57 · 273 阅读 · 0 评论 -
Split Terminal Screen And Work Like A Professional
Tmux Terminal MultiplexerTmux is a terminal multiplexer, it enables a number of terminals (or windows) to be accessed and controlled from a single terminal. Tmux is intended to be a simple, modern,转载 2015-01-08 10:33:07 · 189 阅读 · 0 评论 -
Ubuntu 14.04 安装 Google 拼音输入法
把系统升级成了最新的14.04。升级完发现惯用的输入法木有了,郁闷。尝试了一下Ibus拼音,完全不会用了。出来的东西怎么和我想要的差那么远。还是装回Google拼音吧。sudo apt-get install ibus-googlepinyin装完后需要注销再登录一次或者重启。然后才能在输入法列表里面添加GooglePinyin: http://www.lirui.na转载 2014-12-19 00:16:00 · 185 阅读 · 0 评论 -
Install Oracle Java JDK/JRE 7/8 in Ubuntu 13.10
Java is the foundation for virtually every type of networked application and is the global standard for developing and delivering mobile applications, games, Web-based content, and enterprise softwa转载 2014-12-18 17:38:16 · 306 阅读 · 0 评论 -
50 Most Frequently Used UNIX / Linux Commands
This article provides practical examples for 50 most frequently used commands in Linux / UNIX.This is not a comprehensive list by any means, but this should give you a jumpstart on some of the commo转载 2015-01-07 22:26:34 · 195 阅读 · 0 评论 -
Comparing tar, cpio, and dump
A few years ago, John Pezzano fromHewlett-Packard did a paper comparing native backup products. It is the best onethat I have seen, so I asked his permission to update it and includeit in this book. I转载 2015-01-09 11:30:05 · 96 阅读 · 0 评论 -
交叉编译器 arm-linux-gnueabi 和 arm-linux-gnueabihf 的区别
交叉编译器 arm-linux-gnueabi 和 arm-linux-gnueabihf 的区别自己之前一直没搞清楚这两个交叉编译器到底有什么问题,特意google一番,总结如下,希望能帮到道上和我有同样困惑的兄弟…..一. 什么是ABI和EABI1) ABI: 二进制应用程序接口(Application Binary Interface (ABI) for th转载 2014-12-03 17:21:42 · 212 阅读 · 0 评论 -
Autossh with Ubuntu Upstart
Like the title says, the point of this post is getting autossh up when Ubuntu boots. Place this in e.g. /etc/init/autossh.conf, after which you will be able to says things likesudo start autossh a转载 2015-01-09 19:42:22 · 214 阅读 · 0 评论 -
Get temperature of hard disk and CPU
1. Get hard disk temperature$sudo apt-get install hddtemp$sudo hddtemp /dev/sda2. Get CPU temperature$sudo apt-get install acpi$acpi -t$acpi -Vp3. Monitor hardware temperat原创 2014-12-30 21:56:03 · 146 阅读 · 0 评论 -
The Ultimate Wget Download Guide With 15 Awesome Examples
wget utility is the best option to download files from internet. wget can pretty much handle all complex download situations including large file downloads, recursive downloads, non-interactive downlo转载 2015-01-09 21:11:13 · 153 阅读 · 0 评论 -
Wget Examples
The examples are classified into three sections, because of clarity.The first section is a tutorial for beginners. The second sectionexplains some of the more complex program features. The third secti转载 2015-01-09 21:12:22 · 247 阅读 · 0 评论 -
Netstat examples
Checking SSH and Apache TCP ports in Linux using netstat:Code:# netstat -netpul | grep -E ":22|:80"# netstat -netpula | grep -E ":22|:80"Displayed are the ID of the user that runs ss原创 2015-01-10 09:01:05 · 218 阅读 · 0 评论 -
Difference between save and export in Docker
I recently played around with Docker, an application container and virtualization technology for Linux. It was pretty cool and I was able to create Docker images and containers within a couple of min转载 2015-01-11 16:33:49 · 104 阅读 · 0 评论 -
Getting Started with Docker
What is Docker?Docker is a Container.While a Virtual Machine is a whole other guest computer running on top of your host computer (sitting on top of a layer of virtualization), Docker is an isol转载 2015-01-10 10:25:06 · 314 阅读 · 0 评论 -
First steps with Docker
Check your Docker installThis guide assumes you have a working installation of Docker. To checkyour Docker install, run the following command:# Check that you have a working install$ sudo docker转载 2015-01-10 11:03:55 · 96 阅读 · 0 评论 -
Simple examples of using docker
1. Install docker on ubuntu 14.04$sudo apt-get install docker.io2. Check docker version$ sudo docker versionClient version: 1.0.1Client API version: 1.12Go version (client): go1.2.1原创 2015-01-10 11:32:34 · 167 阅读 · 0 评论 -
How To Install and Use Docker
IntroductionThe provided use cases are limitless and the need has always been there. Docker is here to offer you an efficient, speedy way to port applications across systems and machines. It is转载 2015-01-10 09:36:24 · 232 阅读 · 0 评论 -
copy with ssh with port other than 22
QuestionHow do I copy files from my local to some remote server which hosts ssh on port other than default (22).I usually connect to the server using ssh username@remotehost.com -p 2000N转载 2015-01-12 07:37:09 · 197 阅读 · 0 评论 -
Transform Ubuntu 14.04 to look like Mac
Mac OS X Transformation pack is ready for Ubuntu 14.04 Trusty Tahr/13.10/13.04/12.10/12.04/Linux Mint 17/16/15/14/13(Note: This tutorial is tested on Unity (Only Unity is recommended for best result转载 2015-01-03 23:59:20 · 222 阅读 · 0 评论 -
GNU Screen Splitting
I’ve never been an avid user of GNU Screen despite a number of people giving it rave reviews. I never needed to resume remote sessions and the window management stuff seemed pointless (“Why not just转载 2015-01-13 10:59:45 · 154 阅读 · 0 评论 -
Oracle JDK configuration under Ubuntu
1. Download Oracle JDKJDK download URLhttp://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html2. Extract JDK files3. Set java parameters/原创 2014-12-25 11:30:11 · 103 阅读 · 0 评论