diff --git a/INSTALL b/INSTALL index a98c96e..334ff82 100644 --- a/INSTALL +++ b/INSTALL @@ -1,11 +1,12 @@ -1. ./configure -2. make -3. sudo cp ser2sock /usr/local/bin/ -4. sudo cp -R etc/ser2sock /etc/ -5. Make changes to /etc/ser2sock/ser2sock.conf as needed. -6. If using SSL generate certificates -7. sudo cp init/ser2sock /etc/init.d/ -8. sudo update-rc.d ser2sock defaults -9. sudo /etc/init.d/ser2sock start +1. autoreconf -f -i +2. ./configure +3. make +4. sudo cp ser2sock /usr/local/bin/ +5. sudo cp -R etc/ser2sock /etc/ +6. Make changes to /etc/ser2sock/ser2sock.conf as needed. +7. If using SSL generate certificates +8. sudo cp init/ser2sock /etc/init.d/ +9. sudo update-rc.d ser2sock defaults +10. sudo /etc/init.d/ser2sock start -or on Ubuntu/Debian follow the instructions detailed in the file README to build a .deb package \ No newline at end of file +or on Ubuntu/Debian follow the instructions detailed in the file README to build a .deb package diff --git a/README.md b/README.md index ca88c2a..b15c439 100644 --- a/README.md +++ b/README.md @@ -15,25 +15,27 @@ Installation ============ NOTE: The OpenSSL dev package is needed in order to compile with SSL support. -1. ./configure -2. make -3. sudo cp ser2sock /usr/local/bin/ -4. sudo cp -R etc/ser2sock /etc/ -5. Make changes to /etc/ser2sock/ser2sock.conf as needed. -6. sudo cp init/ser2sock /etc/init.d/ -7. sudo update-rc.d ser2sock defaults -8. sudo /etc/init.d/ser2sock start -9. To run more than one instantiation follow instructions in the init/ser2sock script +1. autoreconf -f -i +2. ./configure +3. make +4. sudo cp ser2sock /usr/local/bin/ +5. sudo cp -R etc/ser2sock /etc/ +6. Make changes to /etc/ser2sock/ser2sock.conf as needed. +7. sudo cp init/ser2sock /etc/init.d/ +8. sudo update-rc.d ser2sock defaults +9. sudo /etc/init.d/ser2sock start +10. To run more than one instantiation follow instructions in the init/ser2sock script Installation (Debian/Ubuntu) ============================ 1. sudo apt-get install build-essential autotools-dev devscripts -2. debuild -i -us -uc -b -3. sudo dpkg -i ../ser2sock*.deb -4. sudo update-rc.d ser2sock defaults -5. sudo /etc/init.d/ser2sock start -6. To run more than one instantiation follow instructions in the /etc/init.d/ser2sock script +2. autoreconf -f -i +3. debuild -i -us -uc -b +4. sudo dpkg -i ../ser2sock*.deb +5. sudo update-rc.d ser2sock defaults +6. sudo /etc/init.d/ser2sock start +7. To run more than one instantiation follow instructions in the /etc/init.d/ser2sock script Installation (Mac OS X) =======================