【Ubuntu16安装GTK+2.0教程】教程文章相关的互联网学习教程文章

ubuntu下nginx安装、基本配置及常用命令【代码】【图】

1 安装:sudo apt-get install nginx2 启动服务:sudo service nginx start或者sudo /etc/init.d/nginx startnginx默认设置了80端口的转发,启动后可以在浏览器访问http://localhost 检查是否启动成功。3 配置默认配置文件:/etc/nginx/nginx.conf该配置文件中有两行,是用来加载外部的配置文件,如下:include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*;其中第二行的 /etc/nginx/sites-enabled/ 下有一个 de...

Ubuntu安装Python模块时的报错【代码】

在安装Python的psutil模块时,报“error: command ‘x86_64-linux-gnu-gcc‘ failed with exit status 1”的错误,系统提示缺少Python的头文件,那就是说系统没有安装python的开发包,安装之就行了。$ sudo pip install psutil [sudo] password for richard: Downloading/unpacking psutil Downloading psutil-2.2.1.tar.gz (223kB): 223kB downloaded Running setup.py (path:/tmp/pip_build_root/psutil/setup.py) egg_info...

ubuntu14.04 64位 安装eclipse出错

1 错误描述org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized. org.eclipse.m2e.logback.configuration: Logback config file: /home/youhaidong/workspace/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.5.0.20140606-0033.xml org.eclipse.m2e....

Ubuntu1604下安装nginx1.14.2——vmfusion_Securecrt_ssh【代码】

环境: mac系统下,使用wmware fusion 安装了Ubuntu16.04, 为了操作方便,使用了secureCRT这个工具来管理虚拟机。  使用root帐户进行操作。虚拟机配置: 由于经常会使用多个虚拟机配合,为了保证虚拟机的IP不自己变化,为虚拟机配置了静态IP。 vim /etc/network/interfaces 会看到类似下面的内容 # The primary network interfaceauto ens33iface ens33 inet dhcp   这是动态分配ip,修改为静态ip,如下所示 ...

ubuntu adobe flash player 安装

常规做法  1.先更新sudo apt-get update  2. sudo apt-get install flashplugin-installer这次却卡在downloading这里 下不去。无奈 换个方式  1.下载 http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20151228.1.orig.tar.gz  2.解压   3.复制下面的i386下的libpepflashplayer.so到火狐安装目录下的browser下的plugins再之后还是不行,之前因为等不及结束掉了 卡这了  ...

Ubuntu-14.04 安装 R 语言开发环境【代码】

R 简介R 环境R 安装R 简介R 是一种统计计算和图表的编程语言和编程环境。它是和 S 语言相似的 GNU 项目,由 Bell 实验室 John Chambers 和 colleagues 开发。R 可以考虑是 S 语言的一种不同的实现,他们之间有一些重要的不同点,但是大部分的 S 语言代码可以在 R 语言下运行。R 提供了一种广泛的统计和图表技术(线性,非线性模型,经典统计测试,时间序列分析,分类,集群等),并且具有高度可扩展性。R 的一个优势就是提供了一个...

Ubuntu下的svn的安装

安装SVN问题很多,现在目前遇到的问题是,安装时候找不到svn connector的连接器导致不能够对SVN插件进行完整安装。但是可以单独安装该插件 http://community.polarion.com/projects/subversive/download/eclipse/4.0/update-site/ http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/ 安装SVN客户端版本。参考网址http://blog.csdn.net/itopme/article/details/8349718http://www.linuxidc.com...

ceph学习笔记之十二 Ubuntu安装部署Ceph J版本【图】

https://cloud.tencent.com/info/2b70340c72d893c30f5e124e89c346cd.html 安装Ubuntu系统安装步骤略过拓扑连接:一、安装前准备工作 1、修改主机名;将主机名更改为上图中对应的主机名。[root@localhost ~]# vim /etc/hostname 2、更新主机上的hosts文件,将主机名与如下IP进行解析。192.168.100.128 ceph-node1192.168.100.129 ceph-node2192.168.100.130 ceph-node3192.168.100.131 ceph-node4[root@localhost ~]# vim /e...

nginx在centos & ubuntu上的安装【代码】

