Any body Please tell me how to setup the rippled server in my local system and how to call the API's for generating address and doing the transactions with out using the Rippled public server(s1.ripple.com ).
Thanks in advance
Here is simple steps to setup ripple mainnet server in your system
You can also go through the link as below -
https://developers.ripple.com/install-rippled.html
Minimum System Requirements
A rippled server should run comfortably on commodity hardware, to make it inexpensive to participate in the network. At present, we recommend the following minimum requirements:
Operating System:
Production: CentOS or RedHat Enterprise Linux (latest release) or Ubuntu (16.04+) supported
Development: Mac OS X, Windows (64-bit), or most Linux distributions
CPU: 64-bit x86_64, 2+ cores
Disk: Minimum 50GB SSD recommended (1000 IOPS, more is better) for the database partition
RAM:
Testing: 8GB+
Production: 32 GB
Amazon EC2's m3.large VM size may be appropriate depending on your workload. A fast network connection is preferable. Any increase in a server's client-handling load increases resources needs.
Installation on CentOS/Red Hat with yum
This section assumes that you are using CentOS 7 or Red Hat Enterprise Linux 7.
Install the Ripple RPM repository:
$ sudo rpm -Uvh https://mirrors.ripple.com/ripple-repo-el7.rpm
Install the rippled software package:
$ sudo yum install --enablerepo=ripple-stable rippled
Configure the rippled service to start on system boot:
$ sudo systemctl enable rippled.service
Start the rippled service
$ sudo systemctl start rippled.service
Installation on Ubuntu with alien
This section assumes that you are using Ubuntu 15.04 or later.
Install yum-utils and alien:
$ sudo apt-get update
$ sudo apt-get install yum-utils alien
Install the Ripple RPM repository:
$ sudo rpm -Uvh https://mirrors.ripple.com/ripple-repo-el7.rpm
Download the rippled software package:
$ yumdownloader --enablerepo=ripple-stable --releasever=el7 rippled
Verify the signature on the rippled software package:
$ sudo rpm --import https://mirrors.ripple.com/rpm/RPM-GPG-KEY-ripple-release && rpm -K rippled*.rpm
Install the rippled software package:
$ sudo alien -i --scripts rippled*.rpm && rm rippled*.rpm
Configure the rippled service to start on system boot:
$ sudo systemctl enable rippled.service
Start the rippled service
$ sudo systemctl start rippled.service
Postinstall
It can take several minutes for rippled to sync with the rest of the network, during which time it outputs warnings about missing ledgers. After that, you have a fully functional stock rippled server that you can use for local signing and API access to the XRP Ledger.
You can use the rippled commandline interface as follows:
$ /opt/ripple/bin/rippled
Additional Configuration (Must needs to do according your IP)-
rippled should connect to the XRP Ledger with the default configuration. However, you can change your settings by editing the rippled.cfg file (located at /opt/ripple/etc/rippled.cfg when installing rippled with yum). You must change the IP setting with your own entered IP and then connected with this setup server using java script code.
See the rippled GitHub repository for a description of all configuration options.
Changes to the [debug_logfile] or [database_path] sections may require you to give the rippled user and group ownership to your new configured path:
$ chown -R rippled:rippled <configured path>
Restart rippled for any configuration changes to take effect:
$ sudo service rippled restart
For more dig into ripple RPC and command kindly go through below link
https://developers.ripple.com/admin-rippled-methods.html
https://developers.ripple.com/public-rippled-methods.html
Hope this will help..
I am trying to set up remote Ubuntu desktop on Azure free tire. I have followed all the steps mentioned in here and Azure Documentation. I have setup instance with resources manager. Setup the rdp. Install xrdp via ssh. Install Ubuntu desktop as well.
Installed -- Ubuntu Server 16.04 LTS
Also installed xfce as mentioned in Azure Documentation
In-spite of installing everything properly I see dotted screen when I connected remotely. What am I doing wrong ?
Using xfce if you are using Ubuntu version later than Ubuntu 12.04LTS
We can follow those steps to install xrdp:
sudo -i
1.Install XRDP Package from Ubuntu Repository
apt-get install xrdp
2.Installing the xfce4 Desktop environment
apt-get update
apt-get install xfce4
3.Configure xrdp to use xfce desktop environment
echo xfce4-session >~/.xsession
4.Restart xrdp service
service xrdp restart
5.Test your xrdp connection:
We can use mstsc to test xrdp connection.
Note:
If you use this command apt-get install xfce4 get this error message:
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Please add ARRAY <ignore> devices=/dev/sda to /etc/mdadm/mdadm.conf, like this:
root#ubuntu:~# cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
ARRAY <ignore> devices=/dev/sda
# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
More information about xrdp on azure vm, please refer to this link.
I am trying to run mean.js project based on vagrant , but I get the following error with the vagrant up command on ubuntu 14.04 LTS 64 bit.
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "d660b7d6-06a3-49bc-8b90-cbad92632c11", "--type", "headless"]
Stderr: VBoxManage: error: The virtual machine 'pets_default_1473142645576_38190' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
I solved the using following steps:
I have completely remove older VirtualBox versions before installing VirtualBox-5.0 !
Uninstall VirtualBox
sudo apt-get purge "^virtualbox-.*"
Update the software repositories
sudo apt-get update
Clean up
sudo apt-get autoremove | sudo apt-get autoclean | sudo apt-get clean
Setup API repository (For Ubuntu 14.04 ("Trusty"))
echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" | sudo tee /etc/apt/sources.list.d/oracle-vbox.list
Setup Oracle Key
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
6.Install Oracle Virtualbox
sudo apt-get update
sudo apt-get install virtualbox-5.1
Start Virtualbox
virtualbox
For more help check to here.
I have reinstalled virtual box and the issue has been solved for me.
On my mac while installing virtual box, It has not allowed me to install. So i went system preference -> security & privacy - > general - 'allow apps download from' -> click on the "allow" button.
I have successfully installed virtual box after the above changes on system preference.
Kitchen converge -> successfully done.
I was using macOS and I had this error after updating VirtualBox. I solved the error by going to:
System Preferences --> Security & Privacy and then clicked on lock to make changes. Then, I clicked on "Allow" as shown in the picture below:
After you make the changes, a restart is requested by the system, after restart the command should work just ok :)
Move to directory:
cd /sbin/
Run script:
sudo ./vboxconfig
Start VM:
VBoxManage startvm "VM name" --type headless
It works:)
Root this problem - system updating. VBox updated partially. This script fix this problem.
For some reason my virtualbox linux host was having an outdated vboxdrv kernel module.
I did the whole remove VirtualBox package, then reinstall, but this old version kernel module remained.
Manually deleted the unwanted module, then freshly reinstalled latest VirtualBox, then usual vboxconfig to rebuild the latest modules, and we're done.
/usr/bin/vboxmanage startvm Win10-Server --type headless now working as expected. :-)
I also faced the same issue, but Santosh Shinde's answer helped me to figure it out.
I, however, want to add to it:
After uninstalling every old/previous version of Virtualbox available on your PC:
sudo apt-get purge "^virtualbox-.*"
And cleaning your system:
sudo apt-get autoremove
Rather than installing Virtualbox from the Apt repository of Ubuntu, simply visit the downloads page of Virtualbox, to download the most current version of Virtualbox.
This is because the Apt repository may not have the latest version of Virtualbox.
I have the same error after install some cripto plugin to Chrome.Then see that Virtual box extension is not working under root and user. In my linux distributive /opt owner was changed to user by cripto plugin installator. Changing /optto root owner has solved the problem.
I just had this happen on a FreeBSD box where vagrant wasn't involved at all.
[root#freebsdserver ~]# vboxmanage startvm yavm
Waiting for VM "yavm" to power on...
VBoxManage: error: The virtual machine 'yavm' has terminated unexpectedly during startup because of signal 6
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
In this case it's because "freebsdserver" is running headless. The fix was to run:
# vboxmanage startvm yavm --type headless
I was trying to install VM software on my Ubuntu system. Since I'm not very familiar with linux I followed a guide on the official Ubuntu site. Now I am running Ubuntu in a Xen environment, but I don't want to use Xen to make my virtual machines.
I installed Virtualbox in order to create my VM's, but Virtualbox doesn't run in a Xen environment.
I have tried googling for a way to remove Xen from my system, but I am unable to do it. This is what I've tried so far:
Editing /boot/grub/grub.cfg set default="Xen 4.1-amd64" to set default=1 which was recommended by a tutorial. It made my laptop start up in recovery mode and I had to generate a new grub config file which put the default back to xen.
Editing /boot/grub/menu.lst but I don't have any files called that on my system
user#BEL-8WF4XW1:~$ sudo find / -name menu.lst
user#BEL-8WF4XW1:~$
Looking through software center, but I couldn't find anything about Xen
The command make uninstall but I didn't use the source code.
I also tried to install yum and do sudo yum install kernel followed by sudo yum remove xen kernel-xen libvirt but that also didn't work.
I'm quite lost to be honest. Can anyone help me to get my Ubuntu back to how it was before I tried to follow that guide?
I'm no expert but I've executed
sudo apt-get purge xen*
and it worked for me.
You can just try
sudo apt-get remove xen-hypervisor-amd64
or
dpkg -i xen-hypervisor-amd64
to see which xen files have been installed in your machine
I install mint on a virtual machine workstation
What command is used to install Apache web server ?
I have tried
admin> apt-get install Apache
but no such files are found on any server. Thank you.
Use this:
sudo apt-get install apache2
Try apt-cache search apache to find out the name of the relevant packages.
Try this:
First you have to open up Terminal
Applications > Accessories > Terminal
Copy paste the following command
sudo apt-get install apache2