bash xfs_repair -L /dev/mapper/centos-root
bash service NetworkManager stop
bash systemctl disable NetworkManager.service
bash cd /etc/sysconfig/network-scripts
BOOTPROTO=static|dhcp
IPADDR=your_IP
NETMASK=your_network_mask
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=no
DEVICE=ens33
bash service network restart
bash wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
bash wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
bash rpm -Uvh remi-release-7.rpm
bash rpm -Uvh epel-release-latest-7.noarch.rpm
bash yum-config-manager --enable remi-php71
bash yum remove php70w-pecl-imagick-devel.x86_64 php70w-pecl-apcu-devel.x86_64
bash yum update
bash yum install php-phalcon3 php-pecl-memcache php-pecl-memcached
Before continue verify if phalcon and memcache are installed with this: php -m | grep 'phalcon|memcache'
bash systemctl enable php-fpm
bash service php-fpm start
MariaDB 10.1
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF
bash sudo yum install MariaDB-server MariaDB-client -y
bash mysql_upgrade -u root -p
sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
sudo yum install ffmpeg ffmpeg-devel -y
Its not a 100% but its something
https://www.tecmint.com/photorec-recover-deleted-lost-files-in-linux/
photorec /dev/sda3 (hd path)
You will need to modify .zshrc not profile and add the following
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
Below are the setups to run Ruby on Rails application on your system.
1. Make sure Ruby is installed on your system. Fire command prompt and run command:
ruby -v
2. Make sure Rails is installed
rails -v
If you see Ruby and Rails version then you are good to start, other wise [Setup Ruby On Rails on Ubuntu][1]
Once done, Now
3. Clone respected git repository
git clone https://github.com/martynbiz/human_services_finder.git
4. Install all dependencies
bundle install
5. Create db and migrate schema
rake db:create
rake db:migrate
5. Now run your application
rails s
6. If its running puma run this
bundle exec puma -e development -b unix:///path/to/the/project.sock