-
Linux枕边书
Linux枕边书,主要是讲LINUX的前世今生、应用以及架构分析的,最后顺带介绍了一下Gentoo的生平事迹致谢Eric Steven Raymond编写的 < The Art of Unia Programming i让我意识到了UNIX哲学是如此的重要。我对Iinu知识的进步都得益于阅读此书后明白」UNIX的哲学。书中为介绍UNIX的哲学而摘录的名言警句我也同样应用到了我的书中。在此对 Eric Steven Raymond大师表示感谢为了编写本书,查阅了大量相关资料。再此对这些资料的提供者表小感谢。它们是维基百科(英文),维基百科(中文),IEEE标准文档,ISO标准文档,RFC标准文档。对 Gentoo的viki表示感谢,没有它我就不可能学会 Gentoo,更不用说编写本身的过程中我再三查阅 Gentoo的wik确保自己记忆沒有出错。编写“Shel基础”这一小节参考了GNU官方网站的BASH文档。编写网终基础这一章节的时候,参考了《通信基础》,和《TCP/IP详解》三卷书的内容。目录致谢3第0章序1301为什么又写本书140.2UNIX的史前文明0.3UNIX的故事180.3.1UNX混乱和分裂0.32统一的UNX和 POSIX标准0.4GNU的故事210.4.1认识自由的含义0.4.2为了自由2204.3以 Copyright保护 Copyleft23第1章UNIX哲学251.1一切都是文件2512鼓励程序间协作261.3一个程序只做一件事情并把它做好281.4使用文木流,因为这个是通用的协议291.5懒惰原贝311.6UNIX和非UNIX32第2章黑客和 Linux3521从UNX到 Linux362.2 Linux诞生3622.1被UNIX忽略的PC222386BSD、Minⅸ催生 Linux.392.2.3以GPL开源39目录第3章初识 Linux4130.4使用 Linux内核的操作系统——发行版423.1发行版的意义1232包管理和软件仓库4332.1包管理43322软件仓厍45第4章安装 Linux4941安装准备5042shel快速入门534.3引导管理器574.4init系统选择605分区规划6445.1分区基础知识64452为磁盘分区674.5.3文件系统结构标准(FHS)45.4文件系统选择7246开始安装4.6.1正式开始安装过程7346.2 emerge用法754.6.3配置make.conf4.6.4内核编译4.6.5系统初步配置一重启前配置4.6.6安装基础系统9946.7配置引导程序10247重启后安装103第5章 Linux的日常1055.1某日常的man-pages1055.2UNIX权限基础1075.2.1用户和组1075.22文件操作权限1095.3 Shell常应用1105.3.1bash名称的道听途说1105.32shel字符串展开5.3.3shel变量和环境变量112目录53.4shel和文件管理1135.3.5管道和重定向1155.3.6bash是门编程语言1164文件编辑器1215.4.1编辑器之神vim.,1215.42神之编辑器 emacs..1245.5系统管理基础1255.5.1进程管理12555.2系统服务管理125第6章软件管理1276.1软件的分发.1276.2软件的编译1276.2.1 Makefile1286.2.2 autotools..1296.2.3 cmake1306.3发行版的包管理..1316.3.1软件仓库1316.3.2 portage/Emerge1326.33有关SLOT,Ⅴ irtual,分支,体系结构和 Profile.1356.34当 Portage抱怨的时候1366.4理解 portage142641文件和目录142642附加工具1446.5使用 overlay扩展 portage145第7章图形界面1477.1图形、字体和窗口1477.2X窗口系统.1507.2.1窗口管理1527.22混合窗冂管理器154723Open(江L和Mea.15772.4内核模式设置(KMS)1597.3安装基础Ⅹ环境l607.4桌面环境1637.4.1KDE.164目录7.4.2 GNOME-Shell17075办公和打印1727.5.1 LibreOffice1727.52使用CUPS打印文档1727.6声音的那些事1727.6.1声音的数字编码1737.6.2ALSA高级 Linux声音架构174763 Pulseaudio优秀的声音服务器1767.64对 PC HiFi的一些建议..1777.7 Wayland178771X的局限和扩展1797.72渲染库和静态链接18177.3混合18377.4窗口管理器做为 Display server怎么样184第8章网终基础1878.1层次协议网络.18781.1网络接口层189812网络层:IP协议195813传输层:TCP和UDP9881.4应用层.2018.2网络地址配置205821 Linux网络设备命名20582.2图形环境下的工具206823命令行配置工具2088.24网络自动配置和DHCP2088.2.5 ifconfig20883网络攻击和防火墙209831网络攻击类型和检测2098.3,2 iptables防火墙209第9章文件系统2119.1磁盘文件系统2119.1.1硬盘结构,21291.2非日志文件系统21391.3日志文件系统214目录9.2虚拟文件系统.....215921内核信息窗口/proc和/sys215922/dv设备文件系统和udev.21592.3虚拟内存盘 tmpfs.2179.3网络文件系统2179.3.1NFS2179.32 Windows网上邻居:CIFS2199.4其他的文件系统,,,222941 Lived的最爱—压缩文件系统 squashfs222942为Fash芯片设计的文件系统..223第10章架设服务器22510.1搭建HTTP服务器2251011安装 Apache22510.12添加开机自启动 Apache2261013php支持.22610.2数据库..22710.3文件共享—FTP和 Samba..22810.3.1F①P,...22810.3.2 Samba22910.4共享打印机23010.41使用CUPS共亨打印机23010.42使用 Samba共享打印机..232第11章压榨机器的性能23511.1编泽优化.23711.1.1编译期优化237111.2链接时优化(LTO, Link Time Optimization)240111.3PGO241附录AFAQ243什么是 LiveCD?.2如何使用 LiveCd。2433UEFI和BIOS是什么?2434什么是API?。.2435 Shell是什么?2410目录6什么是进程和线程?244什么是内存分页?2448如何不重新登录切换到roo帐号?2449对称多处理器24410 Initramfs是什么24411抢占式多任务24512内核参数24613交换分区和交换文件24614汉化man手册24615符号链接24616内存映射 IO-MMIC24717内核枧频模式设置-KMS24818CISC和RISC24819 RPC24820INI文件格式..248附录Bman手册251B.1第一部分:UNX用户于册..251B. 1.1 test2251B.1.2 test251B 1.3 test3251B.2第二部分:系统调用251B.3第三部分:库函数251B.4第四部分:设备和特殊文件251B 4.1 null. zero251附录C名称缩写252附录D图片索引255附录 E Gentoo的前身今世259Gentoo的前世今生,第一部259E.1 Gentoo linux发行版的诞生259E.11我和inux.259E.1.2 Linux的潜能260E.1.3 Linux的人文艺术260
- 2020-12-10下载
- 积分:1
-
android下的XMPP对应smack-4.2.1,实现登录,注册,发单聊,加聊天室,发群聊等简单功能
android下的XMPP对应smack-4.2.1,实现登录,注册,发单聊,加聊天室,发群聊等简单功能
- 2020-12-01下载
- 积分:1
-
Axure电商产品移动端交互原型AxureUX.rp
本作品是一套高保真移动端电商APP产品原型模板,包含了用户中心、会员成长、优惠券、积分、互动社区、运营推广、内容推荐、商品展示、订单流程、订单管理、售后及服务等完整的电商体系功能架构和业务流程。本模板由一百三十多个界面上千个交互元件及事件组成、交互效果完成率95%以上,其中很多界面和交互元件都是在所有的APP产品中通用的,只要稍作修改就可以快速复用到您的项目原型中。另外,本模板在设计过程中遵守了AxureUX移动端元件库中的相关标准和规范,具有便于修改和方便维护的特点,无论对于交互设计师还是产品经理,都是一套绝佳的学习和参考的原型模板。会员用户可直接在会员群中获取本作品源文件及相关文档。
- 2020-11-28下载
- 积分:1
-
lm算法的matlab实现
该算法是自己编的一个lm算法,是基于MATLAB的程序
- 2020-12-11下载
- 积分:1
-
基于单片机的光照度传感器设计-毕业设计
本设计采用光敏电阻为光传感器,光敏电阻阻值随光照强度的变化而变化(入射光强,电阻减小;入射光弱,电阻增大),利用光敏电阻的光照特性完成光强的检测。该设计可分为三部分:即光照检测部分、信号处理部分、光强显示部分。具体方法是将光敏电阻与一定值电阻串联接入电路,光照强度的变化会引起光敏电阻阻值的变化,从而影响电路电流及电压值的分布,将模拟电压通过ADC0804模数转换器转换为数字电压,通过VC语言编程,将其集于单片机AT89C51中进行处理,并将其通过液晶屏显示出来。本设计电路结构简单,成本相对较低,通过对光敏电阻阻值的变化的运算处理,从而检测不同的光照强度,实用性较强。
- 2020-12-09下载
- 积分:1
-
网上书店系统(源码+论文+ppt+任务书+开题报告)
这是我的毕业设计,一个基于Struts+hibernate框架做的网上书店系统,里面有源码(附数据库)、毕业论文、演讲ppt、任务书和开题报告,很全的,数据库用的是oracle,希望对大家有所帮助、、、
- 2021-05-06下载
- 积分:1
-
机器人控制系统的设计与MATLAB仿真程序数据和源码
机器人控制系统的设计与MATLAB仿真程序书籍和源程序,
- 2020-11-28下载
- 积分:1
-
program.rar
通过matlab计算综合能源系统(IEEE39节点天然气系统和比利时20节点天然气系统),并通过电力系统指标衡量天然气系统对综合能源系统的影响
- 2021-05-06下载
- 积分:1
-
ST FOC 5.0说明书 快速入门 SDK v5.0.pdf
ST FOC 5.0说明书 配合 开源库 https://download.csdn.net/download/hxinstar/10322042使用UM2374List of tablesList of tablesTable 1. List of acronymsTable 2Document revision history..23UM2374 Rey 13/24List of figuresUM2374List of figuresFigure 1. ST MC Workbench -Icon and installation folder treeFigure 2. ST MC Workbench-GUI expanded top viewFigure 3. ST Motor Profiler-GUI889Figure 5. ST Motor Profiler-SM-PMSM parameters exampleFigure 4. ST Motor Profiler- Hardware setup list examples1011Figure 6. ST Motor Profiler-l-PMSM parameters exampleFigure 7. ST Motor Profiler-Measurement results12Figure 8. ST Motor Profiler-Save window13Figure 9. ST MC Workbench - New Project window14Figure 10. ST MC Workbench -New Project Info window14Figure 11. ST MC Workbench -Project Settings15Figure 12. ST MC Workbench-Project Settings window.15Figure 13. ST MC Workbench -Project generation button16Figure 14. ST MC Workbench -Workspace selectionFigure 15. ST MC Workbench -Project generation build infoFigure19. ST MC Workbench- Use of the motor control and monitoring.∴、∴,"…,,∴…….17Figure 16. IDE-MC Project view example18Figure 17. STMC Workbench-Motor monitoring button.19Figure 18. ST MC Workbench -Motor monitoring GUI204/24UM2374 Rey 1/UM2374General informationGeneral informationThe Mc sDK is used for the development of motor-control applications running on STM3232-bit microcontrollers based on the arm Cortex-M processorTable 1 presents the definition of acronyms that are relevant for a better understanding ofthis documentTable 1. List of acronymsAcronymDescriptionGUIGraphical user interfaceIDEIntegrated development environmentFOCField-oriented controlFWFirmwareMotor controlMC WBMotor control Workbench(STMicroelectronics sw tool)MPMotor Profiler(STMicroelectronics software tool)PMSMPermanent-magnet synchronous motorPWMPulse-width modulationSDKSoftware development kitVCVector controlMore information about ST MC Workbench is provided in the stm32 motor control SDKv5.0toolsusermanual(um2380)availableatwww.st.comarmUM2374 Rey 15/24Motor control ecosystem setupUM23742Motor control ecosystem setupA suitable ST Motor Control ecosystem environment includesA PC running the needed Mc software toolsA third-party IDEa third-party ANSI C-compilerA JTAG/SWD interface for debugging and programmingAn STMicroelectronics application board with one of the STM32 microcontrollerssupported. It drives the power stage and featuresPWM outputs to gate driverADC channels to measure currentsDC bus voltageA three-phase PMsM motol· A power supplyRefer to the STM32 motor control software development kit(Mc sDk data brief(DB3548)atwww.st.comandtothereleasenoteformoredetails2.1Software tool setupThe STMicroelectronics motor-control ecosystem runs on a pc with Windows7The following Pc software tools are correctly installedST MC Workbench (v5.0.0 or later)STM32CubeMX(v4 24.0 or later)ST-LINK/2(v4.0.0 or later)Any supported IDEIAR Embedded Workbench@ for Arm(v7.80.4Keil MDK tools (v5.24.2 or later)Ac6 System Workbench(v2.3.0 or later)(a)Refer to the respective user manuals for proper installation. STMicroelectronics documentsareavailablefromtheinternetsiteatwwwst.comSTM32 motor control SDK v5.0 tools user manual (UM2380STM32 CubeMX for STM32 configuration and initialization c code generation usermanual (UM1718)STM32 ST-LINK utility software description user manual(UM0892)The AC6 tool framework is not supported in SDK v5.0 but in later versions6/24UM2374 Rey 1/UM2374Motor control ecosystem setup22Hardware setupThe connection of the STMicroelectronics application board to the pc requires a USBType-A connector. Refer to the description of the application board for details on the USBcableA dedicated description card is delivered with each STMicroelectronics application board forproper installation For more details, refer to the user manual of the board available atwww.st.comThe selected hardware can be one of the three setups· The complete MC KitOne of the complete inverter boardsAny STM32 evaluation board combined with one of the ST evaluation power stagesthat include the mc connectorUM2374 Rey 17/24Getting StartedUM23743Getting StartedWarning: Check that the board is correctly configured for the motorcontrol application and supplied with the expected inputvoltageNoteRefer to the user manual of the related hardware to setup the correct configuration, voltagerange, serial communication capabilities, and programming/debugging interface3.1Hardware connectionConnect a uSb cable between the pc and the stmicroelectronics application board andthe JTAG/SWD programming cable if it is different from the USB cable3.2Motor profilingLaunch the ST MC Workbench software tool either byclicking on its iconrunning it directly from the installation folder treeBoth ways of launching the ST MC Workbench are illustrated in Figure 1Figure 1. ST MC Workbench- Icon and installation folder treeI STMicroelectrorics感FOC SDKLv.3.0MotorControlv500WorkBenchST Motor Control Workbenchd ST Motor profileren the st motor profiler tool either byUsing its dedicated button in the St Mc Workbench GUl as illustrated in Figure 2Running it directly from the installation folder tree as illustrated in Figure 1Figure 2. ST MC Workbench-GUl expanded top viewFile Tools Help Documet ta ionNew ProjectLoad Project4 About HelpMotor ProfilRcGert ProJEcts己tdbrsDRpower board8/24UM2374 Rey 1/UM2374Getting StartedClick on the Select Boards button to display the list of supported boards as shown onFigure 3 and select the STMicroelectronics application board setup. Figure 4 on page 10presents examples from this listNoteThe ST Motor Profiler tool may be used only with ST hardware in the list of supportedsetups.Figure 3. ST Motor Profiler-GUI2 ST Motor Profile.l:e augmentedMotor ProfilersPole pairsPe row to detecbeed and Current /mitsMaκSpet1600FPMn7 Select Board∧pk02530pkMagnetic: SM-PMSN○-NSMMechanIcal mode lO CenElectrical modelOW000UM2374 Rey 19/24Getting StartedUM2374Figure 4. ST Motor Profiler-Hardware setup list examplesE ST Motor ProfiY Hideabsolete boarde arch Control board by narSe arch power boac bv nareControl boardower BoardxCancelHide boards with warningNUCLEO-F302R8X-NUCLEO-HMOTM1 3shNUCLEO-F302R8X-NUCLEO-HMOBM1 3shT2F302R8T6L6230PDSTM32F302R8T6STL22ON6FT●Acf8m:m3SELNRV2 Emiol connectorC Product Web PageG Product Web PageC Product Web PageC Product Web PageNUCLEO-F303RESTEVAL-IPMO5F 3ShNUCLEO.F303RESTEVAL-IPM108 3sh●Aiv命Ativ● Ac livSn Ngor ombreI connectorST-LINKV2C Product Web PageC Product Web PageC Product Web PageC Product Web PageClick on the sTmicroelectronics hardware setup to select it and configure the st motorProfiler toolAs an example, Figure 4 shows the selection of the P-NUCLEO-IHM001 motor controlNucleo pack with NucLEo-F302R8 and X-NUCLEO-IHMO7M1After hardware setup selection, fill in the parameter fields with the motor informationThe number of pole pairs of the motor(mandatory fieldThe Max Speed of the motor(optional field)by default, the st Motor Profiler tool searches for the maximum allowed speedmatching the motor and the hardware setup usedThe Max Current allowed by the motor(optional field)By default, it is the maximum peak current deliverable by the hardware setupThe nominal dC bus voltage used by the hardware setup(optional field)By default, it is the power supply stage as either the bus voltage for low voltageapplications(DC voltage), or the RMs value for high voltage application(Ac voltage)The magnetic built-in type(mandatory field)By default, the SM-PMSM is selectedThe Ld/Lq ratio(mandatory field only when l-PMSM built-in is selected as shown inFigure 6 on page 1110/24UM2374 Rey 1/
- 2020-11-29下载
- 积分:1
-
世界国家geojson大全,各国地图json数据下载
世界国家geojson大全,各国地图json数据下载
- 2020-12-06下载
- 积分:1