3. Robotics Laboratory
3
Wakayama University Graduate School of System Engineering Robotics Laboratory
Apache 1/2
Apache Web Server Web
◆
# apt-get install -y apache2
◆
# vim /etc/apache2/conf-enabled/security.conf
25: ServerTokens Prod
# vim /etc/apache2/mods-enabled/dir.conf
2: DirectoryIndex index.html index.htm
# vim /etc/apache2/apache2.conf
70: ServerName www.yam.robo
# systemctl restart apache2
7. Robotics Laboratory
7
Wakayama University Graduate School of System Engineering Robotics Laboratory
PostgreSQL 3/4
◆
$ psql testdb
testdb=# alter user ubuntu with password 'password'";
testdb=# create table test (no int,name text);
testdb=# insert into test (no,name) values (1,'ubuntu');
testdb=# select * from test;
testdb=# drop table test;
testdb=# q
testdb=# dropdb testdb