Discuss your project

Category

Ubuntu 18.04 LTS

10 articles

Configure Exim to send emails with Gmail

We will see how to configure Exim4 to send system emails with Gmail. This will ensure that your emails sent with your CRON are correctly routed and do not end up in spam. Let's install Exim4 apt-get install exim4 Configuration dpkg-reconfigure exim4-config Choose: mail sent by smarthost; no local mail Then answer the questions as follows: System mail name: YOUR_HOSTNAME IP-addresses to listen on for incoming SMTP connections: 127.0.0.1 ; ::1 Other destinations fo...

Migration and upgrade of a GitLab CE server

Every 5 years, it's the same song and dance. The Debian LTS version is expiring, and it's time to update the server. It's also an opportune moment to upgrade to a newer machine to benefit from improved performance.If we have a SATA hard drive, it's better to start with new disks regardless, since their lifespan is limited. So we will proceed with a series of backups on the old server, transfer them to the new one, and reinstall everything as it was. In our case, we were on Debian 8, which sup...

Microsoft Teams: Automatically join a chat room from a link on Linux

Today, using Teams on Linux is essential given its prevalence in the corporate world.You will always have a contact, a client, or a work group that uses this tool.And it works very well on Linux. EXCEPT since the latest update, where the direct access links to meetings no longer work.You click the link, a web page opens, then you click on "Open your Teams application". Then, the application opens, but not the conference. And since we're not on Zoom, it's impossible to open the c...

Disable mouse integration in VIM

To disable the mouse in vim, simply insert the following instruction in `~/.vimrc`: `set mouse-=a` Then reload the parameter file with: `. ~/.vimrc` Precautions before executing the order This tutorial retains the command and the context of its publication. Before using it on a current repository, inspect the branch, the modified files, and the exact target: git status --short git log --oneline --decorate -5 Create a backup branch or tag when the operation rewrites history or deletes fil...

Chrome – Videostream: fix Chromecast search on Linux

Install the initial extension: https://chrome.google.com/webstore/detail/videostream-for-google-ch/cnciopoikihiagdjbjpnocolokfelagl?hl=en Go to => chrome://flags/ search for “Views Cast dialog” in the “Views Cast dialog” setting, change “Default” to “Disabled” search for “Upcoming UI features” in the “Upcoming UI features” setting, change “Default” to “Disabled” Restart chrome. The chrome cast search popup should then appear. Version context This procedure describes the soft...

Increase the swap space

Starting with Ubuntu 18.04, a swap file rather than a dedicated swap partition is used. The swap file is named "swapfile". To modify the size of this swap file: Disable the swap file and delete it (not really necessary as you are going to overwrite it) sudo swapoff /swapfile sudo rm /swapfile Create a new swap file of the desired size. Determine the size of your swap file. If you want to create a 4 GB swap file, you will need to write 4 * 1024 blocks of 10242 bytes (= 1 MiB). ...

Google Chrome: fix the browser opening

Fixing Chrome launch on Ubuntu 18.04 when it refuses to start./opt/google/chrome/google-chrome %U –password-store=basic Version context This procedure describes the software and the environment available at the time of its publication. The packages, interfaces, and repositories mentioned may have changed or disappeared; first check the system version and its support level. cat /etc/os-release uname -r Work on a backup or a snapshot, note every modified file, and prepare for rollback. For a...

Disable functions that cause crashes on Ubuntu 18.04

All these little tools will be useful for the paranoid, but in my case, they cause the machine to crash and make me unproductive.After removing them, the machine finally became stable.1 – Disable error reporting. vi /etc/default/apportset the parameter: enabled=02 – Remove snapdsudo apt autoremove --purge snapd sudo apt-get remove --purge gnome-software-plugin-snap rm -rf ~/snap3 – Remove apparmor sudo /etc/init.d/apparmor stop sudo update-rc.d -f apparmor remove4 – Install a recent kernel s...

Zend IDE, optimize the launch and remove Git Staging by default

To make Zend IDE launch faster, simply deactivate all the modules that initialize at launch. Window -> Preferences -> General -> Startup and Shutdown And uncheck everything To prevent Zend IDE from using Git Staging, just remove it from the default launch. Window -> Preferences -> Team -> Git -> Committing And uncheck the first box "Use Staging View to commit instead of Commit Dialog" Version context This procedure describes the software and the environment available at the time of its pu...

Increase the size of a VirtualBox hard drive

To change the size of a disk, you need to clone it to vdi, increase the size, and thenVBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdiVBoxManage modifyhd "cloned.vdi" --resize 51200VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdkTo change the UUID of the disk, simply run this command:VBoxManage internalcommands sethduuid disk2.vdi Version context This procedure describes the software and the environment available at the time of its publication. The packages, interface...