launch postgres server linux ubuntu code example Example: start postgresql ubuntu sudo service postgresql start