genieacs Installation on Ubuntu14.04
Beside the installation guide on the main page, here is a guide to install GenieACS off a freshly installed Ubuntu 14.04 LTS, be it on a virtual box or within a full Ubuntu OS install. The guide ist mostly based on a similar guide at tr069.wordpress.com, with some minor adjustments.
Prequisites and basic components
First you should install the following prequisites
apt-get install g++ zlib1g-dev libssl-dev build-essential openssl libreadline6 libreadline6-dev zlib1g libsqlite3-0 libsqlite3-dev sqlite libxml2 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion tcl git
After installing all the prequisites, you then should get the latest source code for the necessary components.
Ruby:
tar -zxvf *.tar.gz
cd rub-2.1.2
./configure
make
make install
gem install rails
gem install bundle --pre
If an error with readline occurs while the "make" step, see here for a [Readline Patch] (https://github.com/sstephenson/ruby-build/issues/526#issuecomment-37932244). Even if it's intended for Ruby 2.1.1, it should work with Ruby 2.1.2 too.
tar -zxvf *.tar.gz
cd node-v0.10.28
./configure
make
make install
tar -zxvf *.tar.gz
cd redis-2.8.9
make
make test
make install
MongoDB: I didn't used the one from their website, used the version from the ubuntu repository
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
sudo apt-get install mongodb-org
Install GenieACS itself:
I installed GenieACS into my home directory, most of the guides I saw (Zaid advices that too) said /opt. I did install from the Git
git clone https://github.com/zaidka/genieacs.git
cd genieacs
npm install
Install GenieACS-GUI:
git clone https://github.com/zaidka/genieacs-gui
cd genieacs-gui
bundle
After all those steps GenieACS and it's GUI should be installed properly and is ready for the first start.
refer:https://github.com/genieacs/genieacs/wiki/Installation-Ubuntu
最新文章
- nandaom
- [AJAX]ajax在兼容模式下失效解决办法
- 6、Concurrent-Mark-Sweep
- windows+linux环境部署搭建
- C语言与MATLAB接口 编程与实例 李传军编着
- 【Log4j】 log4j.properties 使用
- Appium小试
- git学习第一课
- Navicat Premium 11 For Mac 注册机
- Android 手势锁的实现 为了让自己的应用程序的安全,现在
- 设计模式总结5--命令模式 commend pattern
- shell的特殊符号的表示
- oracle数据库热备中的备份和恢复及例子
- HTML表单属性集合
- 如何为开发项目编写规范的README文件(windows),此文详解
- 使用 Node.js 搭建 Web 服务器
- [js]d3.js绘制拓扑树
- python locust 性能测试:HttpSession
- Win32-Application的窗口和对话框
- Linux 查看内存状态