Generate CSR for Nginx server

This is how to generate the .csr file, requirement for SSL certificate. $ openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr —– Country Name (2 letter code) [AU]:ID State or Province Name (full name) [Some-State]: Locality Name (eg, city) []: Organization Name (eg, company) [Internet Widgits Pty Ltd]: Organizational Unit Name (eg, section) … Read more

Install Arcanist Phabricator on Fedora 28

$ mkdir $HOME/arctools $ cd $HOME/arctools $ git clone https://github.com/phacility/libphutil.git $ git clone https://github.com/phacility/arcanist.git $ mv $HOME/arctools /opt $ echo ‘export PATH=$PATH:/opt/arctools/arcanist/bin’ >> ~/.bash_profile $ source ~/.bash_profile $ sudo dnf install php php-json $ arc –help $ arc install-certificate # and follow the rest of the instruction from the arc

Setup python app in centos from scratch (centos 6.9+uwsgi+nginx+flask+mysql)

Initial setup $ sudo yum update $ sudo yum install epel-release $ sudo yum groupinstall “Development tools” $ sudo yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel telnet htop $ sudo yum install python-devel python-virtualenv $ sudo yum install mysql-connector-python mysql-devel mysql-server Install Python Download and install Python : https://www.python.org/ ./configure && make && make altinstall Install … Read more