User Tools

Site Tools


server:ivan:start

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
server:ivan:start [2015/04/03 18:45]
dwheele
server:ivan:start [2021/08/14 17:19] (current)
dwheele [Dynamic DNS]
Line 1: Line 1:
-===== Ivan Linux Server =====+====== Ivan Linux Server ======
  
-Available only inside the local network at 192.168.0.10. This DNS'ed by the DSL router to "ivan."+This is a 32-bit machine!
  
 +<code bash>
 +$ uname -a
 +Linux ivan 3.16.0-6-686-pae #1 SMP Debian 3.16.57-2 (2018-07-14) i686 GNU/Linux
 +</code>
  
-==== Installation ====+Available only inside the local network at 192.168.0.10. This DNS'ed by the DSL router to "dancoIvan." (Ivan stopped working, perhaps ivan.Home became taken externally.)
  
-=== sudo ===+  * [[investigation|Investigation - Troubleshooting]] 
 + 
 +===== Installation ===== 
 + 
 +==== sudo ====
  
  
Line 13: Line 21:
 Then, anyone in the "sudo" group can run sudo. Ran "usermod -a -G sudo dwheele" to grant sudo Then, anyone in the "sudo" group can run sudo. Ran "usermod -a -G sudo dwheele" to grant sudo
  
-=== mysql ===+==== mysql ===
 + 
 +To move mysql 
 + 
 +   http://muhdzamri.blogspot.com/2011/01/moving-your-mysql-database-to-another.html
  
 To install mysql To install mysql
Line 64: Line 76:
  
  
 +==== svn (Subversion) ====
 +
 +Installed Subversion on ivan (now DNSed to dancoivan). Did approximately these steps:
 +<code>
 +sudo mkdir /var/svn
 +sudo chgrp users /var/svn
 +sudo chmod 775 /var/svn
 +mkdir /var/svn/repos
 +svnadmin create /var/svn/repos
 +</code>
 +
 +Then modify file at 
 +/var/svn/repos/conf/svnserve.conf
 +
 +  anon-access = none
 +  auth-access = write
 +  password-db = passwd
 +
 +Then modify the file "passwd" in the same directory to have
 +
 +  mycuid = mycuidpassword
 +
 +then run 
 +  svnserve -d
 +
 +Installed subversion plugin into eclipse. The URL is
 +
 +  svn://dancoivan/var/svn/repos
 +
 +Under that it makes a subdirectory with the same name as the project name, e.g., cantata2
 +
 +**3/10/2016 Reinstalled Linux**
 +
 +Over the past few days, bought a SSD, installed Linux Debian 8.3 on it, then have mounted directories from the one terabyte hard drive into the SSD space. Mostly working OK.
 +
 +===== PostGres =====
 +
 +//initdb is in /usr/lib/postgresql/9.4/bin//
 +
 +  # su - postgres
 +  $ initdb -D /var/postgresql/data
 +  
 +<code text>
 +Success. You can now start the database server using:
 +
 +   ./postgres -D /var/postgresql/data
 +or
 +   ./pg_ctl -D /var/postgresql/data -l logfile start
 +   
 +</code>
 +
 +As ''postgres'' run ''psql''
 +
 +
 +===== Dynamic DNS =====
 +
 +This server is set up to allow a DNS name from the public internet, to hit this server, even though its IP address changes regularly by the ISP.
 +
 +Previously I had DynDNS.com services, but I discontinued them because they doubled their rates. I've moved to ''afraid.org''
 +
 +  * Instructions/cron example: http://freedns.afraid.org/dynamic/index.php?action=script&method=example&data_id=18623878
 +
 +I installed a wget line in the root crontab (I removed part of the password string).
  
 +<code text>
 +4,9,14,19,24,29,34,39,44,49,54,59 * * * * sleep 7 ; wget -O - http://freedns.afraid.org/dynamic/update.php?VHlPcEBLMzFVMVVBQUN2c2hV== >> /tmp/freedns_quizkid_isageek_net.log 2>&1 &
 +</code>
  
 +[8/14/2021] Today I received an email from freedns.afraid.org telling me that I hadn't logged in for 5.5 months, so I logged in there. The cron described above is still active on server Ivan. However, both servers Ivan and Joshua are accessible on selected ports.
server/ivan/start.1428086757.txt.gz · Last modified: 2015/04/03 18:45 by dwheele