Skip to content

Instantly share code, notes, and snippets.

@fitnr
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitnr/bfdb6ebc33f2e8156fed to your computer and use it in GitHub Desktop.
Save fitnr/bfdb6ebc33f2e8156fed to your computer and use it in GitHub Desktop.
Steps I just went through to set up a new CentOS 7 box, for possible future edification
# set up a non-root user
# below commands assume you're running from root
useradd <USER>
passwd <USER>
# install another python
yum -y update
yum groupinstall -y 'development tools'
yum install python-devel
# maybe don't need this?
yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel xz-libs readline-devel ncurses-devel
curl https://bootstrap.pypa.io/get-pip.py | python
pip install virtualenv
# cron jobs are good
yum install cronie
service crond start
# http hosting
yum install httpd
service httpd start
# ftp hosting
yum install vsftpd
vi /etc/vsftpd/vsftpd.conf # Change allow_anonymous to NO
service vsftpd restart
# python packages, not for general consumption
# optionally switch to a virtualenv here
curl http://softlayer-dal.dl.sourceforge.net/project/python-irclib/python-irclib/0.4.8/python-irclib-0.4.8.tar.gz | tar zx
cd python-irclib-0.4.8
python setup.py install
pip install cobe
pip install tweepy
@fitnr
Copy link
Author

fitnr commented Oct 15, 2014

On your home machine, run: ssh-copy-id -i ~/.ssh/id_rsa.pub <USER>@<IP>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment