Site Tools


Writing /var/www/dokuwiki/data/cache/d/d2a977f898d714ab71a0e98d0ae19c4e.metadata failed
Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
performexa_application_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
performexa_application_setup [2021/08/01 16:46]
157.51.110.15 [Install passenger+nginx]
performexa_application_setup [2021/10/28 06:46] (current)
157.49.205.44
Line 1: Line 1:
 =====Install rbenv and Dependencies===== =====Install rbenv and Dependencies=====
  
-First, ​update your package list+First, ​install the dependencies required to install Ruby:
  
-**sudo ​apt update** +**sudo ​yum install -y git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel**
- +
-Next, install ​the dependencies required to install Ruby: +
- +
-**sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev**+
  
 if anything breaks the installation,​ remove the particular dependency and install the other packages if anything breaks the installation,​ remove the particular dependency and install the other packages
 Once the dependencies download, you can install rbenv itself. Clone the rbenv repository from GitHub into the directory ~/.rbenv Once the dependencies download, you can install rbenv itself. Clone the rbenv repository from GitHub into the directory ~/.rbenv
  
-**git clone https://​github.com/​rbenv/​rbenv.git ​~/.rbenv**+=====git clone git://​github.com/​sstephenson/rbenv.git .rbenv=====
  
 Next, add ~/​.rbenv/​bin to your $PATH so that you can use the rbenv command line utility. Do this by altering your ~/.bashrc file so that it affects future login sessions: Next, add ~/​.rbenv/​bin to your $PATH so that you can use the rbenv command line utility. Do this by altering your ~/.bashrc file so that it affects future login sessions:
  
-**echo '​export PATH="​$HOME/​.rbenv/​bin:​$PATH"'​ >> ~/.bashrc**+**echo '​export PATH="​$HOME/​.rbenv/​bin:​$PATH"'​ >> ~/.bash_profile**
  
 Then add the command eval "​$(rbenv init -)" to your ~/.bashrc file so rbenv loads automatically:​ Then add the command eval "​$(rbenv init -)" to your ~/.bashrc file so rbenv loads automatically:​
  
-**echo 'eval "​$(rbenv init -)"'​ >> ~/.bashrc**+**echo 'eval "​$(rbenv init -)"'​ >> ~/.bash_profile** 
 + 
 +** exec $SHELL ​**
  
 Next, apply the changes you made to your ~/.bashrc file to your current shell session: Next, apply the changes you made to your ~/.bashrc file to your current shell session:
  
-**source ~/.bashrc**+**source ~/.bashprofile**
  
 Verify that rbenv is set up properly by using the type command, which will display more information about the rbenv command: Verify that rbenv is set up properly by using the type command, which will display more information about the rbenv command:
Line 36: Line 34:
 Next, install the ruby-build, plugin. This plugin adds therbenv install command, which simplifies the installation process for new versions of Ruby: Next, install the ruby-build, plugin. This plugin adds therbenv install command, which simplifies the installation process for new versions of Ruby:
  
-**git clone https://​github.com/​rbenv/​ruby-build.git ~/​.rbenv/​plugins/​ruby-build**+**git clone git://​github.com/​sstephenson/​ruby-build.git ~/​.rbenv/​plugins/​ruby-build** 
 +**echo '​export PATH="​$HOME/​.rbenv/​plugins/​ruby-build/​bin:​$PATH"'​ >> ~/​.bash_profile** 
 +**exec $SHELL**
  
-With the ruby-build plugin now installed, you can install versions of Ruby y may need through a simple command. First, let’s list all the available versions of Ruby:+with the ruby-build plugin now installed, you can install versions of Ruby y may need through a simple command. First, let’s list all the available versions of Ruby:
  
 **rbenv install -l** **rbenv install -l**
performexa_application_setup.1627836380.txt.gz · Last modified: 2021/08/01 16:46 by 157.51.110.15