安装Centos添加当前账号加入sudoers,具备sudo功能安装编辑器vimYum install vimSu rootCd cp /etc/sudoers /etc/sudoers[date]Chmod 777 /etc/sudoers编辑文本Vim /etc/sudoers添加 [当前账号] All=(ALL) ALL:wq 保存Chmod 420 /etc/sudoers 安装nginx和stream模块 http://nginx.com/products/application-load-balancing/直接用Centos环境测试一. gcc 安装Sudo yum install gcc-c++二. PCRE pcre-devel 安装Sudo yum install...

视觉SLAM第三方库的安装(ubuntu16.04环境,基于《视觉SLAM十四讲》)【代码】【图】

1、安装Eigensudo apt-get install libeigen3-dev2、安装SophusSophus 库是 Strasdat 维护的一个较好的李代数库,《视觉SLAM十四讲》使用非模板的 Sophus 库。可以输入以下命令获得非模板类的 Sophus:git clone https://github.com/strasdat/Sophus.gitcd Sophus git checkout a621ffSophus库只需编译,不需安装,在根目录下的终端,输入:mkdir build cd ./build cmake .. make3、安装OpenCV先来安装 OpenCV 的依赖项:sudo apt-ge...

Ubuntu安装crosstool-ng步骤

Ubuntu安装crosstool-ng步骤:注:crosstool-ng要求不能在root模式下操作$ sudo apt-get install gawk$ sudo apt-get install libtool$ sudo apt-get install texinfo$ tar jxfv crosstool-ng-1.19.0.tar.bz2$ mkdir -p ~/cross/src$ cd crosstool-ng-1.19.0$ ./configure --prefix=/home/ming/cross$ make$ make install$ cd ~/cross/bin$ wget http://archlinuxarm.org/mirror/development/ct-ng/xtools-dotconfig-v5 -O .confi...

ThinkPad 430C Ubuntu 双显卡安装NVIDIA GT 635M驱动

Linux系统:Ubuntu 14.04安装 bumblebee 以管理双显卡,下面命令会自动安装NVIDIA显卡驱动sudo add-apt-repository ppa:bumblebee/stablesudo apt-get updatesudo apt-get install bumblebee bumblebee-nvidia安装成功后,重启电脑查看显卡状态lspci | grep VGA00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)01:00.0 VGA compatible controller: NVIDIA Corporation ...

Ubuntu 安装 pecl_http

由于开发环境需要用到pecl_http,根据网上找的教程一直没用按照成功,查看错误,pcre这里出错了,原来要安装这个libpcre3-dev,安装好这个就成功了,记下命令。$ sudo apt-get install php-pear$ sudo apt-get install php5-dev$ sudo apt-get install libcurl3-openssl-dev$ sudo apt-get install libpcre3-dev$ sudo pecl install pecl_http$ sudo nano /etc/php5/apache2/php.ini添加:extension=http.so$ sudo /etc/init.d/apac...

(转载)解决vmware上安装ubuntu不能联网的问题【图】

在vmware中安装Ubuntu之后,我们希望基本的功能如上网、传输文件等功能都是可用的,但是经常遇到不能上网的情况。使用笔记本时,我们经常希望能通过无线网卡上网,但是在做嵌入式开发时,我们还希望虚拟机能通过有线网连接到嵌入式设备上。如何保证两者快速切换,有时候会很头疼。在网上查阅相关资料和自己试验后,这里给出一种方便的解决不能上网问题的方法。首先,检查你的虚拟机是否开启了网络服务,检查方法是打开控制面板->-管...

Ubuntu 下Java环境安装与配置【代码】【图】

首先登录官网下载linux下的安装包(建议官网下载)server-jre-8u261-linux-x64.tar.gz 解压安装包,路径可根据实际情况而定sudo tar -zxvf apache-tomcat-7.0.106.tar.gz配置java环境变量这里是将环境变量配置在etc/profile,即为所有用户配置JDK环境。使用命令打开/etc/profile文件sudo vim /etc/profile在末尾添加以下几行文字:#set java env export JAVA_HOME=/usr/lib/jdk/jdk1.8.0_202 export JRE_HOME=${JAVA_HOME}/jre ...