随笔分类 -  linux

1 2 下一页
linux源码研究
rar压缩find查找到的文件
摘要:find . -name 'CMakeLists.txt' | xargs /d/Program\ Files/WinRAR/rar.exe a -r ./out.rar $ [Linux]可用于管道操作的命令 管道命令——| command1 | command2 | command3 注:管道命 阅读全文
posted @ 2018-05-24 16:28 袁晓平 阅读(1129) 评论(0) 推荐(0)
Building Boost for Android with error “cannot find -lrt”
摘要:编辑tools/build/src/tools/gcc.jam rule setup-threading ( targets * : sources * : properties * ){ local threading = [ feature.get-values threading : $(pr 阅读全文
posted @ 2017-05-07 11:43 袁晓平 阅读(981) 评论(0) 推荐(0)
how-to-build-c-static-libraries-boost
摘要:http://tungchingkai.blogspot.jp/2016/11/how-to-build-c-static-libraries-boost.html How to build C++ static libraries (boost and QuantLib) for Android 阅读全文
posted @ 2017-04-27 13:43 袁晓平 阅读(923) 评论(0) 推荐(0)
What you should know about .so files
摘要:In its early days, the Android OS was pretty much supporting only one CPU architecture: ARMv5.Do you know how many it does support now? … 7! Seven dis 阅读全文
posted @ 2017-04-16 22:35 袁晓平 阅读(294) 评论(0) 推荐(0)
Cross-compilation using Clang
摘要:Introduction This document will guide you in choosing the right Clang options for cross-compiling your code to a different architecture. It assumes yo 阅读全文
posted @ 2017-03-27 12:03 袁晓平 阅读(514) 评论(0) 推荐(0)
使用CMake编译跨平台静态库
摘要:在开始介绍如何使用CMake编译跨平台的静态库之前,先讲讲我在没有使用CMake之前所趟过的坑。因为很多开源的程序,比如png,都是自带编译脚本的。我们可以使用下列脚本来进行编译: . / configure -- prefix = / xxx / xx -- enable - static = Y 阅读全文
posted @ 2017-03-25 19:58 袁晓平 阅读(4024) 评论(0) 推荐(1)
Ubuntu 16.04 LAMP server tutorial with Apache 2.4, PHP 7 and MariaDB (instead of MySQL)
摘要:https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-on-ubuntu-16-04-lamp/ This tutorial exists for these OS versions Ubuntu 16.04 (X 阅读全文
posted @ 2017-03-24 16:51 袁晓平 阅读(342) 评论(0) 推荐(0)
Root用户安装MariaDB到 /usr/local/mysql
摘要:参考地址: http://www.zhdba.com/mysqlops/2013/08/16/mariadb-cn_1001/ https://mariadb.com/kb/en/mariadb/installing-system-tables-mysql_install_db/ 如果您有root权 阅读全文
posted @ 2017-03-24 16:20 袁晓平 阅读(750) 评论(0) 推荐(0)
Ubuntu系统启用Apache Mod_rewrite模块
摘要:在终端中执行 sudo a2enmod rewrite 指令后,即启用了 Mod_rewrite 模块。 另外,也可以通过将 /etc/apache2/mods-available/rewrite.load 连接到 /etc/apache2/mods-enabled/rewrite.load 来打开 阅读全文
posted @ 2016-05-20 10:22 袁晓平 阅读(273) 评论(0) 推荐(0)
Ubuntu 中搭建 LAMP 及 php 开发工具
摘要:所谓 LAMP,指的是:Linux+Apache+Mysql+Php 仅以此文做一个备忘录 Step1. 安装 Apache 1. 在 terminal 中输入一下命令并执行: sudo apt-get install apache2 2. 测试 Apache 是否安装成功: 打开浏览器,在地址栏输 阅读全文
posted @ 2016-05-18 10:31 袁晓平 阅读(260) 评论(0) 推荐(0)
wdcp v3 Forbidden :You don't have permission to access /phpmyadmin on this server
摘要:First edit the file /www/wdlinux/apache/conf/vhost/00000.default.conf and add the additional line to the directory settings: If you wanted to allow ac 阅读全文
posted @ 2016-05-13 20:10 袁晓平 阅读(536) 评论(0) 推荐(0)
linux 服务自动调用
摘要:php服务地址:http://192.168.2.117/web/index.php/buy/auctionselect编写脚本service.sh,内容:#! /bin/shcrulhttp://192.168.2.117/web/index.php/buy/auctionselect保存,chm... 阅读全文
posted @ 2015-10-31 19:29 袁晓平 阅读(270) 评论(0) 推荐(0)
linux定时任务的设置
摘要:为当前用户创建cron服务1. 键入 crontab -e 编辑crontab服务文件 例如 文件内容如下: */2 * * * * /bin/sh /home/admin/jiaoben/buy/deleteFile.sh 保存文件并并退出*/2 * * * * /bin/sh /home/adm... 阅读全文
posted @ 2015-10-29 22:08 袁晓平 阅读(1071) 评论(0) 推荐(0)
解决魅族USB调试无法被电脑识别的问题(含Mac OS X、Win7)
摘要:每次打开豌豆荚或者360手机助手之类手机助手后Eclipse才会检测到mx4(实际上是豌豆荚关闭eclipse的adb使用自己的驱动连接的).解决方法就是在"adb_usb.ini"文件中手动加上厂商ID就可以了.首先保证你的ADB是最新版本:http://stackoverflow.com/que... 阅读全文
posted @ 2015-09-16 16:14 袁晓平 阅读(3036) 评论(0) 推荐(0)
error while loading shared libraries: libevent-2.0.so.5解决办法
摘要:安装memcache时,需要建立文件索引或者说文件连接(link),类似windows下的快捷方式启动服务时出现 error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No s... 阅读全文
posted @ 2015-09-11 16:19 袁晓平 阅读(836) 评论(0) 推荐(0)
php服务器安装memcache
摘要:https://pecl.php.net/get/memcache-3.0.8.tgzwgethttps://pecl.php.net/get/memcache-3.0.8.tgzgzip -d memcache-3.0.8.tgztar xvf memcache-3.0.8.tarcd memca... 阅读全文
posted @ 2015-09-09 10:31 袁晓平 阅读(140) 评论(0) 推荐(0)
php linux部署相关
摘要:http://www.itbulu.com/wdcp-php55.htmlhttp://www.wdlinux.cn/wdcp/install.htmlhttp://www.yiichina.com/doc/guide/2.0/runtime-loggingwdcp支持两种安装方式1 源码编译 此安... 阅读全文
posted @ 2015-08-30 21:52 袁晓平 阅读(152) 评论(0) 推荐(0)
libogg.so fro android编译方法
摘要:在网站下载源代码http://www.xiph.org/downloads/解压然后打开cygwin配置CXX=arm-linux-androideabi-g++.exe LD=arm-linux-androideabi-ld.exe AR=arm-linux-androideabi-ar.exe ... 阅读全文
posted @ 2014-09-07 18:25 袁晓平 阅读(757) 评论(0) 推荐(0)
android开发调用c++共享库so文件
摘要:1、编写libaab.cpp#include #include #ifdef __cplusplusextern "C" {#endifint go() { return 555; }#ifdef __cplusplus}#endif运行g++命令编译得到libaab.soarm-linux-an... 阅读全文
posted @ 2014-09-04 23:23 袁晓平 阅读(1545) 评论(0) 推荐(0)
给ubuntu12.04换3.4.6的内核
摘要:从kernel.org下载3.4.6版本的kernel源码,至/home/musictom/Downloads解压tar -xvfj linux-3.4.6.tar.bz2cd linux-3.4.6make menuconfig根据自己的需要进行配置后makesudo make installsudo make modules_installln -s /boot/vmlinuz-3.4.6 /vmlinuz-3.4.6mkinitramfs -o /boot/initrd.img-3.4.6 /lib/modules/3.4.6 ln -s /boot/initrd.img-3.4.6 / 阅读全文
posted @ 2012-07-29 21:52 袁晓平 阅读(224) 评论(0) 推荐(0)

1 2 下一页